diff options
author | Parthiban Nallathambi | 2019-08-23 18:35:08 +0200 |
---|---|---|
committer | Stefano Babic | 2019-10-08 16:36:37 +0200 |
commit | 84d5e72ffbbb75826b1592a3474ce9b7b44d14cd (patch) | |
tree | 0e14b5532ae1c905b91f9456976712fa82faf7ec | |
parent | a919b6ba371b5dbc47e761ab965d638b0d624641 (diff) |
imx: remove board specific boot order from spl
boot order was added to handle both SD and eMMC. But commit
14d319b1 introduced to handle both eMMC and SD globally.
Signed-off-by: Parthiban Nallathambi <pn@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
-rw-r--r-- | board/phytec/pcl063/spl.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/board/phytec/pcl063/spl.c b/board/phytec/pcl063/spl.c index 358156bfbcd..b5e080c0723 100644 --- a/board/phytec/pcl063/spl.c +++ b/board/phytec/pcl063/spl.c @@ -183,31 +183,6 @@ int board_mmc_init(bd_t *bis) return 0; } -void board_boot_order(u32 *spl_boot_list) -{ - u32 bmode = imx6_src_get_boot_mode(); - u8 boot_dev = BOOT_DEVICE_MMC1; - - switch ((bmode & IMX6_BMODE_MASK) >> IMX6_BMODE_SHIFT) { - case IMX6_BMODE_SD: - case IMX6_BMODE_ESD: - boot_dev = BOOT_DEVICE_MMC1; - break; - case IMX6_BMODE_MMC: - case IMX6_BMODE_EMMC: - boot_dev = BOOT_DEVICE_MMC2; - break; - case IMX6_BMODE_NAND_MIN ... IMX6_BMODE_NAND_MAX: - boot_dev = BOOT_DEVICE_NAND; - break; - default: - /* Default - BOOT_DEVICE_MMC1 */ - printf("Wrong board boot order\n"); - break; - } - - spl_boot_list[0] = boot_dev; -} #endif /* CONFIG_FSL_ESDHC_IMX */ void board_init_f(ulong dummy) |