From: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Thu, 24 Mar 2016 13:22:23 +0000 (+0900)
Subject: ARM: uniphier: make u-boot-with-spl.bin really available
X-Git-Tag: v2025.01-rc5-pxa1908~9754
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/index.html?a=commitdiff_plain;h=86c3345afbd48810b75cdf216e588cb66f9f578e;p=u-boot.git

ARM: uniphier: make u-boot-with-spl.bin really available

Commit d085ecd61b99 ("ARM: uniphier: switch to raw U-Boot image")
claimed that u-boot-with-spl.bin would be useful in its commit log,
but it was not available because the commit missed to define
CONFIG_SPL_MAX_SIZE.  Without it, CONFIG_SPL_PAD_TO is not defined
either (see include/config_fallbacks.h).  So, the SPL image is not
padded correctly.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index 5f3d6b8d4b..da80c00c45 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -279,5 +279,6 @@
 
 #define CONFIG_SPL_TARGET			"u-boot-with-spl.bin"
 #define CONFIG_SPL_MAX_FOOTPRINT		0x10000
+#define CONFIG_SPL_MAX_SIZE			0x10000
 
 #endif /* __CONFIG_UNIPHIER_COMMON_H__ */