aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li2022-04-19 14:43:25 +0530
committerStefano Babic2022-04-21 15:18:25 +0200
commit0b0cd1536af4da3c4715ce40b4dd9c84c5241264 (patch)
tree9144d0cc4419e26d23b2cc1243d7e45aff2a0470
parent92aff90b1e24a1b5cf39aa1c65e28081421c39fd (diff)
imx: Fix build error
Fix wrong environment.h and remove DECLARE_GLOBAL_DATA_PTR Fixes: 30e39ac7c9 (imx: imx7 Support for Manufacturing Protection) Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>
-rw-r--r--arch/arm/mach-imx/cmd_mfgprot.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/cmd_mfgprot.c b/arch/arm/mach-imx/cmd_mfgprot.c
index aed3b2f83da..ec8a8756f7f 100644
--- a/arch/arm/mach-imx/cmd_mfgprot.c
+++ b/arch/arm/mach-imx/cmd_mfgprot.c
@@ -12,13 +12,11 @@
#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