Skip to contentSkip to conversation

ARM: atmel: add sama5d4 xplained ultra board support

PATCH New Bo Shen 2 participants 2 messages Nov 10, 2014 – Nov 17, 2014

Subsystems (2)
lore
Share & tools
lore

Bo Shen

author
#0 lore raw

PATCH v2 1/1 ARM: atmel: add sama5d4 xplained ultra board support

The code for this board supports following features:
- Boot media support: NAND flash/SD card/SPI flash
- Support LCD display (optional, disabled by default)
- Support ethernet
- Support USB mass storage

---
This patch based on the patch to add sama5d4ek board support.

Changes in v2:
- Select CPU_V7 in Kconfig

 arch/arm/Kconfig                                |   5 +
 board/atmel/sama5d4_xplained/Kconfig            |  18 ++
 board/atmel/sama5d4_xplained/MAINTAINERS        |   8 +
 board/atmel/sama5d4_xplained/Makefile           |   8 +
 board/atmel/sama5d4_xplained/sama5d4_xplained.c | 319 ++++++++++++++++++++++++
 configs/sama5d4_xplained_mmc_defconfig          |   3 +
 configs/sama5d4_xplained_nandflash_defconfig    |   3 +
 configs/sama5d4_xplained_spiflash_defconfig     |   3 +
 include/configs/sama5d4_xplained.h              | 216 ++++++++++++++++
 9 files changed, 583 insertions(+)
 create mode 100644 board/atmel/sama5d4_xplained/Kconfig
 create mode 100644 board/atmel/sama5d4_xplained/MAINTAINERS
 create mode 100644 board/atmel/sama5d4_xplained/Makefile
 create mode 100644 board/atmel/sama5d4_xplained/sama5d4_xplained.c
 create mode 100644 configs/sama5d4_xplained_mmc_defconfig
 create mode 100644 configs/sama5d4_xplained_nandflash_defconfig
 create mode 100644 configs/sama5d4_xplained_spiflash_defconfig
 create mode 100644 include/configs/sama5d4_xplained.h
arch/arm/Kconfig +5 -0
index 1bcd440..0dde1b3 100644
@@ -504,6 +504,10 @@ config TARGET_SAMA5D3XEK
 	select CPU_V7
 	select SUPPORT_SPL
 
+config TARGET_SAMA5D4_XPLAINED
+	bool "Support sama5d4_xplained"
+	select CPU_V7
+
 config TARGET_SAMA5D4EK
 	bool "Support sama5d4ek"
 	select CPU_V7
@@ -839,6 +843,7 @@ source "board/atmel/at91sam9rlek/Kconfig"
 source "board/atmel/at91sam9x5ek/Kconfig"
 source "board/atmel/sama5d3_xplained/Kconfig"
 source "board/atmel/sama5d3xek/Kconfig"
+source "board/atmel/sama5d4_xplained/Kconfig"
 source "board/atmel/sama5d4ek/Kconfig"
 source "board/bachmann/ot1200/Kconfig"
 source "board/balloon3/Kconfig"
board/atmel/sama5d4_xplained/Kconfig new file +18 -0
new file mode 100644
index 0000000..f6440c0
@@ -0,0 +1,18 @@
+if TARGET_SAMA5D4_XPLAINED
+
+config SYS_CPU
+	default "armv7"
+
+config SYS_BOARD
+	default "sama5d4_xplained"
+
+config SYS_VENDOR
+	default "atmel"
+
+config SYS_SOC
+	default "at91"
+
+config SYS_CONFIG_NAME
+	default "sama5d4_xplained"
+
+endif
board/atmel/sama5d4_xplained/MAINTAINERS new file +8 -0
new file mode 100644
index 0000000..035f64c
@@ -0,0 +1,8 @@
+SAMA5D4 XPLAINED ULTRA BOARD
+M:	Bo Shen <[email protected]>
+S:	Maintained
+F:	board/atmel/sama5d4_xplained/
+F:	include/configs/sama5d4_xplained.h
+F:	configs/sama5d4_xplained_mmc_defconfig
+F:	configs/sama5d4_xplained_nandflash_defconfig
+F:	configs/sama5d4_xplained_spiflash_defconfig
board/atmel/sama5d4_xplained/Makefile new file +8 -0
new file mode 100644
index 0000000..c59b12d
@@ -0,0 +1,8 @@
+#
+# Copyright (C) 2014 Atmel
+#		     Bo Shen <[email protected]>
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+obj-y += sama5d4_xplained.o
board/atmel/sama5d4_xplained/sama5d4_xplained.c new file +319 -0

319 lines not on this page · raw message

configs/sama5d4_xplained_mmc_defconfig new file +3 -0
new file mode 100644
index 0000000..3720f3c
@@ -0,0 +1,3 @@
+CONFIG_SYS_EXTRA_OPTIONS="SAMA5D4,SYS_USE_MMC"
++S:CONFIG_ARM=y
++S:CONFIG_TARGET_SAMA5D4_XPLAINED=y
configs/sama5d4_xplained_nandflash_defconfig new file +3 -0
new file mode 100644
index 0000000..5e13da7
@@ -0,0 +1,3 @@
+CONFIG_SYS_EXTRA_OPTIONS="SAMA5D4,SYS_USE_NANDFLASH"
++S:CONFIG_ARM=y
++S:CONFIG_TARGET_SAMA5D4_XPLAINED=y
configs/sama5d4_xplained_spiflash_defconfig new file +3 -0
new file mode 100644
index 0000000..3a4607c
@@ -0,0 +1,3 @@
+CONFIG_SYS_EXTRA_OPTIONS="SAMA5D4,SYS_USE_SERIALFLASH"
++S:CONFIG_ARM=y
++S:CONFIG_TARGET_SAMA5D4_XPLAINED=y
include/configs/sama5d4_xplained.h new file +216 -0

216 lines not on this page · raw message

Signature · 1 line
2.1.0.24.g4109c28
#1 lore raw

PATCH v2 1/1 ARM: atmel: add sama5d4 xplained ultra board support

Dear Bo Shen,

Quoted 23 lines · Bo Shen

The code for this board supports following features:
- Boot media support: NAND flash/SD card/SPI flash
- Support LCD display (optional, disabled by default)
- Support ethernet
- Support USB mass storage

---
This patch based on the patch to add sama5d4ek board support.

Changes in v2:
- Select CPU_V7 in Kconfig

arch/arm/Kconfig                                |   5 +
board/atmel/sama5d4_xplained/Kconfig            |  18 ++
board/atmel/sama5d4_xplained/MAINTAINERS        |   8 +
board/atmel/sama5d4_xplained/Makefile           |   8 +
board/atmel/sama5d4_xplained/sama5d4_xplained.c | 319 ++++++++++++++++++++++++
configs/sama5d4_xplained_mmc_defconfig          |   3 +
configs/sama5d4_xplained_nandflash_defconfig    |   3 +
configs/sama5d4_xplained_spiflash_defconfig     |   3 +
include/configs/sama5d4_xplained.h              | 216 ++++++++++++++++
9 files changed, 583 insertions(+)
Quoted 8 lines

create mode 100644 board/atmel/sama5d4_xplained/Kconfig create mode 100644 board/atmel/sama5d4_xplained/MAINTAINERS create mode 100644 board/atmel/sama5d4_xplained/Makefile create mode 100644 board/atmel/sama5d4_xplained/sama5d4_xplained.c create mode 100644 configs/sama5d4_xplained_mmc_defconfig create mode 100644 configs/sama5d4_xplained_nandflash_defconfig create mode 100644 configs/sama5d4_xplained_spiflash_defconfig create mode 100644 include/configs/sama5d4_xplained.h

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bie?mann