diff options
author | Stefano Babic <sbabic@denx.de> | 2011-11-22 15:22:39 +0100 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-12-06 23:59:40 +0100 |
commit | 40f6fffee5917930597bfcc07de1cd879d4994f6 (patch) | |
tree | 8fa1dd2379bec957002eb54d00af770ed1be3e60 /include/configs/mx31ads.h | |
parent | 5a42cd33d5600e90245fe4fa979d888753b081de (diff) | |
download | u-boot-40f6fffee5917930597bfcc07de1cd879d4994f6.tar.gz |
MX: serial_mxc: cleanup removing nasty #ifdef
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 <sbabic@denx.de>
CC: Marek Vasut <marek.vasut@gmail.com>
CC: Wolfgang Denk <wd@denx.de>
CC: Fabio Estevam <fabio.estevam@freescale.com>
CC: Helmut Raiger <helmut.raiger@hale.at>
CC: John Rigby <jcrigby@gmail.com>
CC: Matthias Weisser <weisserm@arcor.de>
CC: Jason Liu <jason.hui@linaro.org>
Acked-by: Jason Liu <jason.hui@linaro.org>
Diffstat (limited to 'include/configs/mx31ads.h')
-rw-r--r-- | include/configs/mx31ads.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/mx31ads.h b/include/configs/mx31ads.h index 7e011aea9d..87638a4fa5 100644 --- a/include/configs/mx31ads.h +++ b/include/configs/mx31ads.h @@ -60,8 +60,8 @@ * Hardware drivers */ -#define CONFIG_MXC_UART 1 -#define CONFIG_SYS_MX31_UART1 1 +#define CONFIG_MXC_UART +#define CONFIG_MXC_UART_BASE UART1_BASE #define CONFIG_HARD_SPI 1 #define CONFIG_MXC_SPI 1 |