summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2014-09-23 16:29:18 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2014-09-24 06:46:53 +0200
commit4c7d79ea534418f76fd6afd25d85a78ce9b717c9 (patch)
treebb997b930bc305a88b9016d642efef3e0a420a20 /arch/arm/mach-at91
parent06a0773ee3171c85628cea5f13d307f3c4be56e0 (diff)
downloadbarebox-4c7d79ea534418f76fd6afd25d85a78ce9b717c9.tar.gz
barebox-4c7d79ea534418f76fd6afd25d85a78ce9b717c9.tar.xz
ARM: at91: add sama5d4ek board support
Add Atmel sama5d4ek board support, which include following features: - NAND flash support - SPI flash support - MMC card support (MCI1) - LCD display support (with QT1070) - Ethernet support Signed-off-by: Bo Shen <voice.shen@atmel.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r--arch/arm/mach-at91/Kconfig26
-rw-r--r--arch/arm/mach-at91/Makefile2
2 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 826917e12c..8c10c10359 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -6,6 +6,9 @@ config HAVE_AT91_DBGU0
config HAVE_AT91_DBGU1
bool
+config HAVE_AT91_DBGU2
+ bool
+
config HAVE_AT91_LOWLEVEL_INIT
bool
@@ -168,6 +171,13 @@ config ARCH_SAMA5D3
select HAS_MACB
select AT91SAM9G45_RESET
+config ARCH_SAMA5D4
+ bool "SAMA5D4"
+ select SOC_SAMA5
+ select HAVE_AT91_DBGU2
+ select HAS_MACB
+ select AT91SAM9G45_RESET
+
endchoice
config ARCH_BAREBOX_MAX_BARE_INIT_SIZE
@@ -472,6 +482,22 @@ endif
# ----------------------------------------------------------
+if ARCH_SAMA5D4
+
+choice
+ prompt "SAMA5D4 Board Type"
+
+config MACH_SAMA5D4EK
+ bool "Atmel SAMA5D4 Evaluation Kit"
+ help
+ Select this if you are using Atmel's SAMA5D4-EK Evaluation Kit.
+
+endchoice
+
+endif
+
+# ----------------------------------------------------------
+
comment "AT91 Board Options"
config MTD_AT91_DATAFLASH_CARD
diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile
index 8599f507c4..c2991b0136 100644
--- a/arch/arm/mach-at91/Makefile
+++ b/arch/arm/mach-at91/Makefile
@@ -12,6 +12,7 @@ lowlevel_init-$(CONFIG_SOC_AT91SAM9X5) += at91sam9x5_lowlevel_init.o
lowlevel_init-$(CONFIG_SOC_AT91SAM9N12) += at91sam9n12_lowlevel_init.o
lowlevel_init-$(CONFIG_ARCH_AT91RM9200) = at91rm9200_lowlevel_init.o
lowlevel_init-$(CONFIG_ARCH_SAMA5D3) += sama5d3_lowlevel_init.o
+lowlevel_init-$(CONFIG_ARCH_SAMA5D4) += sama5d3_lowlevel_init.o
lwl-y += $(lowlevel_init-y)
obj-$(CONFIG_AT91SAM9_RESET) += at91sam9_reset.o
@@ -31,3 +32,4 @@ obj-$(CONFIG_ARCH_AT91SAM9G45) += at91sam9g45.o at91sam9g45_devices.o
obj-$(CONFIG_ARCH_AT91SAM9X5) += at91sam9x5.o at91sam9x5_devices.o
obj-$(CONFIG_ARCH_AT91SAM9N12) += at91sam9n12.o at91sam9n12_devices.o
obj-$(CONFIG_ARCH_SAMA5D3) += sama5d3.o sama5d3_devices.o
+obj-$(CONFIG_ARCH_SAMA5D4) += sama5d4.o sama5d4_devices.o