]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: lpc32xx: move SoC to mach-lpc32xx
authorTrevor Woerner <twoerner@gmail.com>
Wed, 6 May 2020 12:02:36 +0000 (08:02 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 15 May 2020 18:47:35 +0000 (14:47 -0400)
Following the example of most other SoCs in arch/$(ARCH)/cpu/$(CPU)/$(SOC)
move the lpc32xx code from arch/arm/cpu/arm926ejs/lpc32xx to
arch/arm/mach-lpc32xx.

Following the checklist from
commit 01f14456306c ("ARM: prepare for moving SoC sources into mach-*"):

    [1] move files from arch/arm/cpu/arm926ejs/lpc32xx to arch/arm/mach-lpx32xx
    [2] add machine entry to arch/arm/Makefile
    [3] remove "obj-y += ..." from arch/arm/cpu/arm926ejs/Makefile
    [4] fix the Kconfig file path in arch/arm/Kconfig
    [5] (no MAINTAINERS update)

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
arch/arm/Kconfig
arch/arm/Makefile
arch/arm/cpu/arm926ejs/Makefile
arch/arm/mach-lpc32xx/Kconfig [moved from arch/arm/cpu/arm926ejs/lpc32xx/Kconfig with 100% similarity]
arch/arm/mach-lpc32xx/Makefile [moved from arch/arm/cpu/arm926ejs/lpc32xx/Makefile with 100% similarity]
arch/arm/mach-lpc32xx/clk.c [moved from arch/arm/cpu/arm926ejs/lpc32xx/clk.c with 100% similarity]
arch/arm/mach-lpc32xx/cpu.c [moved from arch/arm/cpu/arm926ejs/lpc32xx/cpu.c with 100% similarity]
arch/arm/mach-lpc32xx/devices.c [moved from arch/arm/cpu/arm926ejs/lpc32xx/devices.c with 100% similarity]
arch/arm/mach-lpc32xx/dram.c [moved from arch/arm/cpu/arm926ejs/lpc32xx/dram.c with 100% similarity]
arch/arm/mach-lpc32xx/lowlevel_init.S [moved from arch/arm/cpu/arm926ejs/lpc32xx/lowlevel_init.S with 100% similarity]
arch/arm/mach-lpc32xx/timer.c [moved from arch/arm/cpu/arm926ejs/lpc32xx/timer.c with 100% similarity]

index 0d463088a2e4c180e043ba91432bca0064145b4f..bd802b3be938071b760b11c3c50fd4b18f481ca5 100644 (file)
@@ -1777,7 +1777,7 @@ source "arch/arm/mach-keystone/Kconfig"
 
 source "arch/arm/mach-kirkwood/Kconfig"
 
-source "arch/arm/cpu/arm926ejs/lpc32xx/Kconfig"
+source "arch/arm/mach-lpc32xx/Kconfig"
 
 source "arch/arm/mach-mvebu/Kconfig"
 
index e25bb0e594b56b0e58803961ad0d96a5d835cea5..33bb8923bf887fa78b5ae866189ee6fe79938374 100644 (file)
@@ -62,6 +62,7 @@ machine-$(CONFIG_ARCH_K3)             += k3
 machine-$(CONFIG_ARCH_KEYSTONE)                += keystone
 # TODO: rename CONFIG_KIRKWOOD -> CONFIG_ARCH_KIRKWOOD
 machine-$(CONFIG_KIRKWOOD)             += kirkwood
+machine-$(CONFIG_ARCH_LPC32XX)         += lpc32xx
 machine-$(CONFIG_ARCH_MEDIATEK)                += mediatek
 machine-$(CONFIG_ARCH_MESON)           += meson
 machine-$(CONFIG_ARCH_MVEBU)           += mvebu
index b051025bb0a568d9c36883942b5cbf89802d6c5d..af63d5cc5ef3fa071d01f89a931e756cde67ea75 100644 (file)
@@ -13,7 +13,6 @@ endif
 endif
 
 obj-$(CONFIG_ARMADA100) += armada100/
-obj-$(if $(filter lpc32xx,$(SOC)),y) += lpc32xx/
 obj-$(CONFIG_MX25) += mx25/
 obj-$(CONFIG_MX27) += mx27/
 obj-$(if $(filter mxs,$(SOC)),y) += mxs/