diff mbox series

[2/4] sunxi: Do not define CONFIG_SPL_STACK_ADDR_R

Message ID 20220311121248.2801589-2-trini@konsulko.com
State Accepted
Commit b3fe015893ff3f4c3c3e1d1ea4f2d41371f24180
Delegated to: Tom Rini
Headers show
Series [1/4] CI: Fix unmigrated symbol test | expand

Commit Message

Tom Rini March 11, 2022, 12:12 p.m. UTC
We cannot define a CONFIG value here to ensure that the Kconfig value
isn't set wrong.

Fixes: 2c699fe0d34d ("configs: sunxi: Add common SUNIV header")
Cc: Icenowy Zheng <icenowy@aosc.io>
Cc: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
 include/configs/sunxi-common.h | 11 -----------
 1 file changed, 11 deletions(-)

Comments

Tom Rini March 19, 2022, 1:26 a.m. UTC | #1
On Fri, Mar 11, 2022 at 07:12:46AM -0500, Tom Rini wrote:

> We cannot define a CONFIG value here to ensure that the Kconfig value
> isn't set wrong.
> 
> Fixes: 2c699fe0d34d ("configs: sunxi: Add common SUNIV header")
> Cc: Icenowy Zheng <icenowy@aosc.io>
> Cc: Andre Przywara <andre.przywara@arm.com>
> Signed-off-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 4bab917c0b7c..c467e9bd15bc 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -50,26 +50,15 @@ 
 #ifdef CONFIG_MACH_SUN9I
 #define SDRAM_OFFSET(x) 0x2##x
 #define CONFIG_SYS_SDRAM_BASE		0x20000000
-/* Note SPL_STACK_R_ADDR is set through Kconfig, we include it here
- * since it needs to fit in with the other values. By also #defining it
- * we get warnings if the Kconfig value mismatches. */
 #define CONFIG_SPL_BSS_START_ADDR	0x2ff80000
 #elif defined(CONFIG_MACH_SUNIV)
 #define SDRAM_OFFSET(x) 0x8##x
 #define CONFIG_SYS_SDRAM_BASE		0x80000000
-/* Note SPL_STACK_R_ADDR is set through Kconfig, we include it here
- * since it needs to fit in with the other values. By also #defining it
- * we get warnings if the Kconfig value mismatches.
- */
-#define CONFIG_SPL_STACK_R_ADDR		0x81e00000
 #define CONFIG_SPL_BSS_START_ADDR	0x81f80000
 #else
 #define SDRAM_OFFSET(x) 0x4##x
 #define CONFIG_SYS_SDRAM_BASE		0x40000000
 /* V3s do not have enough memory to place code at 0x4a000000 */
-/* Note SPL_STACK_R_ADDR is set through Kconfig, we include it here
- * since it needs to fit in with the other values. By also #defining it
- * we get warnings if the Kconfig value mismatches. */
 #define CONFIG_SPL_BSS_START_ADDR	0x4ff80000
 #endif