From: Stefano Babic Date: Tue, 9 Oct 2018 18:29:17 +0200 Subject: [U-Boot] [PATCH v3 3/4] pico-imx7d: Make SPL binary fit into 64kB In-Reply-To: <20180928142239.4660-3-otavio@ossystems.com.br> References: <20180928142239.4660-1-otavio@ossystems.com.br> <20180928142239.4660-3-otavio@ossystems.com.br> Message-ID: <8fbffe5c-774c-bf55-2ae0-8e5c4475d750@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 28/09/2018 16:22, Otavio Salvador wrote: > From: Fabio Estevam > > Currently SPL binary is larger than 64kB, which is larger than > CONFIG_SPL_MAX_SIZE defined in imx7_spl.h. > > This causes boot failure on the pico-mx7 targets. > > Remove CONFIG_SPL_LIBDISK_SUPPORT option for now, so that the SPL > binary can fit into the 64kB range. Agree ! > > Signed-off-by: Fabio Estevam > Signed-off-by: Otavio Salvador > --- > > Changes in v3: > - new patch > > Changes in v2: None > > configs/pico-hobbit-imx7d_defconfig | 1 - > configs/pico-imx7d_defconfig | 1 - > configs/pico-pi-imx7d_defconfig | 1 - > 3 files changed, 3 deletions(-) > > diff --git a/configs/pico-hobbit-imx7d_defconfig b/configs/pico-hobbit-imx7d_defconfig > index 568fb11d59..b02cae5237 100644 > --- a/configs/pico-hobbit-imx7d_defconfig > +++ b/configs/pico-hobbit-imx7d_defconfig > @@ -8,7 +8,6 @@ CONFIG_TARGET_PICO_IMX7D=y > CONFIG_SPL_MMC_SUPPORT=y > CONFIG_SPL_SERIAL_SUPPORT=y > CONFIG_SPL=y > -CONFIG_SPL_LIBDISK_SUPPORT=y > CONFIG_ARMV7_BOOT_SEC_DEFAULT=y > CONFIG_IMX_RDC=y > CONFIG_IMX_BOOTAUX=y > diff --git a/configs/pico-imx7d_defconfig b/configs/pico-imx7d_defconfig > index d6cfc2065e..f355f07be7 100644 > --- a/configs/pico-imx7d_defconfig > +++ b/configs/pico-imx7d_defconfig > @@ -8,7 +8,6 @@ CONFIG_TARGET_PICO_IMX7D=y > CONFIG_SPL_MMC_SUPPORT=y > CONFIG_SPL_SERIAL_SUPPORT=y > CONFIG_SPL=y > -CONFIG_SPL_LIBDISK_SUPPORT=y > CONFIG_ARMV7_BOOT_SEC_DEFAULT=y > CONFIG_IMX_RDC=y > CONFIG_IMX_BOOTAUX=y > diff --git a/configs/pico-pi-imx7d_defconfig b/configs/pico-pi-imx7d_defconfig > index 73800fc8eb..3a182dcb81 100644 > --- a/configs/pico-pi-imx7d_defconfig > +++ b/configs/pico-pi-imx7d_defconfig > @@ -8,7 +8,6 @@ CONFIG_TARGET_PICO_IMX7D=y > CONFIG_SPL_MMC_SUPPORT=y > CONFIG_SPL_SERIAL_SUPPORT=y > CONFIG_SPL=y > -CONFIG_SPL_LIBDISK_SUPPORT=y > CONFIG_ARMV7_BOOT_SEC_DEFAULT=y > CONFIG_IMX_RDC=y > CONFIG_IMX_BOOTAUX=y > -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================