aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-11-20 07:35:36 -0500
committerArnd Bergmann <arnd@arndb.de>2014-11-20 07:35:36 -0500
commit2c0b50fcbaffe487f741a3b6156eb6d47772b7ce (patch)
tree84bf0a4f7db9d259720624099fe16d8ef652eec1
parent86dd04a22a9880a9f790473d535f77edee5f621f (diff)
parentf0a0a58e6f46c2dded813ee860b9cbd795b4e571 (diff)
Merge tag 'at91-cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91 into next/cleanup
Pull "Second batch of cleanup/SoC for 3.19" from Nicolas Ferre: - fixes following legacy board removal - removal of an unused config option CONFIG_MACH_SAMA5_DT - move of some header files out of include/mach directory * tag 'at91-cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91: ARM: at91: move sdramc/ddrsdr header to include/soc/at91 ARM: at91: remove CONFIG_MACH_SAMA5_DT ARM: at91: remove unused CONFIG_ARCH_AT91SAM9G45 option ARM: at91: remove useless init_time for DT-only SoCs ARM: at91: fix build breakage due to legacy board removals Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--MAINTAINERS1
-rw-r--r--arch/arm/configs/sama5_defconfig1
-rw-r--r--arch/arm/mach-at91/Kconfig10
-rw-r--r--arch/arm/mach-at91/Makefile2
-rw-r--r--arch/arm/mach-at91/Makefile.boot6
-rw-r--r--arch/arm/mach-at91/board.h4
-rw-r--r--arch/arm/mach-at91/include/mach/at91_ramc.h6
-rw-r--r--arch/arm/mach-at91/pm.h1
-rw-r--r--drivers/power/reset/at91-reset.c4
-rw-r--r--include/soc/at91/at91rm9200_sdramc.h (renamed from arch/arm/mach-at91/include/mach/at91rm9200_sdramc.h)0
-rw-r--r--include/soc/at91/at91sam9_ddrsdr.h (renamed from arch/arm/mach-at91/include/mach/at91sam9_ddrsdr.h)0
-rw-r--r--include/soc/at91/at91sam9_sdramc.h (renamed from arch/arm/mach-at91/include/mach/at91sam9_sdramc.h)0
12 files changed, 8 insertions, 27 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index fc016e76c236..766105f013c5 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -861,6 +861,7 @@ W: http://maxim.org.za/at91_26.html
861W: http://www.linux4sam.org 861W: http://www.linux4sam.org
862S: Supported 862S: Supported
863F: arch/arm/mach-at91/ 863F: arch/arm/mach-at91/
864F: include/soc/at91/
864F: arch/arm/boot/dts/at91*.dts 865F: arch/arm/boot/dts/at91*.dts
865F: arch/arm/boot/dts/at91*.dtsi 866F: arch/arm/boot/dts/at91*.dtsi
866F: arch/arm/boot/dts/sama*.dts 867F: arch/arm/boot/dts/sama*.dts
diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index c9089c927daf..299ca18bbd75 100644
--- a/arch/arm/configs/sama5_defconfig
+++ b/arch/arm/configs/sama5_defconfig
@@ -20,7 +20,6 @@ CONFIG_ARCH_AT91=y
20CONFIG_SOC_SAM_V7=y 20CONFIG_SOC_SAM_V7=y
21CONFIG_SOC_SAMA5D3=y 21CONFIG_SOC_SAMA5D3=y
22CONFIG_SOC_SAMA5D4=y 22CONFIG_SOC_SAMA5D4=y
23CONFIG_MACH_SAMA5_DT=y
24CONFIG_AEABI=y 23CONFIG_AEABI=y
25CONFIG_UACCESS_WITH_MEMCPY=y 24CONFIG_UACCESS_WITH_MEMCPY=y
26CONFIG_ZBOOT_ROM_TEXT=0x0 25CONFIG_ZBOOT_ROM_TEXT=0x0
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index a82ee4e7e980..162a88930a8b 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -54,6 +54,7 @@ config SOC_SAMA5
54 select USE_OF 54 select USE_OF
55 select MEMORY 55 select MEMORY
56 select ATMEL_SDRAMC 56 select ATMEL_SDRAMC
57 select PHYLIB if NETDEVICES
57 58
58menu "Atmel AT91 System-on-Chip" 59menu "Atmel AT91 System-on-Chip"
59 60
@@ -207,15 +208,6 @@ config MACH_AT91SAM9_DT
207 Select this if you want to experiment device-tree with 208 Select this if you want to experiment device-tree with
208 an Atmel Evaluation Kit. 209 an Atmel Evaluation Kit.
209 210
210config 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
219# ---------------------------------------------------------- 211# ----------------------------------------------------------
220 212
221comment "AT91 Feature Selections" 213comment "AT91 Feature Selections"
diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile
index df48363d7384..ae8aa1a898e8 100644
--- a/arch/arm/mach-at91/Makefile
+++ b/arch/arm/mach-at91/Makefile
@@ -71,7 +71,7 @@ obj-$(CONFIG_MACH_AT91RM9200_DT) += board-dt-rm9200.o
71obj-$(CONFIG_MACH_AT91SAM9_DT) += board-dt-sam9.o 71obj-$(CONFIG_MACH_AT91SAM9_DT) += board-dt-sam9.o
72 72
73# SAMA5 board with device-tree 73# SAMA5 board with device-tree
74obj-$(CONFIG_MACH_SAMA5_DT) += board-dt-sama5.o 74obj-$(CONFIG_SOC_SAMA5) += board-dt-sama5.o
75 75
76# Drivers 76# Drivers
77obj-y += leds.o 77obj-y += leds.o
diff --git a/arch/arm/mach-at91/Makefile.boot b/arch/arm/mach-at91/Makefile.boot
index 5309f9b6aabc..29ed0fa374ca 100644
--- a/arch/arm/mach-at91/Makefile.boot
+++ b/arch/arm/mach-at91/Makefile.boot
@@ -3,12 +3,6 @@
3# PARAMS_PHYS must be within 4MB of ZRELADDR 3# PARAMS_PHYS must be within 4MB of ZRELADDR
4# INITRD_PHYS must be in RAM 4# INITRD_PHYS must be in RAM
5 5
6ifeq ($(CONFIG_ARCH_AT91SAM9G45),y)
7 zreladdr-y += 0x70008000
8params_phys-y := 0x70000100
9initrd_phys-y := 0x70410000
10else
11 zreladdr-y += 0x20008000 6 zreladdr-y += 0x20008000
12params_phys-y := 0x20000100 7params_phys-y := 0x20000100
13initrd_phys-y := 0x20410000 8initrd_phys-y := 0x20410000
14endif
diff --git a/arch/arm/mach-at91/board.h b/arch/arm/mach-at91/board.h
index 836e9a537e0c..d268ec3781dd 100644
--- a/arch/arm/mach-at91/board.h
+++ b/arch/arm/mach-at91/board.h
@@ -56,11 +56,7 @@ extern void __init at91_add_device_usbh_ehci(struct at91_usbh_data *data);
56extern void __init at91_add_device_nand(struct atmel_nand_data *data); 56extern void __init at91_add_device_nand(struct atmel_nand_data *data);
57 57
58 /* I2C*/ 58 /* I2C*/
59#if defined(CONFIG_ARCH_AT91SAM9G45)
60extern void __init at91_add_device_i2c(short i2c_id, struct i2c_board_info *devices, int nr_devices);
61#else
62extern void __init at91_add_device_i2c(struct i2c_board_info *devices, int nr_devices); 59extern void __init at91_add_device_i2c(struct i2c_board_info *devices, int nr_devices);
63#endif
64 60
65 /* SPI */ 61 /* SPI */
66extern void __init at91_add_device_spi(struct spi_board_info *devices, int nr_devices); 62extern void __init at91_add_device_spi(struct spi_board_info *devices, int nr_devices);
diff --git a/arch/arm/mach-at91/include/mach/at91_ramc.h b/arch/arm/mach-at91/include/mach/at91_ramc.h
index d8aeb278614e..e4492b151fee 100644
--- a/arch/arm/mach-at91/include/mach/at91_ramc.h
+++ b/arch/arm/mach-at91/include/mach/at91_ramc.h
@@ -25,8 +25,8 @@ extern void __iomem *at91_ramc_base[];
25#define AT91_MEMCTRL_SDRAMC 1 25#define AT91_MEMCTRL_SDRAMC 1
26#define AT91_MEMCTRL_DDRSDR 2 26#define AT91_MEMCTRL_DDRSDR 2
27 27
28#include <mach/at91rm9200_sdramc.h> 28#include <soc/at91/at91rm9200_sdramc.h>
29#include <mach/at91sam9_ddrsdr.h> 29#include <soc/at91/at91sam9_ddrsdr.h>
30#include <mach/at91sam9_sdramc.h> 30#include <soc/at91/at91sam9_sdramc.h>
31 31
32#endif /* __AT91_RAMC_H__ */ 32#endif /* __AT91_RAMC_H__ */
diff --git a/arch/arm/mach-at91/pm.h b/arch/arm/mach-at91/pm.h
index c5101dcb4fb0..d2c89963af2d 100644
--- a/arch/arm/mach-at91/pm.h
+++ b/arch/arm/mach-at91/pm.h
@@ -14,7 +14,6 @@
14#include <asm/proc-fns.h> 14#include <asm/proc-fns.h>
15 15
16#include <mach/at91_ramc.h> 16#include <mach/at91_ramc.h>
17#include <mach/at91rm9200_sdramc.h>
18 17
19#ifdef CONFIG_PM 18#ifdef CONFIG_PM
20extern void at91_pm_set_standby(void (*at91_standby)(void)); 19extern void at91_pm_set_standby(void (*at91_standby)(void));
diff --git a/drivers/power/reset/at91-reset.c b/drivers/power/reset/at91-reset.c
index 3cb36693343a..69a75d99ae92 100644
--- a/drivers/power/reset/at91-reset.c
+++ b/drivers/power/reset/at91-reset.c
@@ -19,8 +19,8 @@
19 19
20#include <asm/system_misc.h> 20#include <asm/system_misc.h>
21 21
22#include <mach/at91sam9_ddrsdr.h> 22#include <soc/at91/at91sam9_ddrsdr.h>
23#include <mach/at91sam9_sdramc.h> 23#include <soc/at91/at91sam9_sdramc.h>
24 24
25#define AT91_RSTC_CR 0x00 /* Reset Controller Control Register */ 25#define AT91_RSTC_CR 0x00 /* Reset Controller Control Register */
26#define AT91_RSTC_PROCRST BIT(0) /* Processor Reset */ 26#define AT91_RSTC_PROCRST BIT(0) /* Processor Reset */
diff --git a/arch/arm/mach-at91/include/mach/at91rm9200_sdramc.h b/include/soc/at91/at91rm9200_sdramc.h
index aa047f458f1b..aa047f458f1b 100644
--- a/arch/arm/mach-at91/include/mach/at91rm9200_sdramc.h
+++ b/include/soc/at91/at91rm9200_sdramc.h
diff --git a/arch/arm/mach-at91/include/mach/at91sam9_ddrsdr.h b/include/soc/at91/at91sam9_ddrsdr.h
index 0210797abf2e..0210797abf2e 100644
--- a/arch/arm/mach-at91/include/mach/at91sam9_ddrsdr.h
+++ b/include/soc/at91/at91sam9_ddrsdr.h
diff --git a/arch/arm/mach-at91/include/mach/at91sam9_sdramc.h b/include/soc/at91/at91sam9_sdramc.h
index 3d085a9a7450..3d085a9a7450 100644
--- a/arch/arm/mach-at91/include/mach/at91sam9_sdramc.h
+++ b/include/soc/at91/at91sam9_sdramc.h