]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
IMX: MX31: Cleanup include files and drop nasty #ifdef in drivers
authorStefano Babic <sbabic@denx.de>
Mon, 14 Mar 2011 14:43:56 +0000 (15:43 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 27 Apr 2011 17:38:05 +0000 (19:38 +0200)
commit862711154339be2af723adcbde217743de781e81
treec777613bd01078e4463b421929467a92b6daf73c
parentdcd441c32560a823019c720fb034ff425efbc376
IMX: MX31: Cleanup include files and drop nasty #ifdef in drivers

As exception among the i.MX processors, the i.MX31 has headers
without general names (mx31-regs.h, mx31.h instead of imx-regs.h and
clock.h). This requires several nasty #ifdef in the drivers to
include the correct header. The patch cleans up the driver and
renames the header files as for the other i.MX processors.

Signed-off-by: Stefano Babic <sbabic@denx.de>
27 files changed:
arch/arm/cpu/arm1136/mx31/devices.c
arch/arm/cpu/arm1136/mx31/generic.c
arch/arm/cpu/arm1136/mx31/timer.c
arch/arm/include/asm/arch-mx31/clock.h [moved from arch/arm/include/asm/arch-mx31/mx31.h with 92% similarity]
arch/arm/include/asm/arch-mx31/imx-regs.h [moved from arch/arm/include/asm/arch-mx31/mx31-regs.h with 100% similarity]
board/davedenx/qong/fpga.c
board/davedenx/qong/lowlevel_init.S
board/davedenx/qong/qong.c
board/freescale/mx31ads/lowlevel_init.S
board/freescale/mx31ads/mx31ads.c
board/freescale/mx31pdk/lowlevel_init.S
board/freescale/mx31pdk/mx31pdk.c
board/imx31_phycore/imx31_phycore.c
board/imx31_phycore/lowlevel_init.S
board/logicpd/imx31_litekit/imx31_litekit.c
board/logicpd/imx31_litekit/lowlevel_init.S
drivers/gpio/mxc_gpio.c
drivers/i2c/mxc_i2c.c
drivers/serial/serial_mxc.c
drivers/spi/mxc_spi.c
drivers/usb/host/ehci-mxc.c
drivers/video/mx3fb.c
include/configs/imx31_litekit.h
include/configs/mx31ads.h
include/configs/mx31pdk.h
include/configs/qong.h
nand_spl/nand_boot_fsl_nfc.c