* [U-Boot] [PATCH] ARM: uniphier: move SPL stack address
@ 2018-04-23 6:10 Masahiro Yamada
2018-04-23 16:07 ` Masahiro Yamada
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2018-04-23 6:10 UTC (permalink / raw)
To: u-boot
Currently, the address region, 0xf8000 - 0x100000, is used for SPL
stack for the 32bit SoCs. Because the U-Boot proper image starts
from 0x70000, the maximum size of the U-Boot proper image is 544KB
(0x70000 - 0xf8000) for the NOR boot mode. Now uniphier_v7_defconfig
is almost hitting this size limit. Changing CONFIG_SPL_STACK can
raise the size limit with less impact. With this, the size limit
will increase to 576KB (0x70000 - 0x100000). If we need to increase
it even more, we would be able to change CONFIG_SYS_UBOOT_BASE at the
cost of the flashing command changes.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
include/configs/uniphier.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index a00bfd9..f252073 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -219,7 +219,7 @@
#define CONFIG_SPL_TEXT_BASE 0x00100000
#endif
-#define CONFIG_SPL_STACK (0x00100000)
+#define CONFIG_SPL_STACK (0x00200000)
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x20000
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] ARM: uniphier: move SPL stack address
2018-04-23 6:10 [U-Boot] [PATCH] ARM: uniphier: move SPL stack address Masahiro Yamada
@ 2018-04-23 16:07 ` Masahiro Yamada
0 siblings, 0 replies; 2+ messages in thread
From: Masahiro Yamada @ 2018-04-23 16:07 UTC (permalink / raw)
To: u-boot
2018-04-23 15:10 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> Currently, the address region, 0xf8000 - 0x100000, is used for SPL
> stack for the 32bit SoCs. Because the U-Boot proper image starts
> from 0x70000, the maximum size of the U-Boot proper image is 544KB
> (0x70000 - 0xf8000) for the NOR boot mode. Now uniphier_v7_defconfig
> is almost hitting this size limit. Changing CONFIG_SPL_STACK can
> raise the size limit with less impact. With this, the size limit
> will increase to 576KB (0x70000 - 0x100000). If we need to increase
> it even more, we would be able to change CONFIG_SYS_UBOOT_BASE at the
> cost of the flashing command changes.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
Applied to u-boot-uniphier.
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-23 16:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-23 6:10 [U-Boot] [PATCH] ARM: uniphier: move SPL stack address Masahiro Yamada
2018-04-23 16:07 ` Masahiro Yamada
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.