imx: pcl063: add nand boot support

Booting from NAND needs nandbcb and nand boot device selection

Signed-off-by: Parthiban Nallathambi <pn@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
Parthiban Nallathambi
2019-08-23 18:19:48 +02:00
committed by Stefano Babic
parent d73c520327
commit a919b6ba37
2 changed files with 4 additions and 0 deletions

View File

@@ -197,6 +197,9 @@ void board_boot_order(u32 *spl_boot_list)
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");