Skip to contentSkip to conversation

sbc35_a9g20: update board to the new AT91 organization

PATCH New Thomas Petazzoni 2 participants 2 messages Aug 4, 2011 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sbc35_a9g20: update board to the new AT91 organization

Cc Albin Tonnerre <[email protected]>
CC Gregory Hermant <[email protected]>
---
 Makefile                              |    7 ---
 board/calao/sbc35_a9g20/sbc35_a9g20.c |   88 +++++++++++++++++----------------
 boards.cfg                            |    2 +
 include/configs/sbc35_a9g20.h         |   87 +++++++++++++++-----------------
 4 files changed, 88 insertions(+), 96 deletions(-)
Makefile +0 -7
index 156b21b..1456735 100644
@@ -827,13 +827,6 @@ pm9g45_config	:	unconfig
 	@mkdir -p $(obj)include
 	@$(MKCONFIG) -a pm9g45 arm arm926ejs pm9g45 ronetix at91
 
-SBC35_A9G20_NANDFLASH_config \
-SBC35_A9G20_EEPROM_config \
-SBC35_A9G20_config	:	unconfig
-	@mkdir -p $(obj)include
-	@echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
-	@$(MKCONFIG) -n $@ -a sbc35_a9g20 arm arm926ejs sbc35_a9g20 calao at91
-
 TNY_A9G20_NANDFLASH_config \
 TNY_A9G20_EEPROM_config \
 TNY_A9G20_config \
board/calao/sbc35_a9g20/sbc35_a9g20.c +45 -43

161 lines not on this page · raw message

boards.cfg +2 -0
index 38ccb8c..bbf5040 100644
@@ -98,6 +98,8 @@ at91sam9xeek_dataflash_cs0   arm         arm926ejs   at91sam9260ek       atmel
 at91sam9xeek_dataflash_cs1   arm         arm926ejs   at91sam9260ek       atmel          at91        at91sam9260ek:AT91SAM9XE,SYS_USE_DATAFLASH_CS1
 snapper9260                  arm         arm926ejs   -                   bluewater      at91        snapper9260:AT91SAM9260
 snapper9g20                  arm         arm926ejs   snapper9260         bluewater      at91        snapper9260:AT91SAM9G20
+sbc35_a9g20_nandflash        arm         arm926ejs   sbc35_a9g20         calao          at91        sbc35_a9g20:AT91SAM9G20,SYS_USE_NANDFLASH
+sbc35_a9g20_eeprom           arm         arm926ejs   sbc35_a9g20         calao          at91        sbc35_a9g20:AT91SAM9G20,SYS_USE_EEPROM
 cpu9260                      arm         arm926ejs   cpu9260             eukrea         at91        cpu9260:CPU9260
 cpu9260_nand                 arm         arm926ejs   cpu9260             eukrea         at91        cpu9260:CPU9260,NANDBOOT
 cpu9260_128M                 arm         arm926ejs   cpu9260             eukrea         at91        cpu9260:CPU9260,CPU9260_128M
include/configs/sbc35_a9g20.h +41 -46

151 lines not on this page · raw message

Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 1/1 sbc35_a9g20: update board to the new AT91 organization

Dear Thomas Petazzoni,

Quoted 9 lines
Cc Albin Tonnerre <[email protected]>
CC Gregory Hermant <[email protected]>
---
 Makefile                              |    7 ---
 board/calao/sbc35_a9g20/sbc35_a9g20.c |   88 +++++++++++++++++----------------
 boards.cfg                            |    2 +
 include/configs/sbc35_a9g20.h         |   87 +++++++++++++++-----------------
 4 files changed, 88 insertions(+), 96 deletions(-)

I had to fix two issues:

ERROR: "(foo*)" should be "(foo *)"
#200: FILE: board/calao/sbc35_a9g20/sbc35_a9g20.c:174:
+ (void*)CONFIG_SYS_SDRAM_BASE,

Added removal of SBC35_9G20 from MAKEALL.

Configuring for sbc35_a9g20_nandflash - Board: sbc35_a9g20, Options:
AT91SAM9G20,SYS_USE_NANDFLASH
text data bss dec hex filename
196136 5980 267224 469340 7295c ./u-boot
Configuring for sbc35_a9g20_eeprom - Board: sbc35_a9g20, Options:
AT91SAM9G20,SYS_USE_EEPROM
text data bss dec hex filename
194984 5984 267244 468212 724f4 ./u-boot

Removal Patch for this board set to "Non Applicable".

Thanks,
Reinhard