[PATCH v1 13/17] colibri-imx8x: set bootaux memory base and size

Andrejs Cainikovs andrejs.cainikovs at gmail.com
Fri Mar 3 14:26:38 CET 2023


Move i.MX auxiliary core memory base and size configuration
to defconfig where it should belong.

Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs at toradex.com>
---
 configs/colibri-imx8x_defconfig | 2 ++
 include/configs/colibri-imx8x.h | 5 -----
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/configs/colibri-imx8x_defconfig b/configs/colibri-imx8x_defconfig
index 53002c9537d..08d284bf912 100644
--- a/configs/colibri-imx8x_defconfig
+++ b/configs/colibri-imx8x_defconfig
@@ -8,6 +8,8 @@ CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_OFFSET=0xFFFFDE00
 CONFIG_DM_GPIO=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-imx8qxp-colibri"
+CONFIG_BOOTAUX_RESERVED_MEM_BASE=0x88000000
+CONFIG_BOOTAUX_RESERVED_MEM_SIZE=0x08000000
 CONFIG_TARGET_COLIBRI_IMX8X=y
 CONFIG_SYS_PROMPT="Colibri iMX8X # "
 CONFIG_SYS_LOAD_ADDR=0x95c00000
diff --git a/include/configs/colibri-imx8x.h b/include/configs/colibri-imx8x.h
index 750336b0eb6..042fcb8757f 100644
--- a/include/configs/colibri-imx8x.h
+++ b/include/configs/colibri-imx8x.h
@@ -54,9 +54,4 @@
 #define PHYS_SDRAM_1_SIZE		SZ_2G		/* 2 GB */
 #define PHYS_SDRAM_2_SIZE		0x00000000	/* 0 GB */
 
-/* Generic Timer Definitions */
-
-#define BOOTAUX_RESERVED_MEM_BASE 0x88000000
-#define BOOTAUX_RESERVED_MEM_SIZE SZ_128M /* Reserve from second 128MB */
-
 #endif /* __COLIBRI_IMX8X_H */
-- 
2.34.1



More information about the U-Boot mailing list