Browse Source

ARM: socfpga: move SoC sources to mach-socfpga

Our recent trend is to collect SoC files into arch/arm/mach-(SOC).

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada 10 years ago
parent
commit
05a217212b

+ 1 - 0
arch/arm/Makefile

@@ -53,6 +53,7 @@ machine-$(CONFIG_ARMADA_XP)		+= mvebu
 machine-$(CONFIG_ARCH_NOMADIK)		+= nomadik
 # TODO: rename CONFIG_ORION5X -> CONFIG_ARCH_ORION5X
 machine-$(CONFIG_ORION5X)		+= orion5x
+machine-$(CONFIG_ARCH_SOCFPGA)		+= socfpga
 machine-$(CONFIG_TEGRA)			+= tegra
 machine-$(CONFIG_ARCH_UNIPHIER)		+= uniphier
 machine-$(CONFIG_ARCH_VERSATILE)	+= versatile

+ 0 - 1
arch/arm/cpu/armv7/Makefile

@@ -50,7 +50,6 @@ obj-$(CONFIG_OMAP44XX) += omap4/
 obj-$(CONFIG_OMAP54XX) += omap5/
 obj-$(CONFIG_RMOBILE) += rmobile/
 obj-$(CONFIG_ARCH_S5PC1XX) += s5pc1xx/
-obj-$(CONFIG_SOCFPGA) += socfpga/
 obj-$(if $(filter stv0991,$(SOC)),y) += stv0991/
 obj-$(CONFIG_ARCH_SUNXI) += sunxi/
 obj-$(CONFIG_U8500) += u8500/

+ 0 - 0
arch/arm/cpu/armv7/socfpga/Makefile → arch/arm/mach-socfpga/Makefile


+ 0 - 0
arch/arm/cpu/armv7/socfpga/clock_manager.c → arch/arm/mach-socfpga/clock_manager.c


+ 0 - 0
arch/arm/cpu/armv7/socfpga/fpga_manager.c → arch/arm/mach-socfpga/fpga_manager.c


+ 0 - 0
arch/arm/cpu/armv7/socfpga/freeze_controller.c → arch/arm/mach-socfpga/freeze_controller.c


+ 0 - 0
arch/arm/cpu/armv7/socfpga/misc.c → arch/arm/mach-socfpga/misc.c


+ 0 - 0
arch/arm/cpu/armv7/socfpga/reset_manager.c → arch/arm/mach-socfpga/reset_manager.c


+ 0 - 0
arch/arm/cpu/armv7/socfpga/scan_manager.c → arch/arm/mach-socfpga/scan_manager.c


+ 0 - 0
arch/arm/cpu/armv7/socfpga/spl.c → arch/arm/mach-socfpga/spl.c


+ 0 - 0
arch/arm/cpu/armv7/socfpga/system_manager.c → arch/arm/mach-socfpga/system_manager.c


+ 0 - 0
arch/arm/cpu/armv7/socfpga/timer.c → arch/arm/mach-socfpga/timer.c


+ 0 - 0
arch/arm/cpu/armv7/socfpga/u-boot-spl.lds → arch/arm/mach-socfpga/u-boot-spl.lds


+ 1 - 1
include/configs/socfpga_common.h

@@ -298,7 +298,7 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
 #define CONFIG_CRC32_VERIFY
 
 /* Linker script for SPL */
-#define CONFIG_SPL_LDSCRIPT	"arch/arm/cpu/armv7/socfpga/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT	"arch/arm/mach-socfpga/u-boot-spl.lds"
 
 #define CONFIG_SPL_LIBCOMMON_SUPPORT
 #define CONFIG_SPL_LIBGENERIC_SUPPORT