Skip to contentSkip to conversation

avr32: move CONFIG_SYS_GENERIC_BOARD to Kconfig

PATCH In review Masahiro Yamada 3 participants 3 messages Jun 11, 2015 – Jun 13, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 avr32: move CONFIG_SYS_GENERIC_BOARD to Kconfig

Now all the AVR32 boards have been converted into Generic Board. Select it in Kconfig and clean up defines in header files.

---

 arch/Kconfig                   | 1 +
 include/configs/atngw100.h     | 1 -
 include/configs/atngw100mkii.h | 1 -
 include/configs/atstk1002.h    | 1 -
 include/configs/grasshopper.h  | 1 -
 5 files changed, 1 insertion(+), 4 deletions(-)
arch/Kconfig +1 -0
index 200588a..96db5c5 100644
@@ -25,6 +25,7 @@ config ARM
 config AVR32
 	bool "AVR32 architecture"
 	select HAVE_GENERIC_BOARD
+	select SYS_GENERIC_BOARD
 
 config BLACKFIN
 	bool "Blackfin architecture"
include/configs/atngw100.h +0 -1
index 56bd7f8..c4a6952 100644
@@ -14,7 +14,6 @@
 #define CONFIG_AT32AP7000
 #define CONFIG_ATNGW100
 
-#define CONFIG_SYS_GENERIC_BOARD
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_BOARD_EARLY_INIT_R
 
include/configs/atngw100mkii.h +0 -1
index ea1fb58..868ec3a 100644
@@ -16,7 +16,6 @@
 #define CONFIG_AT32AP7000
 #define CONFIG_ATNGW100MKII
 
-#define CONFIG_SYS_GENERIC_BOARD
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_BOARD_EARLY_INIT_R
 
include/configs/atstk1002.h +0 -1
index 64b5519..4beb068 100644
@@ -95,7 +95,6 @@
 #define CONFIG_BOOTP_GATEWAY
 
 /* generic board */
-#define CONFIG_SYS_GENERIC_BOARD
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_BOARD_EARLY_INIT_R
 
include/configs/grasshopper.h +0 -1
index 99d2389..e183f51 100644
@@ -62,7 +62,6 @@
 #define CONFIG_USART_BASE		ATMEL_BASE_USART1
 #define CONFIG_USART_ID			1
 
-#define CONFIG_SYS_GENERIC_BOARD
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_BOARD_EARLY_INIT_R
 
Signature · 1 line
1.9.1
#2 lore raw
In reply to Masahiro Yamada
Quoted 5 lines · Masahiro Yamada

Now all the AVR32 boards have been converted into Generic Board. Select it in Kconfig and clean up defines in header files.

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/20150612/32e171e4/attachment.sig>