> Subject: Re: [PATCH v1 05/11] ARM: display5: Increase the pre-relocation > malloc pool size to 4KiB > > Hi Peng, > > > > Subject: [PATCH v1 05/11] ARM: display5: Increase the pre-relocation > > > malloc pool size to 4KiB > > > > > > Porting more DTS code from Linux kernel for display5 board required > > > increase of pre-relocation malloc pool size in U-Boot proper. > > > > > > The early malloc memory is necessary for handling parsing and setup > > > of e.g. serial port device (and all its ancestors in DT tree). > > > > > > Signed-off-by: Lukasz Majewski <lu...@denx.de> > > > --- > > > > > > configs/display5_defconfig | 3 +++ > > > 1 file changed, 3 insertions(+) > > > > > > diff --git a/configs/display5_defconfig b/configs/display5_defconfig > > > index 3b793f4500..0ef56024e9 100644 > > > --- a/configs/display5_defconfig > > > +++ b/configs/display5_defconfig > > > @@ -4,16 +4,19 @@ CONFIG_SYS_TEXT_BASE=0x17800000 > > > CONFIG_SPL_GPIO_SUPPORT=y > CONFIG_SPL_LIBCOMMON_SUPPORT=y > > > CONFIG_SPL_LIBGENERIC_SUPPORT=y > > > +CONFIG_SYS_MALLOC_F_LEN=0x1000 > > > CONFIG_MX6_DDRCAL=y > > > CONFIG_TARGET_DISPLAY5=y > > > CONFIG_SPL_MMC_SUPPORT=y > > > CONFIG_SPL_SERIAL_SUPPORT=y > > > +CONFIG_SPL_SYS_MALLOC_F_LEN=0x400 > > > CONFIG_NR_DRAM_BANKS=1 > > > CONFIG_SPL=y > > > CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y > > > CONFIG_SYS_BOOTCOUNT_ADDR=0x020CC068 > > > CONFIG_SPL_SPI_FLASH_SUPPORT=y > > > CONFIG_SPL_SPI_SUPPORT=y > > > +CONFIG_TPL_SYS_MALLOC_F_LEN=0x400 > > > > Acked-by: Peng Fan <peng....@nxp.com> > > Just a question, TPL is enabled for this platform? > > No, display5 is not using TPL. This CONFIG_TPL_SYS_MALLOC_F_LEN seems > to be enabled by default when setting SPL counterpart.
ok. But not make sense to set this macro if TPL is not enabled. Regards, Peng. > > > > > > CONFIG_FIT=y > > > CONFIG_SPL_LOAD_FIT=y > > > CONFIG_OF_BOARD_SETUP=y > > > -- > > > 2.11.0 > > > > > > > Best regards, > > Lukasz Majewski > > -- > > DENX Software Engineering GmbH, Managing Director: Wolfgang Denk > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: > lu...@denx.de _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot