From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Mon, 10 Jun 2019 08:04:22 +0200 Subject: [U-Boot] [PATCH v1 05/11] ARM: display5: Increase the pre-relocation malloc pool size to 4KiB In-Reply-To: References: <20190609205447.11212-1-lukma@denx.de> <20190609205447.11212-6-lukma@denx.de> Message-ID: <20190610080422.4faad15f@jawa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > --- > > > > 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 > 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. > > > 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: lukma at denx.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: