Skip to contentSkip to conversation

fix compiling warnings for AST2600 A1 SPL

PATCH In review Jamin Lin 2 participants 5 messages Feb 24, 2022 – Mar 1, 2022

lore
Share & tools
lore
author
#1 lore raw

PATCH 1/1 fix compiling warnings for AST2600 A1 SPL

In reply to Jamin Lin

remove duplicated define

---
 include/configs/evb_ast2600a1_spl.h | 7 -------
 1 file changed, 7 deletions(-)
include/configs/evb_ast2600a1_spl.h +0 -7
index 655896b237..006cc4345b 100644
@@ -42,13 +42,6 @@
 #endif
 #endif
 
-/* SPL */
-#define CONFIG_SPL_TEXT_BASE		0x00000000
-#define CONFIG_SPL_MAX_SIZE		0x0000E800
-#define CONFIG_SPL_STACK		0x10010000
-#define CONFIG_SPL_BSS_START_ADDR	0x90000000
-#define CONFIG_SPL_BSS_MAX_SIZE		0x00100000
-
 #define CONFIG_SUPPORT_EMMC_BOOT
 
 #endif	/* __CONFIG_H */
Signature · 1 line
2.17.1

Jamin Lin

author
#0 lore raw

cover fix compiling warnings for AST2600 A1 SPL

remove duplicated define

Jamin Lin (1):
fix compiling warnings for AST2600 A1 SPL

 include/configs/evb_ast2600a1_spl.h | 7 -------
 1 file changed, 7 deletions(-)
Signature · 1 line
2.17.1
#2 lore raw
In reply to Jamin Lin
Quoted 13 lines · Jamin Lin

remove duplicated define

---
 include/configs/evb_ast2600a1_spl.h | 7 -------
 1 file changed, 7 deletions(-)
include/configs/evb_ast2600a1_spl.h +0 -0
index 655896b237..006cc4345b 100644

include/configs/evb_ast2600a1_spl.h line 50

Quoted 9 lines
include/configs/evb_ast2600a1_spl.h +0 -6
@@ -42,13 +42,6 @@
 #endif
 #endif
 
-/* SPL */
-#define CONFIG_SPL_TEXT_BASE           0x00000000
-#define CONFIG_SPL_MAX_SIZE            0x0000E800
-#define CONFIG_SPL_STACK               0x10010000
-#define CONFIG_SPL_BSS_START_ADDR      0x90000000
-#define CONFIG_SPL_BSS_MAX_SIZE                0x00100000

A good cleanup. While we're here, can we clean up the various ast2600 config headers?

There is a large diff between the a0 and the a1 spl header. I know the A0 has a smaller SRAM. Are there any other differences required?

Quoted 7 lines
include/configs/evb_ast2600a1_spl.h +0 -2
-
 #define CONFIG_SUPPORT_EMMC_BOOT
 
 #endif /* __CONFIG_H */
--

2.17.1

author
#3 lore raw
Quoted 17 lines · Joel Stanley
Quoted 16 lines · Jamin Lin

remove duplicated define

---
 include/configs/evb_ast2600a1_spl.h | 7 -------
 1 file changed, 7 deletions(-)
include/configs/evb_ast2600a1_spl.h +0 -0
index 655896b237..006cc4345b 100644
@@ -42,13 +42,6 @@
 #endif
 #endif
 
Quoted 10 lines

include/configs/evb_ast2600a1_spl.h line 50

Quoted 6 lines
include/configs/evb_ast2600a1_spl.h +0 -6
-/* SPL */
-#define CONFIG_SPL_TEXT_BASE           0x00000000
-#define CONFIG_SPL_MAX_SIZE            0x0000E800
-#define CONFIG_SPL_STACK               0x10010000
-#define CONFIG_SPL_BSS_START_ADDR      0x90000000
-#define CONFIG_SPL_BSS_MAX_SIZE                0x00100000

A good cleanup. While we're here, can we clean up the various ast2600 config headers?

We do not have a plan to merge them.

Quoted 3 lines

There is a large diff between the a0 and the a1 spl header. I know the A0 has a smaller SRAM. Are there any other differences required?

A0 did not support "boot from emmc", "secure boot image size", please refer to our Errata for detail.

Quoted 7 lines
Quoted 7 lines
include/configs/evb_ast2600a1_spl.h +0 -2
-
 #define CONFIG_SUPPORT_EMMC_BOOT
 
 #endif /* __CONFIG_H */
--

2.17.1

author
#4 lore raw
In reply to Joel Stanley
Quoted 17 lines · Joel Stanley
Quoted 16 lines · Jamin Lin

remove duplicated define

---
 include/configs/evb_ast2600a1_spl.h | 7 -------
 1 file changed, 7 deletions(-)
include/configs/evb_ast2600a1_spl.h +0 -0
index 655896b237..006cc4345b 100644
@@ -42,13 +42,6 @@
 #endif
 #endif
 
Quoted 10 lines

include/configs/evb_ast2600a1_spl.h line 50

Quoted 6 lines
include/configs/evb_ast2600a1_spl.h +0 -6
-/* SPL */
-#define CONFIG_SPL_TEXT_BASE           0x00000000
-#define CONFIG_SPL_MAX_SIZE            0x0000E800
-#define CONFIG_SPL_STACK               0x10010000
-#define CONFIG_SPL_BSS_START_ADDR      0x90000000
-#define CONFIG_SPL_BSS_MAX_SIZE                0x00100000

A good cleanup. While we're here, can we clean up the various ast2600 config headers?

We do not have a plan to merge them.

Quoted 3 lines

There is a large diff between the a0 and the a1 spl header. I know the A0 has a smaller SRAM. Are there any other differences required?

A0 did not support "boot from emmc", "secure boot image size", please refer to our Errata for detail.

Quoted 7 lines
Quoted 7 lines
include/configs/evb_ast2600a1_spl.h +0 -2
-
 #define CONFIG_SUPPORT_EMMC_BOOT
 
 #endif /* __CONFIG_H */
--

2.17.1