summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-03-17 21:30:56 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 17:24:36 +0800
commitdd9e569e74ec9f32711fc32d678aeeb597afabb3 (patch)
treef99a5636d6600ffedb6b419228f631e241e5b450 /board/freescale
parent76a14d23c1b33321a9aabf512f5979adeeb30ff4 (diff)
downloadu-boot-imx-dd9e569e74ec9f32711fc32d678aeeb597afabb3.zip
u-boot-imx-dd9e569e74ec9f32711fc32d678aeeb597afabb3.tar.gz
u-boot-imx-dd9e569e74ec9f32711fc32d678aeeb597afabb3.tar.bz2
MLK-14484-3 mx7ulp_arm2: Convert to use OF_CONTROL
Add the 10x10 ARM2 and 14x14 ARM2 DTS files. Also convert the board codes to use OF_CONTROL and DM drivers. Since the DTS files only have UART and SD1 supported. So we only enable the DM for these two modules. QSPI and USB are still kept in non-DM fashion. Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mx7ulp_arm2/mx7ulp_arm2.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/board/freescale/mx7ulp_arm2/mx7ulp_arm2.c b/board/freescale/mx7ulp_arm2/mx7ulp_arm2.c
index 84a5f11..ba945e5 100644
--- a/board/freescale/mx7ulp_arm2/mx7ulp_arm2.c
+++ b/board/freescale/mx7ulp_arm2/mx7ulp_arm2.c
@@ -40,18 +40,6 @@ int dram_init(void)
return 0;
}
-static int mx7ulp_board_rev(void)
-{
- return 0x41;
-}
-
-u32 get_board_rev(void)
-{
- int rev = mx7ulp_board_rev();
-
- return (get_cpu_rev() & ~(0xF << 8)) | rev;
-}
-
static iomux_cfg_t const lpuart4_pads[] = {
MX7ULP_PAD_PTC3__LPUART4_RX | MUX_PAD_CTRL(UART_PAD_CTRL),
MX7ULP_PAD_PTC2__LPUART4_TX | MUX_PAD_CTRL(UART_PAD_CTRL),
@@ -214,7 +202,7 @@ int board_init(void)
return 0;
}
-#ifdef CONFIG_FSL_ESDHC
+#ifndef CONFIG_DM_MMC
static struct fsl_esdhc_cfg usdhc_cfg[2] = {
{USDHC0_RBASE, 0, 8},
{USDHC1_RBASE, 0},