Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2010 Freescale Semiconductor, Inc. |
| 3 | * |
| 4 | * See file CREDITS for list of people who contributed to this |
| 5 | * project. |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU General Public License as |
| 9 | * published by the Free Software Foundation; either version 2 of |
| 10 | * the License, or (at your option) any later version. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this program; if not, write to the Free Software |
| 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 20 | * MA 02111-1307 USA |
| 21 | */ |
| 22 | |
| 23 | #include <common.h> |
| 24 | #include <asm/io.h> |
| 25 | #include <asm/arch/imx-regs.h> |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 26 | #include <asm/arch/sys_proto.h> |
| 27 | #include <asm/arch/crm_regs.h> |
Benoît Thébaudeau | a2ac1b3 | 2012-10-01 08:36:25 +0000 | [diff] [blame] | 28 | #include <asm/arch/clock.h> |
Benoît Thébaudeau | 58f0764 | 2013-05-03 10:32:33 +0000 | [diff] [blame] | 29 | #include <asm/arch/iomux-mx53.h> |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 30 | #include <asm/errno.h> |
Troy Kisky | 0aff384 | 2012-08-15 10:31:22 +0000 | [diff] [blame] | 31 | #include <asm/imx-common/boot_mode.h> |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 32 | #include <netdev.h> |
| 33 | #include <i2c.h> |
| 34 | #include <mmc.h> |
| 35 | #include <fsl_esdhc.h> |
Łukasz Majewski | c733681 | 2012-11-13 03:21:55 +0000 | [diff] [blame] | 36 | #include <power/pmic.h> |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 37 | #include <fsl_pmic.h> |
Stefano Babic | f7a3647 | 2011-08-21 10:58:22 +0200 | [diff] [blame] | 38 | #include <asm/gpio.h> |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 39 | #include <mc13892.h> |
| 40 | |
| 41 | DECLARE_GLOBAL_DATA_PTR; |
| 42 | |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 43 | int dram_init(void) |
| 44 | { |
| 45 | /* dram_init must store complete ramsize in gd->ram_size */ |
Albert ARIBAUD | a55d23c | 2011-07-03 05:55:33 +0000 | [diff] [blame] | 46 | gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 47 | PHYS_SDRAM_1_SIZE); |
| 48 | return 0; |
| 49 | } |
| 50 | |
Benoît Thébaudeau | 58f0764 | 2013-05-03 10:32:33 +0000 | [diff] [blame] | 51 | #define UART_PAD_CTRL (PAD_CTL_HYS | PAD_CTL_DSE_HIGH | \ |
| 52 | PAD_CTL_PUS_100K_UP | PAD_CTL_ODE) |
| 53 | |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 54 | static void setup_iomux_uart(void) |
| 55 | { |
Benoît Thébaudeau | 58f0764 | 2013-05-03 10:32:33 +0000 | [diff] [blame] | 56 | static const iomux_v3_cfg_t uart_pads[] = { |
| 57 | NEW_PAD_CTRL(MX53_PAD_CSI0_DAT11__UART1_RXD_MUX, UART_PAD_CTRL), |
| 58 | NEW_PAD_CTRL(MX53_PAD_CSI0_DAT10__UART1_TXD_MUX, UART_PAD_CTRL), |
| 59 | }; |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 60 | |
Benoît Thébaudeau | 58f0764 | 2013-05-03 10:32:33 +0000 | [diff] [blame] | 61 | imx_iomux_v3_setup_multiple_pads(uart_pads, ARRAY_SIZE(uart_pads)); |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 62 | } |
| 63 | |
Benoît Thébaudeau | 58f0764 | 2013-05-03 10:32:33 +0000 | [diff] [blame] | 64 | #define I2C_PAD_CTRL (PAD_CTL_SRE_FAST | PAD_CTL_DSE_HIGH | \ |
| 65 | PAD_CTL_HYS | PAD_CTL_ODE) |
| 66 | |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 67 | static void setup_i2c(unsigned int port_number) |
| 68 | { |
Benoît Thébaudeau | 58f0764 | 2013-05-03 10:32:33 +0000 | [diff] [blame] | 69 | static const iomux_v3_cfg_t i2c1_pads[] = { |
| 70 | NEW_PAD_CTRL(MX53_PAD_CSI0_DAT8__I2C1_SDA, I2C_PAD_CTRL), |
| 71 | NEW_PAD_CTRL(MX53_PAD_CSI0_DAT9__I2C1_SCL, I2C_PAD_CTRL), |
| 72 | }; |
| 73 | |
| 74 | static const iomux_v3_cfg_t i2c2_pads[] = { |
| 75 | NEW_PAD_CTRL(MX53_PAD_KEY_ROW3__I2C2_SDA, I2C_PAD_CTRL), |
| 76 | NEW_PAD_CTRL(MX53_PAD_KEY_COL3__I2C2_SCL, I2C_PAD_CTRL), |
| 77 | }; |
| 78 | |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 79 | switch (port_number) { |
| 80 | case 0: |
Benoît Thébaudeau | 58f0764 | 2013-05-03 10:32:33 +0000 | [diff] [blame] | 81 | imx_iomux_v3_setup_multiple_pads(i2c1_pads, |
| 82 | ARRAY_SIZE(i2c1_pads)); |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 83 | break; |
| 84 | case 1: |
Benoît Thébaudeau | 58f0764 | 2013-05-03 10:32:33 +0000 | [diff] [blame] | 85 | imx_iomux_v3_setup_multiple_pads(i2c2_pads, |
| 86 | ARRAY_SIZE(i2c2_pads)); |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 87 | break; |
| 88 | default: |
| 89 | printf("Warning: Wrong I2C port number\n"); |
| 90 | break; |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | void power_init(void) |
| 95 | { |
| 96 | unsigned int val; |
Stefano Babic | bba1b6c | 2011-10-08 11:00:22 +0200 | [diff] [blame] | 97 | struct pmic *p; |
Łukasz Majewski | c733681 | 2012-11-13 03:21:55 +0000 | [diff] [blame] | 98 | int ret; |
Stefano Babic | bba1b6c | 2011-10-08 11:00:22 +0200 | [diff] [blame] | 99 | |
Łukasz Majewski | c733681 | 2012-11-13 03:21:55 +0000 | [diff] [blame] | 100 | ret = pmic_init(I2C_PMIC); |
| 101 | if (ret) |
| 102 | return; |
| 103 | |
| 104 | p = pmic_get("FSL_PMIC"); |
| 105 | if (!p) |
| 106 | return; |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 107 | |
| 108 | /* Set VDDA to 1.25V */ |
Stefano Babic | bba1b6c | 2011-10-08 11:00:22 +0200 | [diff] [blame] | 109 | pmic_reg_read(p, REG_SW_2, &val); |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 110 | val &= ~SWX_OUT_MASK; |
| 111 | val |= SWX_OUT_1_25; |
Stefano Babic | bba1b6c | 2011-10-08 11:00:22 +0200 | [diff] [blame] | 112 | pmic_reg_write(p, REG_SW_2, val); |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 113 | |
| 114 | /* |
| 115 | * Need increase VCC and VDDA to 1.3V |
| 116 | * according to MX53 IC TO2 datasheet. |
| 117 | */ |
| 118 | if (is_soc_rev(CHIP_REV_2_0) == 0) { |
| 119 | /* Set VCC to 1.3V for TO2 */ |
Stefano Babic | bba1b6c | 2011-10-08 11:00:22 +0200 | [diff] [blame] | 120 | pmic_reg_read(p, REG_SW_1, &val); |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 121 | val &= ~SWX_OUT_MASK; |
| 122 | val |= SWX_OUT_1_30; |
Stefano Babic | bba1b6c | 2011-10-08 11:00:22 +0200 | [diff] [blame] | 123 | pmic_reg_write(p, REG_SW_1, val); |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 124 | |
| 125 | /* Set VDDA to 1.3V for TO2 */ |
Stefano Babic | bba1b6c | 2011-10-08 11:00:22 +0200 | [diff] [blame] | 126 | pmic_reg_read(p, REG_SW_2, &val); |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 127 | val &= ~SWX_OUT_MASK; |
| 128 | val |= SWX_OUT_1_30; |
Stefano Babic | bba1b6c | 2011-10-08 11:00:22 +0200 | [diff] [blame] | 129 | pmic_reg_write(p, REG_SW_2, val); |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 130 | } |
| 131 | } |
| 132 | |
| 133 | static void setup_iomux_fec(void) |
| 134 | { |
Benoît Thébaudeau | 58f0764 | 2013-05-03 10:32:33 +0000 | [diff] [blame] | 135 | static const iomux_v3_cfg_t fec_pads[] = { |
| 136 | NEW_PAD_CTRL(MX53_PAD_FEC_MDIO__FEC_MDIO, PAD_CTL_HYS | |
| 137 | PAD_CTL_DSE_HIGH | PAD_CTL_PUS_22K_UP | PAD_CTL_ODE), |
| 138 | NEW_PAD_CTRL(MX53_PAD_FEC_MDC__FEC_MDC, PAD_CTL_DSE_HIGH), |
| 139 | NEW_PAD_CTRL(MX53_PAD_FEC_RXD1__FEC_RDATA_1, |
| 140 | PAD_CTL_HYS | PAD_CTL_PKE), |
| 141 | NEW_PAD_CTRL(MX53_PAD_FEC_RXD0__FEC_RDATA_0, |
| 142 | PAD_CTL_HYS | PAD_CTL_PKE), |
| 143 | NEW_PAD_CTRL(MX53_PAD_FEC_TXD1__FEC_TDATA_1, PAD_CTL_DSE_HIGH), |
| 144 | NEW_PAD_CTRL(MX53_PAD_FEC_TXD0__FEC_TDATA_0, PAD_CTL_DSE_HIGH), |
| 145 | NEW_PAD_CTRL(MX53_PAD_FEC_TX_EN__FEC_TX_EN, PAD_CTL_DSE_HIGH), |
| 146 | NEW_PAD_CTRL(MX53_PAD_FEC_REF_CLK__FEC_TX_CLK, |
| 147 | PAD_CTL_HYS | PAD_CTL_PKE), |
| 148 | NEW_PAD_CTRL(MX53_PAD_FEC_RX_ER__FEC_RX_ER, |
| 149 | PAD_CTL_HYS | PAD_CTL_PKE), |
| 150 | NEW_PAD_CTRL(MX53_PAD_FEC_CRS_DV__FEC_RX_DV, |
| 151 | PAD_CTL_HYS | PAD_CTL_PKE), |
| 152 | }; |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 153 | |
Benoît Thébaudeau | 58f0764 | 2013-05-03 10:32:33 +0000 | [diff] [blame] | 154 | imx_iomux_v3_setup_multiple_pads(fec_pads, ARRAY_SIZE(fec_pads)); |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 155 | } |
| 156 | |
| 157 | #ifdef CONFIG_FSL_ESDHC |
| 158 | struct fsl_esdhc_cfg esdhc_cfg[2] = { |
Benoît Thébaudeau | 16e43f3 | 2012-08-13 07:28:16 +0000 | [diff] [blame] | 159 | {MMC_SDHC1_BASE_ADDR}, |
| 160 | {MMC_SDHC3_BASE_ADDR}, |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 161 | }; |
| 162 | |
Thierry Reding | 314284b | 2012-01-02 01:15:36 +0000 | [diff] [blame] | 163 | int board_mmc_getcd(struct mmc *mmc) |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 164 | { |
| 165 | struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv; |
Thierry Reding | 314284b | 2012-01-02 01:15:36 +0000 | [diff] [blame] | 166 | int ret; |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 167 | |
Benoît Thébaudeau | 58f0764 | 2013-05-03 10:32:33 +0000 | [diff] [blame] | 168 | imx_iomux_v3_setup_pad(MX53_PAD_EIM_DA11__GPIO3_11); |
Ashok Kumar Reddy | 9255070 | 2012-08-28 07:39:38 +0530 | [diff] [blame] | 169 | gpio_direction_input(IMX_GPIO_NR(3, 11)); |
Benoît Thébaudeau | 58f0764 | 2013-05-03 10:32:33 +0000 | [diff] [blame] | 170 | imx_iomux_v3_setup_pad(MX53_PAD_EIM_DA13__GPIO3_13); |
Ashok Kumar Reddy | 9255070 | 2012-08-28 07:39:38 +0530 | [diff] [blame] | 171 | gpio_direction_input(IMX_GPIO_NR(3, 13)); |
Fabio Estevam | a146dca | 2011-11-15 05:51:31 +0000 | [diff] [blame] | 172 | |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 173 | if (cfg->esdhc_base == MMC_SDHC1_BASE_ADDR) |
Ashok Kumar Reddy | 9255070 | 2012-08-28 07:39:38 +0530 | [diff] [blame] | 174 | ret = !gpio_get_value(IMX_GPIO_NR(3, 13)); |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 175 | else |
Ashok Kumar Reddy | 9255070 | 2012-08-28 07:39:38 +0530 | [diff] [blame] | 176 | ret = !gpio_get_value(IMX_GPIO_NR(3, 11)); |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 177 | |
Thierry Reding | 314284b | 2012-01-02 01:15:36 +0000 | [diff] [blame] | 178 | return ret; |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 179 | } |
| 180 | |
Benoît Thébaudeau | 58f0764 | 2013-05-03 10:32:33 +0000 | [diff] [blame] | 181 | #define SD_CMD_PAD_CTRL (PAD_CTL_HYS | PAD_CTL_DSE_HIGH | \ |
| 182 | PAD_CTL_PUS_100K_UP) |
| 183 | #define SD_PAD_CTRL (PAD_CTL_HYS | PAD_CTL_PUS_47K_UP | \ |
| 184 | PAD_CTL_DSE_HIGH) |
| 185 | |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 186 | int board_mmc_init(bd_t *bis) |
| 187 | { |
Benoît Thébaudeau | 58f0764 | 2013-05-03 10:32:33 +0000 | [diff] [blame] | 188 | static const iomux_v3_cfg_t sd1_pads[] = { |
| 189 | NEW_PAD_CTRL(MX53_PAD_SD1_CMD__ESDHC1_CMD, SD_CMD_PAD_CTRL), |
| 190 | NEW_PAD_CTRL(MX53_PAD_SD1_CLK__ESDHC1_CLK, SD_PAD_CTRL), |
| 191 | NEW_PAD_CTRL(MX53_PAD_SD1_DATA0__ESDHC1_DAT0, SD_PAD_CTRL), |
| 192 | NEW_PAD_CTRL(MX53_PAD_SD1_DATA1__ESDHC1_DAT1, SD_PAD_CTRL), |
| 193 | NEW_PAD_CTRL(MX53_PAD_SD1_DATA2__ESDHC1_DAT2, SD_PAD_CTRL), |
| 194 | NEW_PAD_CTRL(MX53_PAD_SD1_DATA3__ESDHC1_DAT3, SD_PAD_CTRL), |
| 195 | MX53_PAD_EIM_DA13__GPIO3_13, |
| 196 | }; |
| 197 | |
| 198 | static const iomux_v3_cfg_t sd2_pads[] = { |
| 199 | NEW_PAD_CTRL(MX53_PAD_PATA_RESET_B__ESDHC3_CMD, |
| 200 | SD_CMD_PAD_CTRL), |
| 201 | NEW_PAD_CTRL(MX53_PAD_PATA_IORDY__ESDHC3_CLK, SD_PAD_CTRL), |
| 202 | NEW_PAD_CTRL(MX53_PAD_PATA_DATA8__ESDHC3_DAT0, SD_PAD_CTRL), |
| 203 | NEW_PAD_CTRL(MX53_PAD_PATA_DATA9__ESDHC3_DAT1, SD_PAD_CTRL), |
| 204 | NEW_PAD_CTRL(MX53_PAD_PATA_DATA10__ESDHC3_DAT2, SD_PAD_CTRL), |
| 205 | NEW_PAD_CTRL(MX53_PAD_PATA_DATA11__ESDHC3_DAT3, SD_PAD_CTRL), |
| 206 | NEW_PAD_CTRL(MX53_PAD_PATA_DATA0__ESDHC3_DAT4, SD_PAD_CTRL), |
| 207 | NEW_PAD_CTRL(MX53_PAD_PATA_DATA1__ESDHC3_DAT5, SD_PAD_CTRL), |
| 208 | NEW_PAD_CTRL(MX53_PAD_PATA_DATA2__ESDHC3_DAT6, SD_PAD_CTRL), |
| 209 | NEW_PAD_CTRL(MX53_PAD_PATA_DATA3__ESDHC3_DAT7, SD_PAD_CTRL), |
| 210 | MX53_PAD_EIM_DA11__GPIO3_11, |
| 211 | }; |
| 212 | |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 213 | u32 index; |
| 214 | s32 status = 0; |
| 215 | |
Benoît Thébaudeau | a2ac1b3 | 2012-10-01 08:36:25 +0000 | [diff] [blame] | 216 | esdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC_CLK); |
| 217 | esdhc_cfg[1].sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK); |
| 218 | |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 219 | for (index = 0; index < CONFIG_SYS_FSL_ESDHC_NUM; index++) { |
| 220 | switch (index) { |
| 221 | case 0: |
Benoît Thébaudeau | 58f0764 | 2013-05-03 10:32:33 +0000 | [diff] [blame] | 222 | imx_iomux_v3_setup_multiple_pads(sd1_pads, |
| 223 | ARRAY_SIZE(sd1_pads)); |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 224 | break; |
| 225 | case 1: |
Benoît Thébaudeau | 58f0764 | 2013-05-03 10:32:33 +0000 | [diff] [blame] | 226 | imx_iomux_v3_setup_multiple_pads(sd2_pads, |
| 227 | ARRAY_SIZE(sd2_pads)); |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 228 | break; |
| 229 | default: |
| 230 | printf("Warning: you configured more ESDHC controller" |
| 231 | "(%d) as supported by the board(2)\n", |
| 232 | CONFIG_SYS_FSL_ESDHC_NUM); |
| 233 | return status; |
| 234 | } |
| 235 | status |= fsl_esdhc_initialize(bis, &esdhc_cfg[index]); |
| 236 | } |
| 237 | |
| 238 | return status; |
| 239 | } |
| 240 | #endif |
| 241 | |
| 242 | int board_early_init_f(void) |
| 243 | { |
| 244 | setup_iomux_uart(); |
| 245 | setup_iomux_fec(); |
| 246 | |
| 247 | return 0; |
| 248 | } |
| 249 | |
| 250 | int board_init(void) |
| 251 | { |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 252 | /* address of boot parameters */ |
| 253 | gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; |
| 254 | |
| 255 | return 0; |
| 256 | } |
| 257 | |
Troy Kisky | 0aff384 | 2012-08-15 10:31:22 +0000 | [diff] [blame] | 258 | #ifdef CONFIG_CMD_BMODE |
| 259 | static const struct boot_mode board_boot_modes[] = { |
| 260 | /* 4 bit bus width */ |
| 261 | {"mmc0", MAKE_CFGVAL(0x40, 0x20, 0x00, 0x12)}, |
| 262 | {"mmc1", MAKE_CFGVAL(0x40, 0x20, 0x08, 0x12)}, |
| 263 | {NULL, 0}, |
| 264 | }; |
| 265 | #endif |
| 266 | |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 267 | int board_late_init(void) |
| 268 | { |
| 269 | setup_i2c(1); |
| 270 | power_init(); |
| 271 | |
Troy Kisky | 0aff384 | 2012-08-15 10:31:22 +0000 | [diff] [blame] | 272 | #ifdef CONFIG_CMD_BMODE |
| 273 | add_board_boot_modes(board_boot_modes); |
| 274 | #endif |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 275 | return 0; |
| 276 | } |
| 277 | |
| 278 | int checkboard(void) |
| 279 | { |
Jason Liu | 5195890 | 2011-04-22 02:55:42 +0000 | [diff] [blame] | 280 | puts("Board: MX53EVK\n"); |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 281 | |
Liu Hui-R64343 | 94391fb | 2011-01-03 22:27:42 +0000 | [diff] [blame] | 282 | return 0; |
| 283 | } |