ARM: at91: remove CONFIG_MACH_SAMA5_DT
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 10 Nov 2014 20:45:53 +0000 (21:45 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 13 Nov 2014 10:23:33 +0000 (11:23 +0100)
CONFIG_MACH_SAMA5_DT is useless as the only way to boot on sama5 based boards is
to use device tree.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
[nicolas.ferre@atmel.com: adapt on top of cleanup branch]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/configs/sama5_defconfig
arch/arm/mach-at91/Kconfig
arch/arm/mach-at91/Makefile

index c9089c927daf0e4f5a84dba71f5cae85ea2e13c6..299ca18bbd753caf1e28dc201b617cb9f69f1368 100644 (file)
@@ -20,7 +20,6 @@ CONFIG_ARCH_AT91=y
 CONFIG_SOC_SAM_V7=y
 CONFIG_SOC_SAMA5D3=y
 CONFIG_SOC_SAMA5D4=y
-CONFIG_MACH_SAMA5_DT=y
 CONFIG_AEABI=y
 CONFIG_UACCESS_WITH_MEMCPY=y
 CONFIG_ZBOOT_ROM_TEXT=0x0
index a82ee4e7e98040b498e491ff0e5628fd3b3e725e..162a88930a8b302449845c7894a838aac38de44b 100644 (file)
@@ -54,6 +54,7 @@ config SOC_SAMA5
        select USE_OF
        select MEMORY
        select ATMEL_SDRAMC
+       select PHYLIB if NETDEVICES
 
 menu "Atmel AT91 System-on-Chip"
 
@@ -207,15 +208,6 @@ config MACH_AT91SAM9_DT
          Select this if you want to experiment device-tree with
          an Atmel Evaluation Kit.
 
-config MACH_SAMA5_DT
-       bool "Atmel SAMA5 Evaluation Kits with device-tree support"
-       depends on SOC_SAMA5
-       select USE_OF
-       select PHYLIB if NETDEVICES
-       help
-         Select this if you want to experiment device-tree with
-         an Atmel Evaluation Kit.
-
 # ----------------------------------------------------------
 
 comment "AT91 Feature Selections"
index df48363d738432ff0a79589de24c9c87115a7730..ae8aa1a898e82ed8b25a891341d60a2329e1a768 100644 (file)
@@ -71,7 +71,7 @@ obj-$(CONFIG_MACH_AT91RM9200_DT) += board-dt-rm9200.o
 obj-$(CONFIG_MACH_AT91SAM9_DT) += board-dt-sam9.o
 
 # SAMA5 board with device-tree
-obj-$(CONFIG_MACH_SAMA5_DT) += board-dt-sama5.o
+obj-$(CONFIG_SOC_SAMA5)                += board-dt-sama5.o
 
 # Drivers
 obj-y                          += leds.o