Skip to content

Commit 93d2cf4

Browse files
alexandrebelloniNicolas Ferre
authored andcommitted
ARM: at91: remove CONFIG_MACH_SAMA5_DT
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>
1 parent 4386e1f commit 93d2cf4

3 files changed

Lines changed: 2 additions & 11 deletions

File tree

‎arch/arm/configs/sama5_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ CONFIG_ARCH_AT91=y
2020
CONFIG_SOC_SAM_V7=y
2121
CONFIG_SOC_SAMA5D3=y
2222
CONFIG_SOC_SAMA5D4=y
23-
CONFIG_MACH_SAMA5_DT=y
2423
CONFIG_AEABI=y
2524
CONFIG_UACCESS_WITH_MEMCPY=y
2625
CONFIG_ZBOOT_ROM_TEXT=0x0

‎arch/arm/mach-at91/Kconfig‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ config SOC_SAMA5
5454
select USE_OF
5555
select MEMORY
5656
select ATMEL_SDRAMC
57+
select PHYLIB if NETDEVICES
5758

5859
menu "Atmel AT91 System-on-Chip"
5960

@@ -207,15 +208,6 @@ config MACH_AT91SAM9_DT
207208
Select this if you want to experiment device-tree with
208209
an Atmel Evaluation Kit.
209210

210-
config MACH_SAMA5_DT
211-
bool "Atmel SAMA5 Evaluation Kits with device-tree support"
212-
depends on SOC_SAMA5
213-
select USE_OF
214-
select PHYLIB if NETDEVICES
215-
help
216-
Select this if you want to experiment device-tree with
217-
an Atmel Evaluation Kit.
218-
219211
# ----------------------------------------------------------
220212

221213
comment "AT91 Feature Selections"

‎arch/arm/mach-at91/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ obj-$(CONFIG_MACH_AT91RM9200_DT) += board-dt-rm9200.o
7171
obj-$(CONFIG_MACH_AT91SAM9_DT) += board-dt-sam9.o
7272

7373
# SAMA5 board with device-tree
74-
obj-$(CONFIG_MACH_SAMA5_DT) += board-dt-sama5.o
74+
obj-$(CONFIG_SOC_SAMA5) += board-dt-sama5.o
7575

7676
# Drivers
7777
obj-y += leds.o

0 commit comments

Comments
 (0)