]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mxs: reorganize source directory for easy sharing of code in i.MXS SoCs
authorOtavio Salvador <otavio@ossystems.com.br>
Sun, 5 Aug 2012 09:05:29 +0000 (09:05 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:17 +0000 (14:58 +0200)
Most code can be shared between i.MX23 and i.MX28 as both are from
i.MXS family; this source directory structure makes easy to share code
among them.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Stefano Babic <sbabic@denx.de>
43 files changed:
arch/arm/cpu/arm926ejs/mxs/Makefile [moved from arch/arm/cpu/arm926ejs/mx28/Makefile with 100% similarity]
arch/arm/cpu/arm926ejs/mxs/clock.c [moved from arch/arm/cpu/arm926ejs/mx28/clock.c with 100% similarity]
arch/arm/cpu/arm926ejs/mxs/iomux.c [moved from arch/arm/cpu/arm926ejs/mx28/iomux.c with 100% similarity]
arch/arm/cpu/arm926ejs/mxs/mx28.c [moved from arch/arm/cpu/arm926ejs/mx28/mx28.c with 100% similarity]
arch/arm/cpu/arm926ejs/mxs/mx28_init.h [moved from arch/arm/cpu/arm926ejs/mx28/mx28_init.h with 100% similarity]
arch/arm/cpu/arm926ejs/mxs/spl_boot.c [moved from arch/arm/cpu/arm926ejs/mx28/spl_boot.c with 100% similarity]
arch/arm/cpu/arm926ejs/mxs/spl_lradc_init.c [moved from arch/arm/cpu/arm926ejs/mx28/spl_lradc_init.c with 100% similarity]
arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c [moved from arch/arm/cpu/arm926ejs/mx28/spl_mem_init.c with 100% similarity]
arch/arm/cpu/arm926ejs/mxs/spl_power_init.c [moved from arch/arm/cpu/arm926ejs/mx28/spl_power_init.c with 100% similarity]
arch/arm/cpu/arm926ejs/mxs/start.S [moved from arch/arm/cpu/arm926ejs/mx28/start.S with 100% similarity]
arch/arm/cpu/arm926ejs/mxs/timer.c [moved from arch/arm/cpu/arm926ejs/mx28/timer.c with 100% similarity]
arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds [moved from arch/arm/cpu/arm926ejs/mx28/u-boot-spl.lds with 97% similarity]
arch/arm/include/asm/arch-mxs/clock.h [moved from arch/arm/include/asm/arch-mx28/clock.h with 100% similarity]
arch/arm/include/asm/arch-mxs/dma.h [moved from arch/arm/include/asm/arch-mx28/dma.h with 100% similarity]
arch/arm/include/asm/arch-mxs/gpio.h [moved from arch/arm/include/asm/arch-mx28/gpio.h with 100% similarity]
arch/arm/include/asm/arch-mxs/imx-regs.h [moved from arch/arm/include/asm/arch-mx28/imx-regs.h with 100% similarity]
arch/arm/include/asm/arch-mxs/iomux-mx28.h [moved from arch/arm/include/asm/arch-mx28/iomux-mx28.h with 100% similarity]
arch/arm/include/asm/arch-mxs/iomux.h [moved from arch/arm/include/asm/arch-mx28/iomux.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-apbh.h [moved from arch/arm/include/asm/arch-mx28/regs-apbh.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-base.h [moved from arch/arm/include/asm/arch-mx28/regs-base.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-bch.h [moved from arch/arm/include/asm/arch-mx28/regs-bch.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-clkctrl.h [moved from arch/arm/include/asm/arch-mx28/regs-clkctrl.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-common.h [moved from arch/arm/include/asm/arch-mx28/regs-common.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-digctl.h [moved from arch/arm/include/asm/arch-mx28/regs-digctl.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-gpmi.h [moved from arch/arm/include/asm/arch-mx28/regs-gpmi.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-i2c.h [moved from arch/arm/include/asm/arch-mx28/regs-i2c.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-lcdif.h [moved from arch/arm/include/asm/arch-mx28/regs-lcdif.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-lradc.h [moved from arch/arm/include/asm/arch-mx28/regs-lradc.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-ocotp.h [moved from arch/arm/include/asm/arch-mx28/regs-ocotp.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-pinctrl.h [moved from arch/arm/include/asm/arch-mx28/regs-pinctrl.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-power.h [moved from arch/arm/include/asm/arch-mx28/regs-power.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-rtc.h [moved from arch/arm/include/asm/arch-mx28/regs-rtc.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-ssp.h [moved from arch/arm/include/asm/arch-mx28/regs-ssp.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-timrot.h [moved from arch/arm/include/asm/arch-mx28/regs-timrot.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-usb.h [moved from arch/arm/include/asm/arch-mx28/regs-usb.h with 100% similarity]
arch/arm/include/asm/arch-mxs/regs-usbphy.h [moved from arch/arm/include/asm/arch-mx28/regs-usbphy.h with 100% similarity]
arch/arm/include/asm/arch-mxs/sys_proto.h [moved from arch/arm/include/asm/arch-mx28/sys_proto.h with 100% similarity]
boards.cfg
doc/README.m28
doc/README.mx28evk
include/configs/apx4devkit.h
include/configs/m28evk.h
include/configs/mx28evk.h

similarity index 97%
rename from arch/arm/cpu/arm926ejs/mx28/u-boot-spl.lds
rename to arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds
index 0fccd52968dc1dce1af745371af22c1395af447c..f8ea38c03d4758f261e063b710273e6ab66ac9e4 100644 (file)
@@ -37,7 +37,7 @@ SECTIONS
        . = ALIGN(4);
        .text   :
        {
-               arch/arm/cpu/arm926ejs/mx28/start.o     (.text)
+               arch/arm/cpu/arm926ejs/mxs/start.o      (.text)
                *(.text)
        }
 
index 25b49817fd9c665a9fdf27cac2ab2979e1627767..467974bd7ac70994276705696bdef40478747855 100644 (file)
@@ -179,9 +179,9 @@ tx25                         arm         arm926ejs   tx25                karo
 zmx25                        arm         arm926ejs   zmx25               syteco         mx25
 imx27lite                    arm         arm926ejs   imx27lite           logicpd        mx27
 magnesium                    arm         arm926ejs   imx27lite           logicpd        mx27
-apx4devkit                   arm         arm926ejs   -                   bluegiga       mx28
-m28evk                       arm         arm926ejs   -                   denx           mx28
-mx28evk                      arm         arm926ejs   -                   freescale      mx28
+apx4devkit                   arm         arm926ejs   apx4devkit          bluegiga       mxs            apx4devkit
+m28evk                       arm         arm926ejs   m28evk              denx           mxs            m28evk
+mx28evk                      arm         arm926ejs   mx28evk             freescale      mxs            mx28evk
 nhk8815                      arm         arm926ejs   nhk8815             st             nomadik
 nhk8815_onenand              arm         arm926ejs   nhk8815             st             nomadik       nhk8815:BOOT_ONENAND
 omap5912osk                  arm         arm926ejs   -                   ti             omap
index 7dee8cee900c1ea73828504d8140b3b09f6ede82..2a92226feb071ceabea70d65d01ecb4d0398bc12 100644 (file)
@@ -4,8 +4,8 @@ DENX M28EVK
 Files of the M28/M28EVK port
 ----------------------------
 
-arch/arm/cpu/arm926ejs/mx28/   - The CPU support code for the Freescale i.MX28
-arch/arm/include/asm/arch-mx28/        - Header files for the Freescale i.MX28
+arch/arm/cpu/arm926ejs/mxs/    - The CPU support code for the Freescale i.MX28
+arch/arm/include/asm/arch-mxs/ - Header files for the Freescale i.MX28
 board/denx/m28evk/             - M28EVK board specific files
 include/configs/m28evk.h       - M28EVK configuration file
 
index 571dfdab8df09bddeff3db7942bc77cc9dc38fec..2fc50696f5ef3175ea5211565d59f33d1280aedd 100644 (file)
@@ -6,8 +6,8 @@ Supported hardware: only MX28EVK rev D is supported in U-boot.
 Files of the MX28EVK port
 --------------------------
 
-arch/arm/cpu/arm926ejs/mx28/   - The CPU support code for the Freescale i.MX28
-arch/arm/include/asm/arch-mx28/        - Header files for the Freescale i.MX28
+arch/arm/cpu/arm926ejs/mxs/    - The CPU support code for the Freescale i.MX28
+arch/arm/include/asm/arch-mxs/ - Header files for the Freescale i.MX28
 board/freescale/mx28evk/       - MX28EVK board specific files
 include/configs/mx28evk.h      - MX28EVK configuration file
 
index 9e7ead550b02c6660b7018c8d2dc9c89c694ccd2..59b451b0eed6f8699a5031675618aac4fb539058 100644 (file)
@@ -42,8 +42,8 @@
 /* SPL */
 #define CONFIG_SPL
 #define CONFIG_SPL_NO_CPU_SUPPORT_CODE
-#define CONFIG_SPL_START_S_PATH        "arch/arm/cpu/arm926ejs/mx28"
-#define CONFIG_SPL_LDSCRIPT    "arch/arm/cpu/arm926ejs/mx28/u-boot-spl.lds"
+#define CONFIG_SPL_START_S_PATH        "arch/arm/cpu/arm926ejs/mxs"
+#define CONFIG_SPL_LDSCRIPT    "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds"
 #define CONFIG_SPL_LIBCOMMON_SUPPORT
 #define CONFIG_SPL_LIBGENERIC_SUPPORT
 #define CONFIG_SPL_GPIO_SUPPORT
index 3ee538a441fe139ec2e4435dfe09cc0e3db165a6..f5cbbf345c56da83943eabf8ab3e5250312f7b68 100644 (file)
@@ -47,8 +47,8 @@
  */
 #define        CONFIG_SPL
 #define        CONFIG_SPL_NO_CPU_SUPPORT_CODE
-#define        CONFIG_SPL_START_S_PATH         "arch/arm/cpu/arm926ejs/mx28"
-#define        CONFIG_SPL_LDSCRIPT     "arch/arm/cpu/arm926ejs/mx28/u-boot-spl.lds"
+#define        CONFIG_SPL_START_S_PATH         "arch/arm/cpu/arm926ejs/mxs"
+#define        CONFIG_SPL_LDSCRIPT     "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds"
 #define        CONFIG_SPL_LIBCOMMON_SUPPORT
 #define        CONFIG_SPL_LIBGENERIC_SUPPORT
 #define        CONFIG_SPL_GPIO_SUPPORT
index 9e240c1290721a9084f6abb482db145c731c6965..4d06cf654c9700627a22b8cae49f73be152efc65 100644 (file)
@@ -39,8 +39,8 @@
  */
 #define CONFIG_SPL
 #define CONFIG_SPL_NO_CPU_SUPPORT_CODE
-#define CONFIG_SPL_START_S_PATH        "arch/arm/cpu/arm926ejs/mx28"
-#define CONFIG_SPL_LDSCRIPT    "arch/arm/cpu/arm926ejs/mx28/u-boot-spl.lds"
+#define CONFIG_SPL_START_S_PATH        "arch/arm/cpu/arm926ejs/mxs"
+#define CONFIG_SPL_LDSCRIPT    "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds"
 #define CONFIG_SPL_LIBCOMMON_SUPPORT
 #define CONFIG_SPL_LIBGENERIC_SUPPORT
 #define CONFIG_SPL_GPIO_SUPPORT