[PATCH 2/2] imx: Fix build error
> From: Ye Li > Fix wrong environment.h and remove DECLARE_GLOBAL_DATA_PTR > Fixes: 30e39ac7c9 (imx: imx7 Support for Manufacturing Protection) > Signed-off-by: Ye Li > Reviewed-by: Gaurav Jain Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de =
[PATCH 2/2] imx: Fix build error
From: Ye Li Fix wrong environment.h and remove DECLARE_GLOBAL_DATA_PTR Fixes: 30e39ac7c9 (imx: imx7 Support for Manufacturing Protection) Signed-off-by: Ye Li Reviewed-by: Gaurav Jain --- arch/arm/mach-imx/cmd_mfgprot.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.25.1