Skip to contentSkip to conversation

ARM: remove redudant information from Kconfig files

PATCH In review Masahiro Yamada 3 participants 3 messages Dec 19, 2014 – Jan 12, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: remove redudant information from Kconfig files

- "string" type for SYS_* is defined in arch/Kconfig
- SYS_CPU "armv7" has been replaced with "select CPU_V7"
- SYS_SOC "tegra124" is already defined in tegra124/Kconfig

---

 board/atmel/sama5d4_xplained/Kconfig |  3 ---
 board/atmel/sama5d4ek/Kconfig        |  3 ---
 board/nvidia/nyan-big/Kconfig        | 12 ------------
 board/samsung/smdk5420/Kconfig       |  3 ---
 board/st/stv0991/Kconfig             |  8 --------
 board/sunxi/Kconfig                  |  1 -
 6 files changed, 30 deletions(-)
board/atmel/sama5d4_xplained/Kconfig +0 -3
index f6440c0..f320a68 100644
@@ -1,8 +1,5 @@
 if TARGET_SAMA5D4_XPLAINED
 
-config SYS_CPU
-	default "armv7"
-
 config SYS_BOARD
 	default "sama5d4_xplained"
 
board/atmel/sama5d4ek/Kconfig +0 -3
index a889895..7dc569c 100644
@@ -1,8 +1,5 @@
 if TARGET_SAMA5D4EK
 
-config SYS_CPU
-	default "armv7"
-
 config SYS_BOARD
 	default "sama5d4ek"
 
board/nvidia/nyan-big/Kconfig +0 -12
index 6c42bb9..341c8d7 100644
@@ -1,24 +1,12 @@
 if TARGET_NYAN_BIG
 
-config SYS_CPU
-	string
-	default "arm720t" if SPL_BUILD
-	default "armv7" if !SPL_BUILD
-
 config SYS_BOARD
-	string
 	default "nyan-big"
 
 config SYS_VENDOR
-	string
 	default "nvidia"
 
-config SYS_SOC
-	string
-	default "tegra124"
-
 config SYS_CONFIG_NAME
-	string
 	default "nyan-big"
 
 endif
board/samsung/smdk5420/Kconfig +0 -3
index e7aafe5..2f382cd 100644
@@ -1,15 +1,12 @@
 if TARGET_PEACH_PI
 
 config SYS_BOARD
-	string
 	default "smdk5420"
 
 config SYS_VENDOR
-	string
 	default "samsung"
 
 config SYS_CONFIG_NAME
-	string
 	default "peach-pi"
 
 endif
board/st/stv0991/Kconfig +0 -8
index 8bda349..007712f 100644
@@ -1,23 +1,15 @@
 if TARGET_STV0991
 
-config SYS_CPU
-	string
-	default "armv7"
-
 config SYS_BOARD
-	string
 	default "stv0991"
 
 config SYS_VENDOR
-	string
 	default "st"
 
 config SYS_SOC
-	string
 	default "stv0991"
 
 config SYS_CONFIG_NAME
-	string
 	default "stv0991"
 
 endif
board/sunxi/Kconfig +0 -1
index 246cd9a..5ae491d 100644
@@ -33,7 +33,6 @@ config MACH_SUN8I
 endchoice
 
 config SYS_CONFIG_NAME
-	string
 	default "sun4i" if MACH_SUN4I
 	default "sun5i" if MACH_SUN5I
 	default "sun6i" if MACH_SUN6I
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 ARM: remove redudant information from Kconfig files

Hi Masahiro Yamada,

Quoted 5 lines · Masahiro Yamada

- "string" type for SYS_* is defined in arch/Kconfig
- SYS_CPU "armv7" has been replaced with "select CPU_V7"
- SYS_SOC "tegra124" is already defined in tegra124/Kconfig

For sama5d4ek and sama5d4 xplained board.

Quoted 119 lines

---

  board/atmel/sama5d4_xplained/Kconfig |  3 ---
  board/atmel/sama5d4ek/Kconfig        |  3 ---
  board/nvidia/nyan-big/Kconfig        | 12 ------------
  board/samsung/smdk5420/Kconfig       |  3 ---
  board/st/stv0991/Kconfig             |  8 --------
  board/sunxi/Kconfig                  |  1 -
  6 files changed, 30 deletions(-)
board/atmel/sama5d4_xplained/Kconfig +0 -3
index f6440c0..f320a68 100644
@@ -1,8 +1,5 @@
  if TARGET_SAMA5D4_XPLAINED
 
-config SYS_CPU
-	default "armv7"
-
  config SYS_BOARD
  	default "sama5d4_xplained"
 
board/atmel/sama5d4ek/Kconfig +0 -3
index a889895..7dc569c 100644
@@ -1,8 +1,5 @@
  if TARGET_SAMA5D4EK
 
-config SYS_CPU
-	default "armv7"
-
  config SYS_BOARD
  	default "sama5d4ek"
 
board/nvidia/nyan-big/Kconfig +0 -12
index 6c42bb9..341c8d7 100644
@@ -1,24 +1,12 @@
  if TARGET_NYAN_BIG
 
-config SYS_CPU
-	string
-	default "arm720t" if SPL_BUILD
-	default "armv7" if !SPL_BUILD
-
  config SYS_BOARD
-	string
  	default "nyan-big"
 
  config SYS_VENDOR
-	string
  	default "nvidia"
 
-config SYS_SOC
-	string
-	default "tegra124"
-
  config SYS_CONFIG_NAME
-	string
  	default "nyan-big"
 
  endif
board/samsung/smdk5420/Kconfig +0 -3
index e7aafe5..2f382cd 100644
@@ -1,15 +1,12 @@
  if TARGET_PEACH_PI
 
  config SYS_BOARD
-	string
  	default "smdk5420"
 
  config SYS_VENDOR
-	string
  	default "samsung"
 
  config SYS_CONFIG_NAME
-	string
  	default "peach-pi"
 
  endif
board/st/stv0991/Kconfig +0 -8
index 8bda349..007712f 100644
@@ -1,23 +1,15 @@
  if TARGET_STV0991
 
-config SYS_CPU
-	string
-	default "armv7"
-
  config SYS_BOARD
-	string
  	default "stv0991"
 
  config SYS_VENDOR
-	string
  	default "st"
 
  config SYS_SOC
-	string
  	default "stv0991"
 
  config SYS_CONFIG_NAME
-	string
  	default "stv0991"
 
  endif
board/sunxi/Kconfig +0 -0
index 246cd9a..5ae491d 100644

board/sunxi/Kconfig config MACH_SUN8I · line 38

Quoted 7 lines
board/sunxi/Kconfig +0 -1
@@ -33,7 +33,6 @@ config MACH_SUN8I
  endchoice
 
  config SYS_CONFIG_NAME
-	string
  	default "sun4i" if MACH_SUN4I
  	default "sun5i" if MACH_SUN5I
  	default "sun6i" if MACH_SUN6I

Best Regards,
Bo Shen

#2 lore raw
In reply to Masahiro Yamada
Quoted 6 lines · Masahiro Yamada

- "string" type for SYS_* is defined in arch/Kconfig
- SYS_CPU "armv7" has been replaced with "select CPU_V7"
- SYS_SOC "tegra124" is already defined in tegra124/Kconfig

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150112/1570e695/attachment.pgp>