Skip to content

Commit f0a0a58

Browse files
alexandrebelloniNicolas Ferre
authored andcommitted
ARM: at91: move sdramc/ddrsdr header to include/soc/at91
Move the (DDR) SDRAM controller headers to include/soc/at91 to remove the dependency on mach/ headers from the at91-reset driver. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
1 parent 93d2cf4 commit f0a0a58

7 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎MAINTAINERS‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -861,6 +861,7 @@ W: http://maxim.org.za/at91_26.html
861861
W: http://www.linux4sam.org
862862
S: Supported
863863
F: arch/arm/mach-at91/
864+
F: include/soc/at91/
864865
F: arch/arm/boot/dts/at91*.dts
865866
F: arch/arm/boot/dts/at91*.dtsi
866867
F: arch/arm/boot/dts/sama*.dts

‎arch/arm/mach-at91/include/mach/at91_ramc.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ extern void __iomem *at91_ramc_base[];
2525
#define AT91_MEMCTRL_SDRAMC 1
2626
#define AT91_MEMCTRL_DDRSDR 2
2727

28-
#include <mach/at91rm9200_sdramc.h>
29-
#include <mach/at91sam9_ddrsdr.h>
30-
#include <mach/at91sam9_sdramc.h>
28+
#include <soc/at91/at91rm9200_sdramc.h>
29+
#include <soc/at91/at91sam9_ddrsdr.h>
30+
#include <soc/at91/at91sam9_sdramc.h>
3131

3232
#endif /* __AT91_RAMC_H__ */

‎arch/arm/mach-at91/pm.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <asm/proc-fns.h>
1515

1616
#include <mach/at91_ramc.h>
17-
#include <mach/at91rm9200_sdramc.h>
1817

1918
#ifdef CONFIG_PM
2019
extern void at91_pm_set_standby(void (*at91_standby)(void));

‎drivers/power/reset/at91-reset.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
#include <asm/system_misc.h>
2121

22-
#include <mach/at91sam9_ddrsdr.h>
23-
#include <mach/at91sam9_sdramc.h>
22+
#include <soc/at91/at91sam9_ddrsdr.h>
23+
#include <soc/at91/at91sam9_sdramc.h>
2424

2525
#define AT91_RSTC_CR 0x00 /* Reset Controller Control Register */
2626
#define AT91_RSTC_PROCRST BIT(0) /* Processor Reset */
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)