From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Mon, 25 Apr 2016 17:03:58 +0200 Subject: [U-Boot] [PATCH] distro: Disable iso partition format for SPL In-Reply-To: <1461588930-103058-1-git-send-email-agraf@suse.de> References: <1461588930-103058-1-git-send-email-agraf@suse.de> Message-ID: <571E31DE.9050001@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 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 > Signed-off-by: Alexander Graf > --- > include/config_distro_defaults.h | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) Thanks for the fix! Acked-by: Heiko Schocher 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