public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] distro: Disable iso partition format for SPL
@ 2016-04-25 12:55 Alexander Graf
  2016-04-25 15:03 ` Heiko Schocher
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Graf @ 2016-04-25 12:55 UTC (permalink / raw)
  To: u-boot

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@denx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
---
 include/config_distro_defaults.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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 */
-- 
1.8.5.6

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-04-25 15:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-25 12:55 [U-Boot] [PATCH] distro: Disable iso partition format for SPL Alexander Graf
2016-04-25 15:03 ` Heiko Schocher
2016-04-25 15:04   ` Alexander Graf
2016-04-25 15:18     ` Heiko Schocher
2016-04-25 15:21       ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox