From: Ye Li Date: Tue, 19 Apr 2022 09:13:25 +0000 (+0530) Subject: imx: Fix build error X-Git-Tag: baikal/mips/sdk5.9~3^2~90^2~3 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=932771a4ba29a149a0329245db878636f31541d5;p=uboot.git imx: Fix build error Fix wrong environment.h and remove DECLARE_GLOBAL_DATA_PTR Fixes: e6c156b4b5 (imx: imx7 Support for Manufacturing Protection) Signed-off-by: Ye Li Reviewed-by: Gaurav Jain --- diff --git a/arch/arm/mach-imx/cmd_mfgprot.c b/arch/arm/mach-imx/cmd_mfgprot.c index aed3b2f83d..ec8a8756f7 100644 --- a/arch/arm/mach-imx/cmd_mfgprot.c +++ b/arch/arm/mach-imx/cmd_mfgprot.c @@ -12,13 +12,11 @@ #include #include #include -#include +#include #include #include #include -DECLARE_GLOBAL_DATA_PTR; - /** * do_mfgprot() - Handle the "mfgprot" command-line command * @cmdtp: Command data struct pointer