On Tue, Nov 22, 2011 at 11:51 PM, Stefano Babic <[email protected]> wrote: > The serial driver for iMX SOCs is continuosly changed if a > new SOC or not yet used port is used. CONFIG_SYS_<SOC>_<UART Port> > defines were used only to find the base address for the selected UART. > Instead of that, move the base address to the board configuration > file and drop all #ifdef from driver. > > Signed-off-by: Stefano Babic <[email protected]> > CC: Marek Vasut <[email protected]> > CC: Wolfgang Denk <[email protected]> > CC: Fabio Estevam <[email protected]> > CC: Helmut Raiger <[email protected]> > CC: John Rigby <[email protected]> > CC: Matthias Weisser <[email protected]> > CC: Jason Liu <[email protected]> > --- > arch/arm/cpu/arm1136/mx31/devices.c | 4 --- > arch/arm/include/asm/arch-mx25/imx-regs.h | 10 ++++---- > arch/arm/include/asm/arch-mx27/imx-regs.h | 8 +++--- > arch/arm/include/asm/arch-mx31/imx-regs.h | 6 ++++ > arch/arm/include/asm/arch-mx35/imx-regs.h | 6 ++-- > arch/arm/include/asm/arch-mx5/imx-regs.h | 6 ++-- > drivers/serial/serial_mxc.c | 37 +++------------------------- > include/configs/efikamx.h | 2 +- > include/configs/flea3.h | 2 +- > include/configs/imx27lite-common.h | 2 +- > include/configs/imx31_litekit.h | 4 +- > include/configs/imx31_phycore.h | 2 +- > include/configs/mx25pdk.h | 2 +- > include/configs/mx31ads.h | 4 +- > include/configs/mx31pdk.h | 2 +- > include/configs/mx35pdk.h | 2 +- > include/configs/mx51evk.h | 2 +- > include/configs/mx53ard.h | 2 +- > include/configs/mx53evk.h | 2 +- > include/configs/mx53loco.h | 2 +- > include/configs/mx53smd.h | 2 +- > include/configs/qong.h | 4 +- > include/configs/tt01.h | 2 +- > include/configs/tx25.h | 2 +- > include/configs/vision2.h | 2 +- > include/configs/zmx25.h | 2 +- > 26 files changed, 47 insertions(+), 74 deletions(-)
Acked-by: Jason Liu <[email protected]> [..] _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

