Skip to contentSkip to conversation

Add support for the Calao SBC35-A9G20 board

PATCH New Albin Tonnerre 2 participants 2 messages Aug 24, 2009 – Sep 4, 2009

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

PATCH 1/1 Add support for the Calao SBC35-A9G20 board

The Calao SBC35-A9G20 board is manufactured and sold by Calao Systems
<http://www.calao-systems.com>. It is built around an AT91SAM9G20 ARM SoC running at 400MHz. It features an Ethernet port, an SPI RTC backed by an onboard battery , an SD/MMC slot, a CompactFlash slot, 64Mo of SDRAM, 256Mo of NAND flash, two USB host ports, and an USB device port. More informations can be found at <http://www.calao-systems.com/articles.php?lng=en&pg=5936>

---
 MAINTAINERS                              |    4 +
 MAKEALL                                  |    1 +
 Makefile                                 |    7 +
 board/calao/sbc35_a9g20/Makefile         |   55 ++++++++
 board/calao/sbc35_a9g20/config.mk        |    1 +
 board/calao/sbc35_a9g20/sbc35_a9g20.c    |  197 ++++++++++++++++++++++++++++++
 board/calao/sbc35_a9g20/spi.c            |   57 +++++++++
 cpu/arm926ejs/at91/at91sam9260_devices.c |    2 +-
 include/configs/sbc35_a9g20.h            |  194 +++++++++++++++++++++++++++++
 9 files changed, 517 insertions(+), 1 deletions(-)
 create mode 100644 board/calao/sbc35_a9g20/Makefile
 create mode 100644 board/calao/sbc35_a9g20/config.mk
 create mode 100644 board/calao/sbc35_a9g20/sbc35_a9g20.c
 create mode 100644 board/calao/sbc35_a9g20/spi.c
 create mode 100644 include/configs/sbc35_a9g20.h
MAINTAINERS +4 -0
index 85ba8d2..df8f69d 100644
@@ -685,6 +685,10 @@ Andrea Scian <[email protected]>
 
 	B2		ARM7TDMI (S3C44B0X)
 
+Albin Tonnerre <[email protected]>
+
+	sbc35_a9g20	ARM926EJS (AT91SAM9G20 SoC)
+
 Greg Ungerer <[email protected]>
 
 	cm4008		ks8695p
MAKEALL +1 -0
index 65cd6d0..83ed9f1 100755
@@ -608,6 +608,7 @@ LIST_at91="			\
 	m501sk			\
 	pm9261			\
 	pm9263			\
+	SBC35_A9G20	\
 "
 
 #########################################################################
Makefile +7 -0
index 2fa43a5..7f49475 100644
@@ -2872,6 +2872,13 @@ at91sam9g45ekes_config	:	unconfig
 pm9263_config	:	unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm926ejs pm9263 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) -a sbc35_a9g20 arm arm926ejs sbc35_a9g20 calao at91
+
 ########################################################################
 ## ARM Integrator boards - see doc/README-integrator for more info.
 integratorap_config	\
board/calao/sbc35_a9g20/Makefile new file +55 -0

55 lines not on this page · raw message

board/calao/sbc35_a9g20/config.mk new file +1 -0
new file mode 100644
index 0000000..ff2cfd1
@@ -0,0 +1 @@
+TEXT_BASE = 0x23f00000
board/calao/sbc35_a9g20/sbc35_a9g20.c new file +197 -0

197 lines not on this page · raw message

board/calao/sbc35_a9g20/spi.c new file +57 -0

57 lines not on this page · raw message

cpu/arm926ejs/at91/at91sam9260_devices.c +1 -1
index 5309ba2..f86cb99 100644
@@ -75,7 +75,7 @@ void at91_serial_hw_init(void)
 #endif
 }
 
-#ifdef CONFIG_HAS_DATAFLASH
+#if defined(CONFIG_HAS_DATAFLASH) || defined(CONFIG_ATMEL_SPI)
 void at91_spi0_hw_init(unsigned long cs_mask)
 {
 	at91_set_A_periph(AT91_PIN_PA0, 0);	/* SPI0_MISO */
include/configs/sbc35_a9g20.h new file +194 -0

194 lines not on this page · raw message

Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 Add support for the Calao SBC35-A9G20 board

Quoted 8 lines · Albin Tonnerre

The Calao SBC35-A9G20 board is manufactured and sold by Calao Systems
<http://www.calao-systems.com>. It is built around an AT91SAM9G20 ARM SoC running at 400MHz. It features an Ethernet port, an SPI RTC backed by an onboard battery , an SD/MMC slot, a CompactFlash slot, 64Mo of SDRAM, 256Mo of NAND flash, two USB host ports, and an USB device port. More informations can be found at <http://www.calao-systems.com/articles.php?lng=en&pg=5936>

Quoted 17 lines
---
 MAINTAINERS                              |    4 +
 MAKEALL                                  |    1 +
 Makefile                                 |    7 +
 board/calao/sbc35_a9g20/Makefile         |   55 ++++++++
 board/calao/sbc35_a9g20/config.mk        |    1 +
 board/calao/sbc35_a9g20/sbc35_a9g20.c    |  197 ++++++++++++++++++++++++++++++
 board/calao/sbc35_a9g20/spi.c            |   57 +++++++++
 cpu/arm926ejs/at91/at91sam9260_devices.c |    2 +-
 include/configs/sbc35_a9g20.h            |  194 +++++++++++++++++++++++++++++
 9 files changed, 517 insertions(+), 1 deletions(-)
 create mode 100644 board/calao/sbc35_a9g20/Makefile
 create mode 100644 board/calao/sbc35_a9g20/config.mk
 create mode 100644 board/calao/sbc35_a9g20/sbc35_a9g20.c
 create mode 100644 board/calao/sbc35_a9g20/spi.c
 create mode 100644 include/configs/sbc35_a9g20.h

Applied to u-boot-arm

Best Regards,
J.