ifeq ($(strip $(BOARD_NAME)),at91sam9260dfc)
LINUX26_BOARD_NAME=at91sam9260ek
ifeq ($(U_BOOT_VERSION),1.2.0-atmel)
UBOOT_BOARD_NAME:=at91sam9260dfc
else

ifneq ($(BR2_TARGET_UBOOT_BOOTSOURCE_DATAFLASHCARD),)
UBOOT_BOARD_NAME:=at91sam9260ek_dataflash_cs0
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

endif

endif