[U-Boot] [PATCH v3 3/4] pico-imx7d: Make SPL binary fit into 64kB
Stefano Babic
sbabic at denx.de
Tue Oct 9 16:29:17 UTC 2018
On 28/09/2018 16:22, Otavio Salvador wrote:
> From: Fabio Estevam <festevam at gmail.com>
>
> 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 <festevam at gmail.com>
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
>
> 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
=====================================================================
More information about the U-Boot
mailing list