[U-Boot] [PATCH] distro: Disable iso partition format for SPL

Heiko Schocher hs at denx.de
Mon Apr 25 17:03:58 CEST 2016


Hello Alexander,

Am 25.04.2016 um 14:55 schrieb Alexander Graf:
> When building an SPL binary, chances are quite slim that we need an
> iso partition label. However, there were reports of us exceeding our
> SPL memory limit with iso enabled.
>
> So for now, let's disable the ISO partition format code when in the
> SPL build.
>
> Reported-by: Heiko Schocher <hs at denx.de>
> Signed-off-by: Alexander Graf <agraf at suse.de>
> ---
>   include/config_distro_defaults.h | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)

Thanks for the fix!

Acked-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
>
> diff --git a/include/config_distro_defaults.h b/include/config_distro_defaults.h
> index 5cc2af8..6a72f02 100644
> --- a/include/config_distro_defaults.h
> +++ b/include/config_distro_defaults.h
> @@ -62,9 +62,12 @@
>   #define CONFIG_MENU
>   #define CONFIG_DOS_PARTITION
>   #define CONFIG_EFI_PARTITION
> -#define CONFIG_ISO_PARTITION
>   #define CONFIG_SUPPORT_RAW_INITRD
>   #define CONFIG_SYS_HUSH_PARSER
>   #define CONFIG_ENV_VARS_UBOOT_CONFIG
>
> +#ifndef CONFIG_SPL_BUILD
> +#define CONFIG_ISO_PARTITION
> +#endif
> +
>   #endif	/* _CONFIG_CMD_DISTRO_DEFAULTS_H */
>

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list