]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms
authorTom Rini <trini@konsulko.com>
Tue, 8 Nov 2016 02:34:54 +0000 (21:34 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 21 Nov 2016 19:07:29 +0000 (14:07 -0500)
This moves what was in arch/arm/cpu/armv7/omap-common in to
arch/arm/mach-omap2 and moves
arch/arm/cpu/armv7/{am33xx,omap3,omap4,omap5} in to arch/arm/mach-omap2
as subdirectories.  All refernces to the former locations are updated to
the current locations.  For the logic to decide what our outputs are,
consolidate the tests into a single config.mk rather than including 4.

Signed-off-by: Tom Rini <trini@konsulko.com>
103 files changed:
arch/arm/Kconfig
arch/arm/Makefile
arch/arm/cpu/armv7/Makefile
arch/arm/cpu/armv7/omap3/config.mk [deleted file]
arch/arm/cpu/armv7/omap4/config.mk [deleted file]
arch/arm/cpu/armv7/omap5/config.mk [deleted file]
arch/arm/mach-omap2/Kconfig [moved from arch/arm/cpu/armv7/omap-common/Kconfig with 68% similarity]
arch/arm/mach-omap2/Makefile [moved from arch/arm/cpu/armv7/omap-common/Makefile with 80% similarity]
arch/arm/mach-omap2/abb.c [moved from arch/arm/cpu/armv7/omap-common/abb.c with 100% similarity]
arch/arm/mach-omap2/am33xx/Kconfig [moved from arch/arm/cpu/armv7/am33xx/Kconfig with 100% similarity]
arch/arm/mach-omap2/am33xx/Makefile [moved from arch/arm/cpu/armv7/am33xx/Makefile with 100% similarity]
arch/arm/mach-omap2/am33xx/board.c [moved from arch/arm/cpu/armv7/am33xx/board.c with 100% similarity]
arch/arm/mach-omap2/am33xx/clk_synthesizer.c [moved from arch/arm/cpu/armv7/am33xx/clk_synthesizer.c with 100% similarity]
arch/arm/mach-omap2/am33xx/clock.c [moved from arch/arm/cpu/armv7/am33xx/clock.c with 100% similarity]
arch/arm/mach-omap2/am33xx/clock_am33xx.c [moved from arch/arm/cpu/armv7/am33xx/clock_am33xx.c with 100% similarity]
arch/arm/mach-omap2/am33xx/clock_am43xx.c [moved from arch/arm/cpu/armv7/am33xx/clock_am43xx.c with 100% similarity]
arch/arm/mach-omap2/am33xx/clock_ti814x.c [moved from arch/arm/cpu/armv7/am33xx/clock_ti814x.c with 100% similarity]
arch/arm/mach-omap2/am33xx/clock_ti816x.c [moved from arch/arm/cpu/armv7/am33xx/clock_ti816x.c with 100% similarity]
arch/arm/mach-omap2/am33xx/ddr.c [moved from arch/arm/cpu/armv7/am33xx/ddr.c with 100% similarity]
arch/arm/mach-omap2/am33xx/emif4.c [moved from arch/arm/cpu/armv7/am33xx/emif4.c with 100% similarity]
arch/arm/mach-omap2/am33xx/mux.c [moved from arch/arm/cpu/armv7/am33xx/mux.c with 100% similarity]
arch/arm/mach-omap2/am33xx/sys_info.c [moved from arch/arm/cpu/armv7/am33xx/sys_info.c with 100% similarity]
arch/arm/mach-omap2/am33xx/u-boot-spl.lds [moved from arch/arm/cpu/armv7/am33xx/u-boot-spl.lds with 100% similarity]
arch/arm/mach-omap2/boot-common.c [moved from arch/arm/cpu/armv7/omap-common/boot-common.c with 100% similarity]
arch/arm/mach-omap2/clocks-common.c [moved from arch/arm/cpu/armv7/omap-common/clocks-common.c with 100% similarity]
arch/arm/mach-omap2/config.mk [moved from arch/arm/cpu/armv7/am33xx/config.mk with 69% similarity]
arch/arm/mach-omap2/config_secure.mk [moved from arch/arm/cpu/armv7/omap-common/config_secure.mk with 100% similarity]
arch/arm/mach-omap2/emif-common.c [moved from arch/arm/cpu/armv7/omap-common/emif-common.c with 100% similarity]
arch/arm/mach-omap2/hwinit-common.c [moved from arch/arm/cpu/armv7/omap-common/hwinit-common.c with 100% similarity]
arch/arm/mach-omap2/lowlevel_init.S [moved from arch/arm/cpu/armv7/omap-common/lowlevel_init.S with 100% similarity]
arch/arm/mach-omap2/mem-common.c [moved from arch/arm/cpu/armv7/omap-common/mem-common.c with 100% similarity]
arch/arm/mach-omap2/omap-cache.c [moved from arch/arm/cpu/armv7/omap-common/omap-cache.c with 100% similarity]
arch/arm/mach-omap2/omap3/Kconfig [moved from arch/arm/cpu/armv7/omap3/Kconfig with 100% similarity]
arch/arm/mach-omap2/omap3/Makefile [moved from arch/arm/cpu/armv7/omap3/Makefile with 100% similarity]
arch/arm/mach-omap2/omap3/am35x_musb.c [moved from arch/arm/cpu/armv7/omap3/am35x_musb.c with 100% similarity]
arch/arm/mach-omap2/omap3/board.c [moved from arch/arm/cpu/armv7/omap3/board.c with 100% similarity]
arch/arm/mach-omap2/omap3/boot.c [moved from arch/arm/cpu/armv7/omap3/boot.c with 100% similarity]
arch/arm/mach-omap2/omap3/clock.c [moved from arch/arm/cpu/armv7/omap3/clock.c with 100% similarity]
arch/arm/mach-omap2/omap3/emac.c [moved from arch/arm/cpu/armv7/omap3/emac.c with 100% similarity]
arch/arm/mach-omap2/omap3/emif4.c [moved from arch/arm/cpu/armv7/omap3/emif4.c with 100% similarity]
arch/arm/mach-omap2/omap3/lowlevel_init.S [moved from arch/arm/cpu/armv7/omap3/lowlevel_init.S with 100% similarity]
arch/arm/mach-omap2/omap3/sdrc.c [moved from arch/arm/cpu/armv7/omap3/sdrc.c with 100% similarity]
arch/arm/mach-omap2/omap3/spl_id_nand.c [moved from arch/arm/cpu/armv7/omap3/spl_id_nand.c with 100% similarity]
arch/arm/mach-omap2/omap3/sys_info.c [moved from arch/arm/cpu/armv7/omap3/sys_info.c with 100% similarity]
arch/arm/mach-omap2/omap4/Kconfig [moved from arch/arm/cpu/armv7/omap4/Kconfig with 100% similarity]
arch/arm/mach-omap2/omap4/Makefile [moved from arch/arm/cpu/armv7/omap4/Makefile with 100% similarity]
arch/arm/mach-omap2/omap4/boot.c [moved from arch/arm/cpu/armv7/omap4/boot.c with 100% similarity]
arch/arm/mach-omap2/omap4/emif.c [moved from arch/arm/cpu/armv7/omap4/emif.c with 100% similarity]
arch/arm/mach-omap2/omap4/hw_data.c [moved from arch/arm/cpu/armv7/omap4/hw_data.c with 100% similarity]
arch/arm/mach-omap2/omap4/hwinit.c [moved from arch/arm/cpu/armv7/omap4/hwinit.c with 100% similarity]
arch/arm/mach-omap2/omap4/prcm-regs.c [moved from arch/arm/cpu/armv7/omap4/prcm-regs.c with 100% similarity]
arch/arm/mach-omap2/omap4/sdram_elpida.c [moved from arch/arm/cpu/armv7/omap4/sdram_elpida.c with 100% similarity]
arch/arm/mach-omap2/omap5/Kconfig [moved from arch/arm/cpu/armv7/omap5/Kconfig with 100% similarity]
arch/arm/mach-omap2/omap5/Makefile [moved from arch/arm/cpu/armv7/omap5/Makefile with 100% similarity]
arch/arm/mach-omap2/omap5/abb.c [moved from arch/arm/cpu/armv7/omap5/abb.c with 100% similarity]
arch/arm/mach-omap2/omap5/boot.c [moved from arch/arm/cpu/armv7/omap5/boot.c with 100% similarity]
arch/arm/mach-omap2/omap5/dra7xx_iodelay.c [moved from arch/arm/cpu/armv7/omap5/dra7xx_iodelay.c with 100% similarity]
arch/arm/mach-omap2/omap5/emif.c [moved from arch/arm/cpu/armv7/omap5/emif.c with 100% similarity]
arch/arm/mach-omap2/omap5/fdt.c [moved from arch/arm/cpu/armv7/omap5/fdt.c with 100% similarity]
arch/arm/mach-omap2/omap5/hw_data.c [moved from arch/arm/cpu/armv7/omap5/hw_data.c with 100% similarity]
arch/arm/mach-omap2/omap5/hwinit.c [moved from arch/arm/cpu/armv7/omap5/hwinit.c with 100% similarity]
arch/arm/mach-omap2/omap5/prcm-regs.c [moved from arch/arm/cpu/armv7/omap5/prcm-regs.c with 100% similarity]
arch/arm/mach-omap2/omap5/sdram.c [moved from arch/arm/cpu/armv7/omap5/sdram.c with 100% similarity]
arch/arm/mach-omap2/omap5/sec-fxns.c [moved from arch/arm/cpu/armv7/omap5/sec-fxns.c with 100% similarity]
arch/arm/mach-omap2/pipe3-phy.c [moved from arch/arm/cpu/armv7/omap-common/pipe3-phy.c with 100% similarity]
arch/arm/mach-omap2/pipe3-phy.h [moved from arch/arm/cpu/armv7/omap-common/pipe3-phy.h with 100% similarity]
arch/arm/mach-omap2/reset.c [moved from arch/arm/cpu/armv7/omap-common/reset.c with 100% similarity]
arch/arm/mach-omap2/sata.c [moved from arch/arm/cpu/armv7/omap-common/sata.c with 100% similarity]
arch/arm/mach-omap2/sec-common.c [moved from arch/arm/cpu/armv7/omap-common/sec-common.c with 100% similarity]
arch/arm/mach-omap2/timer.c [moved from arch/arm/cpu/armv7/omap-common/timer.c with 100% similarity]
arch/arm/mach-omap2/u-boot-spl.lds [moved from arch/arm/cpu/armv7/omap-common/u-boot-spl.lds with 100% similarity]
arch/arm/mach-omap2/utils.c [moved from arch/arm/cpu/armv7/omap-common/utils.c with 100% similarity]
arch/arm/mach-omap2/vc.c [moved from arch/arm/cpu/armv7/omap-common/vc.c with 100% similarity]
include/configs/am335x_evm.h
include/configs/am335x_igep0033.h
include/configs/am335x_shc.h
include/configs/am335x_sl50.h
include/configs/am3517_crane.h
include/configs/am3517_evm.h
include/configs/am43xx_evm.h
include/configs/baltos.h
include/configs/bav335x.h
include/configs/bur_am335x_common.h
include/configs/cm_t335.h
include/configs/cm_t35.h
include/configs/cm_t43.h
include/configs/imx6_spl.h
include/configs/kc1.h
include/configs/mcx.h
include/configs/omap3_evm.h
include/configs/pcm051.h
include/configs/pengwyn.h
include/configs/pepper.h
include/configs/siemens-am33x-common.h
include/configs/sniper.h
include/configs/tam3517-common.h
include/configs/tao3530.h
include/configs/ti814x_evm.h
include/configs/ti816x_evm.h
include/configs/ti_omap3_common.h
include/configs/ti_omap4_common.h
include/configs/ti_omap5_common.h
include/configs/tricorder.h

index 308245185b83fbef40f2742ae522665dbdf9b896..acd689beccc76ca09604b2281a4f3742e9df98e2 100644 (file)
@@ -544,8 +544,7 @@ config ARCH_SOCFPGA
 
 config TARGET_CM_T43
        bool "Support cm_t43"
-       select CPU_V7
-       select SUPPORT_SPL
+       select ARCH_OMAP2
 
 config ARCH_SUNXI
        bool "Support sunxi (Allwinner) SoCs"
@@ -891,7 +890,7 @@ source "arch/arm/cpu/armv7/mx6/Kconfig"
 
 source "arch/arm/cpu/armv7/mx5/Kconfig"
 
-source "arch/arm/cpu/armv7/omap-common/Kconfig"
+source "arch/arm/mach-omap2/Kconfig"
 
 source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
 
index 42093c2b5e29baf825a882fc0ba3473e8b9be641..236debb45286008614cf15b2d4e10e4aa9fa452a 100644 (file)
@@ -63,6 +63,7 @@ machine-$(CONFIG_ARCH_MVEBU)          += mvebu
 # TODO: rename CONFIG_TEGRA -> CONFIG_ARCH_TEGRA
 # TODO: rename CONFIG_ORION5X -> CONFIG_ARCH_ORION5X
 machine-$(CONFIG_ORION5X)              += orion5x
+machine-$(CONFIG_ARCH_OMAP2)           += omap2
 machine-$(CONFIG_ARCH_S5PC1XX)         += s5pc1xx
 machine-$(CONFIG_ARCH_SUNXI)           += sunxi
 machine-$(CONFIG_ARCH_SNAPDRAGON)      += snapdragon
index 4d3bc9440fa7f920ea22c3754e712fb0a5bd7597..0e515a4603da3f093026f5f5268ce279e18f7a13 100644 (file)
@@ -23,14 +23,12 @@ obj-$(CONFIG_ARMV7_PSCI)    += psci.o psci-common.o
 
 obj-$(CONFIG_IPROC) += iproc-common/
 obj-$(CONFIG_KONA) += kona-common/
-obj-$(CONFIG_OMAP_COMMON) += omap-common/
 obj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o
 
 ifneq (,$(filter s5pc1xx exynos,$(SOC)))
 obj-y += s5p-common/
 endif
 
-obj-$(if $(filter am33xx,$(SOC)),y) += am33xx/
 obj-$(if $(filter bcm235xx,$(SOC)),y) += bcm235xx/
 obj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
 obj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
@@ -39,9 +37,6 @@ obj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
 obj-$(if $(filter mx5,$(SOC)),y) += mx5/
 obj-$(CONFIG_MX6) += mx6/
 obj-$(CONFIG_MX7) += mx7/
-obj-$(CONFIG_OMAP34XX) += omap3/
-obj-$(CONFIG_OMAP44XX) += omap4/
-obj-$(CONFIG_OMAP54XX) += omap5/
 obj-$(CONFIG_RMOBILE) += rmobile/
 obj-$(if $(filter stv0991,$(SOC)),y) += stv0991/
 obj-$(CONFIG_ARCH_SUNXI) += sunxi/
diff --git a/arch/arm/cpu/armv7/omap3/config.mk b/arch/arm/cpu/armv7/omap3/config.mk
deleted file mode 100644 (file)
index ad44d63..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright 2011 Linaro Limited
-#
-# (C) Copyright 2010
-# Texas Instruments, <www.ti.com>
-#
-# Aneesh V <aneesh@ti.com>
-#
-# SPDX-License-Identifier:     GPL-2.0+
-#
-ifdef CONFIG_SPL_BUILD
-ALL-y  += MLO
-else
-ALL-y  += u-boot.img
-endif
diff --git a/arch/arm/cpu/armv7/omap4/config.mk b/arch/arm/cpu/armv7/omap4/config.mk
deleted file mode 100644 (file)
index ad44d63..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright 2011 Linaro Limited
-#
-# (C) Copyright 2010
-# Texas Instruments, <www.ti.com>
-#
-# Aneesh V <aneesh@ti.com>
-#
-# SPDX-License-Identifier:     GPL-2.0+
-#
-ifdef CONFIG_SPL_BUILD
-ALL-y  += MLO
-else
-ALL-y  += u-boot.img
-endif
diff --git a/arch/arm/cpu/armv7/omap5/config.mk b/arch/arm/cpu/armv7/omap5/config.mk
deleted file mode 100644 (file)
index 286ca86..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#
-# Copyright 2011 Linaro Limited
-#
-# Aneesh V <annesh@ti.com>
-#
-# SPDX-License-Identifier:     GPL-2.0+
-#
-
-include  $(srctree)/$(CPUDIR)/omap-common/config_secure.mk
-
-ifdef CONFIG_SPL_BUILD
-ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
-ALL-y  += u-boot-spl_HS_MLO u-boot-spl_HS_X-LOADER
-else
-ALL-y  += MLO
-endif
-else
-ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
-ALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img
-endif
-ALL-y  += u-boot.img
-endif
similarity index 68%
rename from arch/arm/cpu/armv7/omap-common/Kconfig
rename to arch/arm/mach-omap2/Kconfig
index 4daccd93ffc7227c47681f693568dae3c00bf2c1..24bc4851958317682ddda185dd598dfe38a318dd 100644 (file)
@@ -8,10 +8,10 @@ config TI_SECURE_DEVICE
          authenticated) and the code. See the doc/README.ti-secure
          file for further details.
 
-source "arch/arm/cpu/armv7/omap3/Kconfig"
+source "arch/arm/mach-omap2/omap3/Kconfig"
 
-source "arch/arm/cpu/armv7/omap4/Kconfig"
+source "arch/arm/mach-omap2/omap4/Kconfig"
 
-source "arch/arm/cpu/armv7/omap5/Kconfig"
+source "arch/arm/mach-omap2/omap5/Kconfig"
 
-source "arch/arm/cpu/armv7/am33xx/Kconfig"
+source "arch/arm/mach-omap2/am33xx/Kconfig"
similarity index 80%
rename from arch/arm/cpu/armv7/omap-common/Makefile
rename to arch/arm/mach-omap2/Makefile
index 3172bae105bb120b79d33b900b3a9e09ea89e2b5..e814eb008e44308db39468d926302d14ee2d48de 100644 (file)
@@ -5,7 +5,12 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-obj-y  := reset.o
+obj-$(if $(filter am33xx,$(SOC)),y) += am33xx/
+obj-$(CONFIG_OMAP34XX) += omap3/
+obj-$(CONFIG_OMAP44XX) += omap4/
+obj-$(CONFIG_OMAP54XX) += omap5/
+
+obj-y  += reset.o
 ifeq ($(CONFIG_TIMER),)
 obj-y  += timer.o
 else
similarity index 69%
rename from arch/arm/cpu/armv7/am33xx/config.mk
rename to arch/arm/mach-omap2/config.mk
index 87b76d96a83937030455a9062b88d29429051fea..5368f6b2d72eff22631cfb0418f391bd19b075e8 100644 (file)
@@ -1,13 +1,12 @@
 #
 # Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
 #
-# SPDX-License-Identifier:     GPL-2.0+
-#
+# SPDX-License-Identifier:      GPL-2.0+
 
-include  $(srctree)/$(CPUDIR)/omap-common/config_secure.mk
+include  $(srctree)/arch/arm/mach-omap2/config_secure.mk
 
 ifdef CONFIG_SPL_BUILD
-ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
+ifeq ($(CONFIG_AM33XX)$(CONFIG_TI_SECURE_DEVICE),yy)
 #
 # For booting from SPI use
 # u-boot-spl_HS_SPI_X-LOADER to program flash
@@ -30,19 +29,25 @@ ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
 #
 # Refer to README.ti-secure for more info
 #
-ALL-y  += u-boot-spl_HS_ISSW
+ALL-y += u-boot-spl_HS_ISSW
 ALL-y += u-boot-spl_HS_SPI_X-LOADER
 ALL-y += u-boot-spl_HS_X-LOADER
 ALL-y += u-boot-spl_HS_MLO
 ALL-y += u-boot-spl_HS_2ND
 else
-ALL-y  += MLO
+ifeq ($(CONFIG_OMAP54XX)$(CONFIG_TI_SECURE_DEVICE),yy)
+ALL-y += u-boot-spl_HS_MLO u-boot-spl_HS_X-LOADER
+else
+ALL-y += MLO
+ifeq ($(CONFIG_AM33XX),y)
 ALL-y += MLO.byteswap
 endif
+endif
+endif
 else
 ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
 ALL-$(CONFIG_QSPI_BOOT) += u-boot_HS_XIP_X-LOADER
 ALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img
 endif
-ALL-y  += u-boot.img
+ALL-y += u-boot.img
 endif
index ec70b72970e39fffcda863e6d7e83e56e3540fb1..8fa8e39f71e4ebf3f8707f621badef2b2b8d5c69 100644 (file)
 
 /* USB gadget RNDIS */
 
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/am33xx/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
 #endif
 
 #ifdef CONFIG_NAND
index 32aa392e8b4d10801ee9378c35c9666eec24c222..16fb1ae8aa6a98147abd33b4e8f8fe2e1f031f8e 100644 (file)
 #undef CONFIG_USE_IRQ
 
 /* SPL */
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/am33xx/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
 
 #define CONFIG_SYS_NAND_5_ADDR_CYCLE
 #define CONFIG_SYS_NAND_PAGE_COUNT     (CONFIG_SYS_NAND_BLOCK_SIZE / \
index 553aaa38a8cc75557b1aab42df3eb8038a75016f..48353e9d3d3dd162056352f945cba12246a7fd8f 100644 (file)
 
 /* SPL */
 
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/am33xx/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
 
 #ifndef CONFIG_SPL_USBETH_SUPPORT
 #define CONFIG_FASTBOOT_FLASH_MMC_DEV   1
index 9795d4112baaf231c0a1736456b863f036004fe7..ca5bb1a77dac76e20716378eda9207918e701e01 100644 (file)
@@ -86,7 +86,7 @@
 #define CONFIG_BOOTCOUNT_AM33XX
 #define CONFIG_SYS_BOOTCOUNT_BE
 
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/am33xx/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
 
 #ifndef CONFIG_SPL_USBETH_SUPPORT
 #define CONFIG_FASTBOOT_FLASH_MMC_DEV   1
index 2f20e10eff9d0b19b61a626249ea3d988784f6f5..2dbbd7a7757dde5a65abbb04d5ab78235ec14a61 100644 (file)
 #define CONFIG_SPL_NAND_BASE
 #define CONFIG_SPL_NAND_DRIVERS
 #define CONFIG_SPL_NAND_ECC
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/u-boot-spl.lds"
 
 /* NAND boot config */
 #define CONFIG_SYS_NAND_BUSWIDTH_16BIT
index a4ae5453b2fd31fbade45c8b89e63e6c98334d56..2178c8a68f41fcfc659627e2e1ccfbafc2e84434 100644 (file)
 #define CONFIG_SPL_NAND_BASE
 #define CONFIG_SPL_NAND_DRIVERS
 #define CONFIG_SPL_NAND_ECC
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/u-boot-spl.lds"
 
 #endif /* __CONFIG_H */
index 20f207c3f3a7a9ecc50d26685318b9319bdee933..0a6c06a4bba2a146db1e7b13a1af1d36c9260ba2 100644 (file)
@@ -82,7 +82,7 @@
 #define FAT_ENV_FILE                   "uboot.env"
 #define CONFIG_FAT_WRITE
 
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/u-boot-spl.lds"
 
 /* SPL USB Support */
 
index e69c1b63c1442710cd990bfb2928c1bdc9ef15ce..8efd513f324763830f63c2c070bbdeab6d758198 100644 (file)
 /* General network SPL, both CPSW and USB gadget RNDIS */
 #define CONFIG_SPL_NET_VCI_STRING      "AM335x U-Boot SPL"*/
 
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/am33xx/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
 
 #ifdef CONFIG_NAND
 #define CONFIG_NAND_OMAP_GPMC
index ac47decb6387814020b02b7c1d1d683d3f6b6b27..2f51e2cd5ae4cc7c72e1006df54d20396d1adecf 100644 (file)
@@ -357,7 +357,7 @@ DEFAULT_LINUX_BOOT_ENV \
 
 /* USB gadget RNDIS */
 
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/am33xx/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
 #endif
 
 #ifdef CONFIG_NAND
index e425cb9193048d3d80d7bf25ef24dce24323df91..90698614d9a900ecf4ac964d0b0d9976cccca271 100644 (file)
 
 /* General parts of the framework, required. */
 #define CONFIG_SPL_BOARD_INIT
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/am33xx/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
 
 #endif /* ! __BUR_AM335X_COMMON_H__ */
index 7eed776f62faebf1b975f3698bfd4b0dfdc19c4c..ae4f287e4d48af030515a1c8d7123def0d6a878d 100644 (file)
 #define CONFIG_SYS_I2C_EEPROM_BUS      0
 
 /* SPL */
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/am33xx/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
 
 /* Network. */
 #define CONFIG_PHY_GIGE
index 201711d987f16b5af5cea6bd5078f90d543f2c62..cbb0d0b8f3312089904e374862779309b904adf9 100644 (file)
 #define CONFIG_SPL_NAND_DRIVERS
 #define CONFIG_SPL_NAND_ECC
 #define CONFIG_SPL_OMAP3_ID_NAND
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/u-boot-spl.lds"
 
 /* NAND boot config */
 #define CONFIG_SYS_NAND_5_ADDR_CYCLE
index 5ec4926dd8ec1d8832588501ef32bd950a20b08e..9c24ba9965480238de9ccd38a56d5d6062658049 100644 (file)
 #define CONFIG_ENV_OFFSET              (768 * 1024)
 #define CONFIG_ENV_SPI_MAX_HZ           48000000
 
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/u-boot-spl.lds"
 
 /* Enhance our eMMC support / experience. */
 #define CONFIG_CMD_GPT
index 0662053f8591edc4cd1dea0224dbe398e428814f..dce4438797959a9051a0f86d75c428ce5bc85b2f 100644 (file)
@@ -25,7 +25,7 @@
  *    or 64KB
  */
 #define CONFIG_SYS_THUMB_BUILD
-#define CONFIG_SPL_LDSCRIPT    "arch/arm/cpu/armv7/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT    "arch/arm/mach-omap2/u-boot-spl.lds"
 #define CONFIG_SPL_TEXT_BASE           0x00908000
 #define CONFIG_SPL_MAX_SIZE            0x10000
 #define CONFIG_SPL_STACK               0x0091FFB8
index f8078eff942d22fb03f476db1043bc446a649090..a66d462706b2776d86019e580460610e023d09be 100644 (file)
 #define CONFIG_SYS_SPL_MALLOC_START    0x80208000
 #define CONFIG_SYS_SPL_MALLOC_SIZE     (1024 * 1024)
 
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/u-boot-spl.lds"
 #define CONFIG_SPL_BOARD_INIT
 
 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION     2
index 7db9e5a1dd6c70fa1c2d1740f1a6089d4af173df..d5b7dfb391d28f39859969df70a1f8bd08c2d8d5 100644 (file)
 #define CONFIG_SPL_NAND_BASE
 #define CONFIG_SPL_NAND_DRIVERS
 #define CONFIG_SPL_NAND_ECC
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/u-boot-spl.lds"
 
 #define CONFIG_SPL_TEXT_BASE           0x40200000 /*CONFIG_SYS_SRAM_START*/
 #define CONFIG_SPL_MAX_SIZE            (54 * 1024)     /* 8 KB for stack */
index f4f4e4917a523721df3e789c1770e053943c452d..a5065e209d7511b5d95d4263267658f1c01df00e 100644 (file)
 
 #define CONFIG_SPL_BOARD_INIT
 #define CONFIG_SPL_OMAP3_ID_NAND
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/u-boot-spl.lds"
 
 /*
  * 1MB into the SDRAM to allow for SPL's bss at the beginning of SDRAM
index ef081b259be589cf208d239904038a755fe7d2f4..aff4635e90e6e36e3d9fe37e36406f59cdc727e3 100644 (file)
 /* CPU */
 #define CONFIG_ENV_IS_NOWHERE
 
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/am33xx/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
 
 #ifdef CONFIG_SPI_BOOT
 #define CONFIG_SPL_SPI_LOAD
index 4130f53582382d6f6d301c37969fb0a9f5f80311..f1db204910d25bdbdf6f819f602e6124cce761b5 100644 (file)
 
 /* CPSW support */
 
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/am33xx/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
 
 #endif /* ! __CONFIG_PENGWYN_H */
index e99188fc43e3f36130de1cfbeb8d7523bba17c50..d9c84f27ea9b59afebe46ad1d19c0f70254eee27 100644 (file)
@@ -90,6 +90,6 @@
 #define CONFIG_PHY_RESET_DELAY 1000
 
 /* SPL */
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/am33xx/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
 
 #endif /* __CONFIG_PEPPER_H */
index 31fcc947ddeb8477d13c96da1e136f594b014227..066c24136c4d218312457e9adde5318d3146da1f 100644 (file)
 #define CONFIG_SPL_SPI_LOAD
 #define CONFIG_SYS_SPI_U_BOOT_OFFS     0x20000
 
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/am33xx/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
 
 #define CONFIG_SPL_BOARD_INIT
 #define CONFIG_SPL_NAND_AM33XX_BCH
index 7fada3fec0a7adc96a229ef2805fb9c5671e0af5..264279fc4241d31f63330ba40177ed341dc0698b 100644 (file)
 #define CONFIG_SYS_SPL_MALLOC_SIZE     (1024 * 1024)
 #define CONFIG_SPL_STACK               LOW_LEVEL_SRAM_STACK
 
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/u-boot-spl.lds"
 #define CONFIG_SPL_BOARD_INIT
 
 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION     2
index 098c9bcc6c2df8cfc930b37ecd445ffd3ca614fb..6f58a97d33daf5e3c25771374422df374b38cb6f 100644 (file)
 #define CONFIG_SPL_NAND_BASE
 #define CONFIG_SPL_NAND_DRIVERS
 #define CONFIG_SPL_NAND_ECC
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/u-boot-spl.lds"
 
 #define CONFIG_SPL_TEXT_BASE           0x40200000 /*CONFIG_SYS_SRAM_START*/
 #define CONFIG_SPL_MAX_SIZE            (SRAM_SCRATCH_SPACE_ADDR - \
index 861e50277541535add8f4ec34f2ec5b69e5c434a..6219a44595eda3bea8f5b8076cc2ed7d347147b9 100644 (file)
 #define CONFIG_SPL_NAND_DRIVERS
 #define CONFIG_SPL_NAND_ECC
 #define CONFIG_SPL_OMAP3_ID_NAND
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/u-boot-spl.lds"
 
 /* NAND boot config */
 #define CONFIG_SYS_NAND_5_ADDR_CYCLE
index a5dc91b3baecfd71dc14c92222a537360ea0d4e0..9a9faebc6088c0668415687cdea7e9259bede019 100644 (file)
 
 #define CONFIG_SYS_SPI_U_BOOT_OFFS     0x20000
 #define CONFIG_SYS_SPI_U_BOOT_SIZE     0x40000
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/u-boot-spl.lds"
 
 #define CONFIG_SPL_BOARD_INIT
 
index 381e9a37175021ffdc1ecfa33f38fbf85c3a0c3c..14c254296f24729e5c30696a25401954f1e16234 100644 (file)
 
 #define CONFIG_SYS_SPI_U_BOOT_OFFS  0x20000
 #define CONFIG_SYS_SPI_U_BOOT_SIZE  0x40000
-#define CONFIG_SPL_LDSCRIPT     "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT     "arch/arm/mach-omap2/u-boot-spl.lds"
 
 #define CONFIG_SPL_BOARD_INIT
 
index d607f407fdf9b42cadd05dc202814a914a706a41..0ad32353bae25aed3210caeb0b0fc78171be004c 100644 (file)
@@ -68,7 +68,7 @@
 
 /* SPL */
 #define CONFIG_SPL_TEXT_BASE           0x40200800
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/u-boot-spl.lds"
 #define CONFIG_SYS_SPL_ARGS_ADDR       (CONFIG_SYS_SDRAM_BASE + \
                                         (64 << 20))
 
index 3d2992f737dc47477c4a37d4e5315283822627d9..aa17c09ce96841651d62fb1a96b6f3fa8cf2d6c7 100644 (file)
  * So moving TEXT_BASE down to non-HS limit.
  */
 #define CONFIG_SPL_TEXT_BASE           0x40300000
-#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
 #define CONFIG_SYS_SPL_ARGS_ADDR       (CONFIG_SYS_SDRAM_BASE + \
                                         (128 << 20))
 
index b85fae39bcc79c005fc0f5b41cde3b12e732d4e5..8322f645fe9667756ea324c007f2124c98aa9f9f 100644 (file)
 #define CONFIG_SPL_TEXT_BASE   0x40300000
 #endif
 
-#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
 #define CONFIG_SYS_SPL_ARGS_ADDR       (CONFIG_SYS_SDRAM_BASE + \
                                         (128 << 20))
 
index fbef1f0e4100e97cad79793e0021b8b6991aa3a2..9a3d224e39e3c6fe7830c4e6953dbc323aa0a08e 100644 (file)
 #define CONFIG_SPL_NAND_BASE
 #define CONFIG_SPL_NAND_DRIVERS
 #define CONFIG_SPL_NAND_ECC
-#define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-omap2/u-boot-spl.lds"
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME        "u-boot.img"
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1