[U-Boot] [PATCH v1 0/6] Rework for mxs SoC family support

Otavio Salvador
2012-08-05T19:05:28Z

This patchset is the basis for inclusion of i.MX233 support on U-Boot.
To accomplish it, this patchset moves code around to create the mxs
SoC family support.

Changes in v1:
- new patch
- rebase against imx/master
- rework due apx4devkit board addition

Otavio Salvador (6):
mxs: reorganize source directory for easy sharing of code in i.MXS
SoCs
mxs: prefix register acessor macros with 'mxs' prefix
mxs: prefix register structs with 'mxs' prefix
mxs: Reowork SPL to use 'mxs' prefix for methods
mxs: Clarify why we poweroff in case of brownout in 5v conflict
mxs: rename mx28.c to mxs.c as it is common to i.MX233 and i.MX28
SoCs

arch/arm/cpu/arm926ejs/{mx28 => mxs}/Makefile | 2 +-
arch/arm/cpu/arm926ejs/{mx28 => mxs}/clock.c | 40 +--
arch/arm/cpu/arm926ejs/{mx28 => mxs}/iomux.c | 6 +-
arch/arm/cpu/arm926ejs/{mx28/mx28.c => mxs/mxs.c} | 42 ++--
.../arm926ejs/{mx28/mx28_init.h => mxs/mxs_init.h} | 14 +-
arch/arm/cpu/arm926ejs/{mx28 => mxs}/spl_boot.c | 20 +-
.../cpu/arm926ejs/{mx28 => mxs}/spl_lradc_init.c | 10 +-
.../arm/cpu/arm926ejs/{mx28 => mxs}/spl_mem_init.c | 54 ++--
.../cpu/arm926ejs/{mx28 => mxs}/spl_power_init.c | 262 ++++++++++----------
arch/arm/cpu/arm926ejs/{mx28 => mxs}/start.S | 0
arch/arm/cpu/arm926ejs/{mx28 => mxs}/timer.c | 8 +-
.../arm/cpu/arm926ejs/{mx28 => mxs}/u-boot-spl.lds | 2 +-
.../include/asm/{arch-mx28 => arch-mxs}/clock.h | 0
arch/arm/include/asm/{arch-mx28 => arch-mxs}/dma.h | 0
.../arm/include/asm/{arch-mx28 => arch-mxs}/gpio.h | 0
.../include/asm/{arch-mx28 => arch-mxs}/imx-regs.h | 0
.../asm/{arch-mx28 => arch-mxs}/iomux-mx28.h | 0
.../include/asm/{arch-mx28 => arch-mxs}/iomux.h | 0
.../asm/{arch-mx28 => arch-mxs}/regs-apbh.h | 256 +++++++++----------
.../asm/{arch-mx28 => arch-mxs}/regs-base.h | 0
.../include/asm/{arch-mx28 => arch-mxs}/regs-bch.h | 44 ++--
.../asm/{arch-mx28 => arch-mxs}/regs-clkctrl.h | 60 ++---
.../asm/{arch-mx28 => arch-mxs}/regs-common.h | 34 +--
.../asm/{arch-mx28 => arch-mxs}/regs-digctl.h | 52 ++--
.../asm/{arch-mx28 => arch-mxs}/regs-gpmi.h | 28 +--
.../include/asm/{arch-mx28 => arch-mxs}/regs-i2c.h | 30 +--
.../asm/{arch-mx28 => arch-mxs}/regs-lcdif.h | 66 ++---
.../asm/{arch-mx28 => arch-mxs}/regs-lradc.h | 50 ++--
.../asm/{arch-mx28 => arch-mxs}/regs-ocotp.h | 88 +++----
.../asm/{arch-mx28 => arch-mxs}/regs-pinctrl.h | 170 ++++++-------
.../asm/{arch-mx28 => arch-mxs}/regs-power.h | 30 +--
.../include/asm/{arch-mx28 => arch-mxs}/regs-rtc.h | 30 +--
.../include/asm/{arch-mx28 => arch-mxs}/regs-ssp.h | 42 ++--
.../asm/{arch-mx28 => arch-mxs}/regs-timrot.h | 40 +--
.../include/asm/{arch-mx28 => arch-mxs}/regs-usb.h | 2 +-
.../asm/{arch-mx28 => arch-mxs}/regs-usbphy.h | 22 +-
.../asm/{arch-mx28 => arch-mxs}/sys_proto.h | 10 +-
board/bluegiga/apx4devkit/apx4devkit.c | 4 +-
board/bluegiga/apx4devkit/spl_boot.c | 4 +-
board/denx/m28evk/m28evk.c | 4 +-
board/denx/m28evk/spl_boot.c | 2 +-
board/freescale/mx28evk/iomux.c | 2 +-
board/freescale/mx28evk/mx28evk.c | 4 +-
boards.cfg | 6 +-
doc/README.m28 | 4 +-
doc/README.mx28evk | 4 +-
drivers/dma/apbh_dma.c | 32 +--
drivers/gpio/mxs_gpio.c | 16 +-
drivers/i2c/mxs_i2c.c | 12 +-
drivers/mmc/mxsmmc.c | 20 +-
drivers/mtd/nand/mxs_nand.c | 12 +-
drivers/rtc/mxsrtc.c | 6 +-
drivers/spi/mxs_spi.c | 19 +-
drivers/usb/host/ehci-mxs.c | 24 +-
include/configs/apx4devkit.h | 4 +-
include/configs/m28evk.h | 4 +-
include/configs/mx28evk.h | 4 +-
57 files changed, 852 insertions(+), 849 deletions(-)
rename arch/arm/cpu/arm926ejs/{mx28 => mxs}/Makefile (97%)
rename arch/arm/cpu/arm926ejs/{mx28 => mxs}/clock.c (89%)
rename arch/arm/cpu/arm926ejs/{mx28 => mxs}/iomux.c (94%)
rename arch/arm/cpu/arm926ejs/{mx28/mx28.c => mxs/mxs.c} (86%)
rename arch/arm/cpu/arm926ejs/{mx28/mx28_init.h => mxs/mxs_init.h} (81%)
rename arch/arm/cpu/arm926ejs/{mx28 => mxs}/spl_boot.c (90%)
rename arch/arm/cpu/arm926ejs/{mx28 => mxs}/spl_lradc_init.c (91%)
rename arch/arm/cpu/arm926ejs/{mx28 => mxs}/spl_mem_init.c (86%)
rename arch/arm/cpu/arm926ejs/{mx28 => mxs}/spl_power_init.c (82%)
rename arch/arm/cpu/arm926ejs/{mx28 => mxs}/start.S (100%)
rename arch/arm/cpu/arm926ejs/{mx28 => mxs}/timer.c (95%)
rename arch/arm/cpu/arm926ejs/{mx28 => mxs}/u-boot-spl.lds (97%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/clock.h (100%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/dma.h (100%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/gpio.h (100%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/imx-regs.h (100%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/iomux-mx28.h (100%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/iomux.h (100%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-apbh.h (77%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-base.h (100%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-bch.h (92%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-clkctrl.h (88%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-common.h (78%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-digctl.h (79%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-gpmi.h (95%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-i2c.h (94%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-lcdif.h (84%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-lradc.h (96%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-ocotp.h (71%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-pinctrl.h (93%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-power.h (97%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-rtc.h (91%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-ssp.h (95%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-timrot.h (90%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-usb.h (99%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/regs-usbphy.h (94%)
rename arch/arm/include/asm/{arch-mx28 => arch-mxs}/sys_proto.h (89%)

--
1.7.10.4