]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: at91: collect SoC sources into mach-at91
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 20 Feb 2015 08:04:03 +0000 (17:04 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:53:53 +0000 (13:53 +0200)
This commit moves source files as follows:

  arch/arm/cpu/arm920t/at91/*   -> arch/arm/mach-at91/arm920t/*
  arch/arm/cpu/arm926ejs/at91/* -> arch/arm/mach-at91/arm926ejs/*
  arch/arm/cpu/armv7/at91/*     -> arch/arm/mach-at91/armv7/*
  arch/arm/cpu/at91-common/*    -> arch/arm/mach-at91/*

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Andreas Bießmann <andreas.devel@googlemail.co>
48 files changed:
MAINTAINERS
arch/arm/Makefile
arch/arm/cpu/Makefile
arch/arm/cpu/arm920t/Makefile
arch/arm/cpu/arm926ejs/Makefile
arch/arm/cpu/arm926ejs/at91/config.mk [deleted file]
arch/arm/cpu/armv7/Makefile
arch/arm/cpu/armv7/at91/config.mk [deleted file]
arch/arm/mach-at91/Makefile [moved from arch/arm/cpu/at91-common/Makefile with 58% similarity]
arch/arm/mach-at91/arm920t/Makefile [moved from arch/arm/cpu/arm920t/at91/Makefile with 100% similarity]
arch/arm/mach-at91/arm920t/at91rm9200_devices.c [moved from arch/arm/cpu/arm920t/at91/at91rm9200_devices.c with 100% similarity]
arch/arm/mach-at91/arm920t/clock.c [moved from arch/arm/cpu/arm920t/at91/clock.c with 100% similarity]
arch/arm/mach-at91/arm920t/cpu.c [moved from arch/arm/cpu/arm920t/at91/cpu.c with 100% similarity]
arch/arm/mach-at91/arm920t/lowlevel_init.S [moved from arch/arm/cpu/arm920t/at91/lowlevel_init.S with 100% similarity]
arch/arm/mach-at91/arm920t/reset.c [moved from arch/arm/cpu/arm920t/at91/reset.c with 100% similarity]
arch/arm/mach-at91/arm920t/timer.c [moved from arch/arm/cpu/arm920t/at91/timer.c with 100% similarity]
arch/arm/mach-at91/arm926ejs/Makefile [moved from arch/arm/cpu/arm926ejs/at91/Makefile with 100% similarity]
arch/arm/mach-at91/arm926ejs/at91sam9260_devices.c [moved from arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c with 100% similarity]
arch/arm/mach-at91/arm926ejs/at91sam9261_devices.c [moved from arch/arm/cpu/arm926ejs/at91/at91sam9261_devices.c with 100% similarity]
arch/arm/mach-at91/arm926ejs/at91sam9263_devices.c [moved from arch/arm/cpu/arm926ejs/at91/at91sam9263_devices.c with 100% similarity]
arch/arm/mach-at91/arm926ejs/at91sam9m10g45_devices.c [moved from arch/arm/cpu/arm926ejs/at91/at91sam9m10g45_devices.c with 100% similarity]
arch/arm/mach-at91/arm926ejs/at91sam9n12_devices.c [moved from arch/arm/cpu/arm926ejs/at91/at91sam9n12_devices.c with 100% similarity]
arch/arm/mach-at91/arm926ejs/at91sam9rl_devices.c [moved from arch/arm/cpu/arm926ejs/at91/at91sam9rl_devices.c with 100% similarity]
arch/arm/mach-at91/arm926ejs/at91sam9x5_devices.c [moved from arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c with 100% similarity]
arch/arm/mach-at91/arm926ejs/clock.c [moved from arch/arm/cpu/arm926ejs/at91/clock.c with 100% similarity]
arch/arm/mach-at91/arm926ejs/cpu.c [moved from arch/arm/cpu/arm926ejs/at91/cpu.c with 100% similarity]
arch/arm/mach-at91/arm926ejs/eflash.c [moved from arch/arm/cpu/arm926ejs/at91/eflash.c with 100% similarity]
arch/arm/mach-at91/arm926ejs/led.c [moved from arch/arm/cpu/arm926ejs/at91/led.c with 100% similarity]
arch/arm/mach-at91/arm926ejs/lowlevel_init.S [moved from arch/arm/cpu/arm926ejs/at91/lowlevel_init.S with 100% similarity]
arch/arm/mach-at91/arm926ejs/reset.c [moved from arch/arm/cpu/arm926ejs/at91/reset.c with 100% similarity]
arch/arm/mach-at91/arm926ejs/timer.c [moved from arch/arm/cpu/arm926ejs/at91/timer.c with 100% similarity]
arch/arm/mach-at91/armv7/Makefile [moved from arch/arm/cpu/armv7/at91/Makefile with 100% similarity]
arch/arm/mach-at91/armv7/clock.c [moved from arch/arm/cpu/armv7/at91/clock.c with 100% similarity]
arch/arm/mach-at91/armv7/cpu.c [moved from arch/arm/cpu/armv7/at91/cpu.c with 100% similarity]
arch/arm/mach-at91/armv7/reset.c [moved from arch/arm/cpu/armv7/at91/reset.c with 100% similarity]
arch/arm/mach-at91/armv7/sama5d3_devices.c [moved from arch/arm/cpu/armv7/at91/sama5d3_devices.c with 100% similarity]
arch/arm/mach-at91/armv7/sama5d4_devices.c [moved from arch/arm/cpu/armv7/at91/sama5d4_devices.c with 100% similarity]
arch/arm/mach-at91/armv7/timer.c [moved from arch/arm/cpu/armv7/at91/timer.c with 100% similarity]
arch/arm/mach-at91/config.mk [new file with mode: 0644]
arch/arm/mach-at91/mpddrc.c [moved from arch/arm/cpu/at91-common/mpddrc.c with 100% similarity]
arch/arm/mach-at91/phy.c [moved from arch/arm/cpu/at91-common/phy.c with 100% similarity]
arch/arm/mach-at91/sdram.c [moved from arch/arm/cpu/at91-common/sdram.c with 100% similarity]
arch/arm/mach-at91/spl.c [moved from arch/arm/cpu/at91-common/spl.c with 100% similarity]
arch/arm/mach-at91/spl_at91.c [moved from arch/arm/cpu/at91-common/spl_at91.c with 100% similarity]
arch/arm/mach-at91/spl_atmel.c [moved from arch/arm/cpu/at91-common/spl_atmel.c with 100% similarity]
arch/arm/mach-at91/u-boot-spl.lds [moved from arch/arm/cpu/at91-common/u-boot-spl.lds with 100% similarity]
include/configs/sama5d3_xplained.h
include/configs/sama5d3xek.h

index 74a56ecf4ffb88983ad1b0ded502a90169c310d4..a558bd4fcb4a6eaee2e5e793126ad91787c3941f 100644 (file)
@@ -76,8 +76,7 @@ ARM ATMEL AT91
 M:     Andreas Bießmann <andreas.devel@googlemail.com>
 S:     Maintained
 T:     git git://git.denx.de/u-boot-atmel.git
-F:     arch/arm/cpu/armv7/at91/
-F:     arch/arm/cpu/at91-common/
+F:     arch/arm/mach-at91/
 F:     arch/arm/include/asm/arch-at91/
 
 ARM FREESCALE IMX
index d3b0b49369934a94dd3067e2cb2e94de2dbec85c..eb3a0a82d20baec0e8b9e86704a8dfa1736054a1 100644 (file)
@@ -4,6 +4,7 @@
 
 # Machine directory name.  This list is sorted alphanumerically
 # by CONFIG_* macro name.
+machine-$(CONFIG_ARCH_AT91)            += at91
 
 machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y))
 
index 35d8d387bd00343438b9a7eb62a895740ebfb5c5..ba4f3900f70c527505914d41712fecbc408150fc 100644 (file)
@@ -1,4 +1,3 @@
-obj-$(CONFIG_AT91FAMILY) += at91-common/
 obj-$(CONFIG_TEGRA20) += tegra20-common/
 obj-$(CONFIG_TEGRA30) += tegra30-common/
 obj-$(CONFIG_TEGRA114) += tegra114-common/
index a72e5de99eb78b81e616b773df017d19657e1987..a16838b4797af538f1e47624452ef5c3d3328fb2 100644 (file)
@@ -11,7 +11,6 @@ obj-y += cpu.o
 obj-$(CONFIG_USE_IRQ)  += interrupts.o
 
 obj-$(if $(filter a320,$(SOC)),y) += a320/
-obj-$(CONFIG_AT91FAMILY) += at91/
 obj-$(CONFIG_EP93XX) += ep93xx/
 obj-$(CONFIG_IMX) += imx/
 obj-$(CONFIG_KS8695) += ks8695/
index f1d6c01d4f02391c864b6986c9126268f75a692e..26b6fb86de63a554be5dcc6f8cf88c714a35cc94 100644 (file)
@@ -15,7 +15,6 @@ endif
 endif
 
 obj-$(CONFIG_ARMADA100) += armada100/
-obj-$(CONFIG_AT91FAMILY) += at91/
 obj-$(CONFIG_ARCH_DAVINCI) += davinci/
 obj-$(CONFIG_KIRKWOOD) += kirkwood/
 obj-$(if $(filter lpc32xx,$(SOC)),y) += lpc32xx/
diff --git a/arch/arm/cpu/arm926ejs/at91/config.mk b/arch/arm/cpu/arm926ejs/at91/config.mk
deleted file mode 100644 (file)
index 370630d..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-PF_CPPFLAGS_TUNE := $(call cc-option,-mtune=arm926ejs,)
-PLATFORM_CPPFLAGS += $(PF_CPPFLAGS_TUNE)
index 21d63e1a9198bf87310a5e15bd3423a3a3341e9d..b758184b0120e1e76863f7012934436fff8f6954 100644 (file)
@@ -40,7 +40,6 @@ endif
 
 obj-$(if $(filter am33xx,$(SOC)),y) += am33xx/
 obj-$(if $(filter armada-xp,$(SOC)),y) += armada-xp/
-obj-$(CONFIG_AT91FAMILY) += at91/
 obj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
 obj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
 obj-$(if $(filter bcmnsp,$(SOC)),y) += bcmnsp/
diff --git a/arch/arm/cpu/armv7/at91/config.mk b/arch/arm/cpu/armv7/at91/config.mk
deleted file mode 100644 (file)
index db60308..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#
-# Copyright (C) 2014, Andreas Bießmann <andreas.devel@googlemail.com>
-#
-# SPDX-License-Identifier:     GPL-2.0+
-#
-ifndef CONFIG_SPL_BUILD
-ALL-y  += u-boot.img
-endif
similarity index 58%
rename from arch/arm/cpu/at91-common/Makefile
rename to arch/arm/mach-at91/Makefile
index 03614d41406b96e4793496382d2f7cb9d6bb2ab3..e596ba6ce800cc3e663c730e4131bf8613a0923a 100644 (file)
@@ -1,13 +1,3 @@
-#
-# (C) Copyright 2000-2008
-# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
-#
-# (C) Copyright 2013 Atmel Corporation
-#                   Bo Shen <voice.shen@atmel.com>
-#
-# SPDX-License-Identifier:     GPL-2.0+
-#
-
 obj-$(CONFIG_AT91_WANTS_COMMON_PHY) += phy.o
 ifneq ($(CONFIG_SPL_BUILD),)
 obj-$(CONFIG_AT91SAM9G20) += sdram.o spl_at91.o
@@ -16,3 +6,7 @@ obj-$(CONFIG_SAMA5D3) += mpddrc.o spl_atmel.o
 obj-$(CONFIG_SAMA5D4) += mpddrc.o spl_atmel.o
 obj-y += spl.o
 endif
+
+obj-$(CONFIG_CPU_ARM920T)      += arm920t/
+obj-$(CONFIG_CPU_ARM926EJS)    += arm926ejs/
+obj-$(CONFIG_CPU_V7)           += armv7/
diff --git a/arch/arm/mach-at91/config.mk b/arch/arm/mach-at91/config.mk
new file mode 100644 (file)
index 0000000..7168abb
--- /dev/null
@@ -0,0 +1,9 @@
+ifeq ($(CONFIG_CPU_ARM926EJS),y)
+PLATFORM_CPPFLAGS += $(call cc-option,-mtune=arm926ejs,)
+endif
+
+ifeq ($(CONFIG_CPU_V7),y)
+ifndef CONFIG_SPL_BUILD
+ALL-y  += u-boot.img
+endif
+endif
index 5a0ab284ab2755495213c340d680d004978c39d6..5dab61d56dfcf9f4f2f4e95b496fc9e44742ea91 100644 (file)
 #define CONFIG_SYS_MONITOR_LEN         (512 << 10)
 
 #ifdef CONFIG_SYS_USE_MMC
-#define CONFIG_SPL_LDSCRIPT            arch/arm/cpu/at91-common/u-boot-spl.lds
+#define CONFIG_SPL_LDSCRIPT            arch/arm/mach-at91/u-boot-spl.lds
 #define CONFIG_SPL_MMC_SUPPORT
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x400
 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200
index cccc1edbb81e1bf2249d7739f38f213f7db5b507..bd288beaebac9416f3624a906d56f6e30126640c 100644 (file)
 #define CONFIG_SYS_MONITOR_LEN         (512 << 10)
 
 #ifdef CONFIG_SYS_USE_MMC
-#define CONFIG_SPL_LDSCRIPT            arch/arm/cpu/at91-common/u-boot-spl.lds
+#define CONFIG_SPL_LDSCRIPT            arch/arm/mach-at91/u-boot-spl.lds
 #define CONFIG_SPL_MMC_SUPPORT
 #define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x400
 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200