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)
commit0b0cd1536af4da3c4715ce40b4dd9c84c5241264
tree9144d0cc4419e26d23b2cc1243d7e45aff2a0470
parent92aff90b1e24a1b5cf39aa1c65e28081421c39fd
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>
arch/arm/mach-imx/cmd_mfgprot.c