diff options
author | Parthiban Nallathambi <pn@denx.de> | 2019-08-23 18:19:48 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-10-08 16:36:37 +0200 |
commit | a919b6ba371b5dbc47e761ab965d638b0d624641 (patch) | |
tree | c45c1f440efc55557e364127481a17a2a4b0917a /board/phytec | |
parent | d73c520327b2ae337efc0d557fd45a1b7010da17 (diff) | |
download | u-boot-a919b6ba371b5dbc47e761ab965d638b0d624641.zip u-boot-a919b6ba371b5dbc47e761ab965d638b0d624641.tar.gz u-boot-a919b6ba371b5dbc47e761ab965d638b0d624641.tar.bz2 |
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>
Diffstat (limited to 'board/phytec')
-rw-r--r-- | board/phytec/pcl063/spl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/phytec/pcl063/spl.c b/board/phytec/pcl063/spl.c index 6d4c827..358156b 100644 --- a/board/phytec/pcl063/spl.c +++ b/board/phytec/pcl063/spl.c @@ -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"); |