[PATCH 1/2] ARM: socfpga: move iocsr from mach to sockit board folder

Steffen Trumtrar s.trumtrar at pengutronix.de
Mon Mar 31 04:18:50 EDT 2014


The current iocsr-config-cyclone5.c is actually board specific, although the
file name suggests otherwise.
As the file was generated for the SoCkit, move it there.

Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
---
 arch/arm/boards/terasic-sockit/Makefile                                 | 1 +
 .../arm/{mach-socfpga => boards/terasic-sockit}/iocsr-config-cyclone5.c | 0
 arch/arm/mach-socfpga/Makefile                                          | 2 +-
 3 files changed, 2 insertions(+), 1 deletion(-)
 rename arch/arm/{mach-socfpga => boards/terasic-sockit}/iocsr-config-cyclone5.c (100%)

diff --git a/arch/arm/boards/terasic-sockit/Makefile b/arch/arm/boards/terasic-sockit/Makefile
index 8c927fe..b94f918 100644
--- a/arch/arm/boards/terasic-sockit/Makefile
+++ b/arch/arm/boards/terasic-sockit/Makefile
@@ -1,2 +1,3 @@
 obj-y += lowlevel.o board.o
+pbl-y += iocsr-config-cyclone5.o
 pbl-y += lowlevel.o
diff --git a/arch/arm/mach-socfpga/iocsr-config-cyclone5.c b/arch/arm/boards/terasic-sockit/iocsr-config-cyclone5.c
similarity index 100%
rename from arch/arm/mach-socfpga/iocsr-config-cyclone5.c
rename to arch/arm/boards/terasic-sockit/iocsr-config-cyclone5.c
diff --git a/arch/arm/mach-socfpga/Makefile b/arch/arm/mach-socfpga/Makefile
index d8bf067..dea0e07 100644
--- a/arch/arm/mach-socfpga/Makefile
+++ b/arch/arm/mach-socfpga/Makefile
@@ -1,4 +1,4 @@
 obj-y += generic.o nic301.o bootsource.o reset-manager.o
 pbl-y += init.o freeze-controller.o scan-manager.o system-manager.o
-pbl-y += clock-manager.o iocsr-config-cyclone5.o
+pbl-y += clock-manager.o
 obj-$(CONFIG_ARCH_SOCFPGA_XLOAD) += xload.o
-- 
1.9.1




More information about the barebox mailing list