mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 16:10:24 +09:00
arm: lpc32xx: move SoC to mach-lpc32xx
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 01f1445630
("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>
This commit is contained in:
parent
0ff042d836
commit
b3d9a8b185
@ -1777,7 +1777,7 @@ source "arch/arm/mach-keystone/Kconfig"
|
|||||||
|
|
||||||
source "arch/arm/mach-kirkwood/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"
|
source "arch/arm/mach-mvebu/Kconfig"
|
||||||
|
|
||||||
|
@ -62,6 +62,7 @@ machine-$(CONFIG_ARCH_K3) += k3
|
|||||||
machine-$(CONFIG_ARCH_KEYSTONE) += keystone
|
machine-$(CONFIG_ARCH_KEYSTONE) += keystone
|
||||||
# TODO: rename CONFIG_KIRKWOOD -> CONFIG_ARCH_KIRKWOOD
|
# TODO: rename CONFIG_KIRKWOOD -> CONFIG_ARCH_KIRKWOOD
|
||||||
machine-$(CONFIG_KIRKWOOD) += kirkwood
|
machine-$(CONFIG_KIRKWOOD) += kirkwood
|
||||||
|
machine-$(CONFIG_ARCH_LPC32XX) += lpc32xx
|
||||||
machine-$(CONFIG_ARCH_MEDIATEK) += mediatek
|
machine-$(CONFIG_ARCH_MEDIATEK) += mediatek
|
||||||
machine-$(CONFIG_ARCH_MESON) += meson
|
machine-$(CONFIG_ARCH_MESON) += meson
|
||||||
machine-$(CONFIG_ARCH_MVEBU) += mvebu
|
machine-$(CONFIG_ARCH_MVEBU) += mvebu
|
||||||
|
@ -13,7 +13,6 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
obj-$(CONFIG_ARMADA100) += armada100/
|
obj-$(CONFIG_ARMADA100) += armada100/
|
||||||
obj-$(if $(filter lpc32xx,$(SOC)),y) += lpc32xx/
|
|
||||||
obj-$(CONFIG_MX25) += mx25/
|
obj-$(CONFIG_MX25) += mx25/
|
||||||
obj-$(CONFIG_MX27) += mx27/
|
obj-$(CONFIG_MX27) += mx27/
|
||||||
obj-$(if $(filter mxs,$(SOC)),y) += mxs/
|
obj-$(if $(filter mxs,$(SOC)),y) += mxs/
|
||||||
|
Loading…
Reference in New Issue
Block a user