]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: imx8: Move container parser and image to mach-imx common folder
authorYe Li <ye.li@nxp.com>
Sat, 7 Aug 2021 08:00:36 +0000 (16:00 +0800)
committerStefano Babic <sbabic@denx.de>
Mon, 9 Aug 2021 12:46:50 +0000 (14:46 +0200)
Since we will re-use the container parser on imx8ulp, move the codes
to mach-imx

Signed-off-by: Ye Li <ye.li@nxp.com>
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/image-container.c [moved from arch/arm/mach-imx/imx8/image.c with 100% similarity]
arch/arm/mach-imx/imx8/Makefile
arch/arm/mach-imx/parse-container.c [moved from arch/arm/mach-imx/imx8/parse-container.c with 100% similarity]

index 36224d8db9dc1ae01d689ca03b098b423262d123..0ef269563da2b109094a8312581ebd47deb84500 100644 (file)
@@ -68,6 +68,10 @@ obj-$(CONFIG_CMD_DEKBLOB) += cmd_dek.o
 obj-$(CONFIG_CMD_NANDBCB) += cmd_nandbcb.o
 endif
 
+ifeq ($(CONFIG_SPL_BUILD),y)
+obj-$(CONFIG_SPL_LOAD_IMX_CONTAINER) += image-container.o parse-container.o
+endif
+
 PLUGIN = board/$(BOARDDIR)/plugin
 
 ifeq ($(CONFIG_USE_IMXIMG_PLUGIN),y)
index bbb41adbe43c54503c956eb992d87ae12a5d130a..4ca4c14bddb25c8c58eb4fd907ff432732e0ca8b 100644 (file)
@@ -8,7 +8,4 @@ obj-y += cpu.o iomux.o misc.o lowlevel_init.o
 obj-$(CONFIG_OF_SYSTEM_SETUP) += fdt.o
 obj-$(CONFIG_AHAB_BOOT) += ahab.o
 
-ifdef CONFIG_SPL_BUILD
-obj-$(CONFIG_SPL_LOAD_IMX_CONTAINER) += image.o parse-container.o
-endif
 obj-$(CONFIG_IMX_SNVS_SEC_SC) += snvs_security_sc.o