]> git.baikalelectronics.ru Git - uboot.git/commitdiff
imx: Fix build error
authorYe Li <ye.li@nxp.com>
Tue, 19 Apr 2022 09:13:25 +0000 (14:43 +0530)
committerStefano Babic <sbabic@denx.de>
Thu, 21 Apr 2022 13:18:25 +0000 (15:18 +0200)
Fix wrong environment.h and remove DECLARE_GLOBAL_DATA_PTR

Fixes: e6c156b4b5 (imx: imx7 Support for Manufacturing Protection)
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>
arch/arm/mach-imx/cmd_mfgprot.c

index aed3b2f83da5e271086f452a815f535241879908..ec8a8756f7fc07d0231dcdae43ecbc6efb1914ef 100644 (file)
 #include <linux/compiler.h>
 #include <command.h>
 #include <common.h>
-#include <environment.h>
+#include <env.h>
 #include <fsl_sec.h>
 #include <mapmem.h>
 #include <memalign.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 /**
  * do_mfgprot() - Handle the "mfgprot" command-line command
  * @cmdtp:  Command data struct pointer