Message ID | 1562924015-109688-2-git-send-email-ye.li@nxp.com |
---|---|
State | Accepted |
Commit | f9f42b07ff7b986699977c3e3c1eebe8a0535a72 |
Delegated to: | Stefano Babic |
Headers | show |
Series | [U-Boot,1/2] imx8: Jump from alias to OCRAM address at SPL init | expand |
On Fri, 12 Jul 2019 at 12:34, Ye Li <ye.li@nxp.com> wrote: > > Modify the SPL TEXT base from OCRAM alias to OCRAM base 0x100000, so > we can use full OCRAM not limit to 96KB > > Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> > --- > configs/imx8qm_mek_defconfig | 1 + > configs/imx8qxp_mek_defconfig | 1 + > include/configs/imx8qm_mek.h | 1 - > 3 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/configs/imx8qm_mek_defconfig b/configs/imx8qm_mek_defconfig > index a4d2619..544a5d9 100644 > --- a/configs/imx8qm_mek_defconfig > +++ b/configs/imx8qm_mek_defconfig > @@ -3,6 +3,7 @@ CONFIG_SPL_SYS_ICACHE_OFF=y > CONFIG_SPL_SYS_DCACHE_OFF=y > CONFIG_ARCH_IMX8=y > CONFIG_SYS_TEXT_BASE=0x80020000 > +CONFIG_SPL_TEXT_BASE=0x100000 > CONFIG_SPL_GPIO_SUPPORT=y > CONFIG_SPL_LIBCOMMON_SUPPORT=y > CONFIG_SPL_LIBGENERIC_SUPPORT=y > diff --git a/configs/imx8qxp_mek_defconfig b/configs/imx8qxp_mek_defconfig > index 92927e3..73d6d13 100644 > --- a/configs/imx8qxp_mek_defconfig > +++ b/configs/imx8qxp_mek_defconfig > @@ -3,6 +3,7 @@ CONFIG_SPL_SYS_ICACHE_OFF=y > CONFIG_SPL_SYS_DCACHE_OFF=y > CONFIG_ARCH_IMX8=y > CONFIG_SYS_TEXT_BASE=0x80020000 > +CONFIG_SPL_TEXT_BASE=0x100000 > CONFIG_SPL_GPIO_SUPPORT=y > CONFIG_SPL_LIBCOMMON_SUPPORT=y > CONFIG_SPL_LIBGENERIC_SUPPORT=y > diff --git a/include/configs/imx8qm_mek.h b/include/configs/imx8qm_mek.h > index d06ed61..148a4ff 100644 > --- a/include/configs/imx8qm_mek.h > +++ b/include/configs/imx8qm_mek.h > @@ -10,7 +10,6 @@ > #include <asm/arch/imx-regs.h> > > #ifdef CONFIG_SPL_BUILD > -#define CONFIG_SPL_TEXT_BASE 0x0 > #define CONFIG_SPL_MAX_SIZE (124 * 1024) > #define CONFIG_SYS_MONITOR_LEN (1024 * 1024) > #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR > -- > 2.7.4 > > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot
diff --git a/configs/imx8qm_mek_defconfig b/configs/imx8qm_mek_defconfig index a4d2619..544a5d9 100644 --- a/configs/imx8qm_mek_defconfig +++ b/configs/imx8qm_mek_defconfig @@ -3,6 +3,7 @@ CONFIG_SPL_SYS_ICACHE_OFF=y CONFIG_SPL_SYS_DCACHE_OFF=y CONFIG_ARCH_IMX8=y CONFIG_SYS_TEXT_BASE=0x80020000 +CONFIG_SPL_TEXT_BASE=0x100000 CONFIG_SPL_GPIO_SUPPORT=y CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y diff --git a/configs/imx8qxp_mek_defconfig b/configs/imx8qxp_mek_defconfig index 92927e3..73d6d13 100644 --- a/configs/imx8qxp_mek_defconfig +++ b/configs/imx8qxp_mek_defconfig @@ -3,6 +3,7 @@ CONFIG_SPL_SYS_ICACHE_OFF=y CONFIG_SPL_SYS_DCACHE_OFF=y CONFIG_ARCH_IMX8=y CONFIG_SYS_TEXT_BASE=0x80020000 +CONFIG_SPL_TEXT_BASE=0x100000 CONFIG_SPL_GPIO_SUPPORT=y CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y diff --git a/include/configs/imx8qm_mek.h b/include/configs/imx8qm_mek.h index d06ed61..148a4ff 100644 --- a/include/configs/imx8qm_mek.h +++ b/include/configs/imx8qm_mek.h @@ -10,7 +10,6 @@ #include <asm/arch/imx-regs.h> #ifdef CONFIG_SPL_BUILD -#define CONFIG_SPL_TEXT_BASE 0x0 #define CONFIG_SPL_MAX_SIZE (124 * 1024) #define CONFIG_SYS_MONITOR_LEN (1024 * 1024) #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
Modify the SPL TEXT base from OCRAM alias to OCRAM base 0x100000, so we can use full OCRAM not limit to 96KB Signed-off-by: Ye Li <ye.li@nxp.com> --- configs/imx8qm_mek_defconfig | 1 + configs/imx8qxp_mek_defconfig | 1 + include/configs/imx8qm_mek.h | 1 - 3 files changed, 2 insertions(+), 1 deletion(-)