diff mbox

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

Message ID 1458825743-28638-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 86c3345afbd48810b75cdf216e588cb66f9f578e
Headers show

Commit Message

Masahiro Yamada March 24, 2016, 1:22 p.m. UTC
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>

---

 include/configs/uniphier.h | 1 +
 1 file changed, 1 insertion(+)

-- 
1.9.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Comments

Masahiro Yamada March 31, 2016, 3:22 p.m. UTC | #1
2016-03-24 22:22 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> 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>



Applied to u-boot-uniphier/master.



-- 
Best Regards
Masahiro Yamada
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
diff mbox

Patch

diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index 5f3d6b8..da80c00 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__ */