summaryrefslogtreecommitdiffstats
path: root/target/device/Atmel/at91sam9260dfc/Makefile.in
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-02 11:18:09 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-02 11:18:09 +0000
commitabda4017111c0f81149ca627857d34742dd506cc (patch)
treeff89226a0ba391b49207a67020bdc0bae7a75ee9 /target/device/Atmel/at91sam9260dfc/Makefile.in
parente195cb19f2a823f7128565f8d7dd54804a4df867 (diff)
downloadbuildroot-novena-abda4017111c0f81149ca627857d34742dd506cc.tar.gz
buildroot-novena-abda4017111c0f81149ca627857d34742dd506cc.zip
Support AT91 in vanilla U-Boot
Diffstat (limited to 'target/device/Atmel/at91sam9260dfc/Makefile.in')
-rw-r--r--target/device/Atmel/at91sam9260dfc/Makefile.in18
1 files changed, 17 insertions, 1 deletions
diff --git a/target/device/Atmel/at91sam9260dfc/Makefile.in b/target/device/Atmel/at91sam9260dfc/Makefile.in
index e10b007b6..50b8e3ca5 100644
--- a/target/device/Atmel/at91sam9260dfc/Makefile.in
+++ b/target/device/Atmel/at91sam9260dfc/Makefile.in
@@ -1,4 +1,20 @@
-ifeq ($(strip$(BOARD_NAME)),at91sam9260dfc)
+ifeq ($(strip $(BOARD_NAME)),at91sam9260dfc)
LINUX26_BOARD_NAME=at91sam9260ek
BR2_PACKAGE_BUSYBOX_CONFIG:=$(BOARD_PATH)/busybox-1.9.1.config
+
+ifneq ($(BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD),)
+UBOOT_BOARD_NAME:=at91sam9260ek_dataflash_cs0
+else
+UBOOT_BOARD_NAME:=at91sam9260ek_dataflash_cs0x
endif
+ifneq ($(BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASH),)
+UBOOT_BOARD_NAME:=at91sam9260ek_dataflash_cs1
+endif
+ifneq ($(BR2_TARGET_UBOOT_BOOTSOURCE_NANDFLASH),)
+UBOOT_BOARD_NAME:=at91sam9260ek_nandflash
+endif
+ALLAN=1
+else
+ALLAN=2
+endif
+