diff options
author | Terry Lv <r65388@freescale.com> | 2010-05-12 22:49:24 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2010-06-24 16:54:31 +0800 |
commit | 90bfe6af18c84a7e3ba424cba0c2602d883bd286 (patch) | |
tree | 815e35b0cefc847806cef9a8df09bdad1c3955ad /board | |
parent | 6fa1a0ea0c589b327e8106d13ffff115d2553284 (diff) | |
download | u-boot-imx-90bfe6af18c84a7e3ba424cba0c2602d883bd286.zip u-boot-imx-90bfe6af18c84a7e3ba424cba0c2602d883bd286.tar.gz u-boot-imx-90bfe6af18c84a7e3ba424cba0c2602d883bd286.tar.bz2 |
ENGR00122651: Add dwc_ahsata support
Add dwc_ahsata support.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mx53_evk/mx53_evk.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/board/freescale/mx53_evk/mx53_evk.c b/board/freescale/mx53_evk/mx53_evk.c index 24fc9c5..f9731bf 100644 --- a/board/freescale/mx53_evk/mx53_evk.c +++ b/board/freescale/mx53_evk/mx53_evk.c @@ -52,7 +52,6 @@ DECLARE_GLOBAL_DATA_PTR; static u32 system_rev; static enum boot_device boot_dev; -u32 mx51_io_base_addr; static inline void setup_boot_device(void) { @@ -287,6 +286,7 @@ void setup_core_voltages(void) writel(0x0, CCM_BASE_ADDR + CLKCTL_CACRR); } +#ifndef CONFIG_MX53_ARM2 static int __read_adc_channel(unsigned int chan) { unsigned char buf[4] = { 0 }; @@ -475,6 +475,7 @@ int identify_board_id(void) } #endif +#endif void spi_io_init(struct imx_spi_dev_t *dev) { @@ -714,10 +715,16 @@ int checkboard(void) { printf("Board: "); +#ifdef CONFIG_MX53_ARM2 + printf("Board: MX53 ARMADILLO2 "); + printf("1.0 ["); +#else #ifdef CONFIG_I2C_MXC identify_board_id(); -#endif + printf("Boot Reason: ["); +#endif +#endif switch (__REG(SRC_BASE_ADDR + 0x8)) { case 0x0001: |