diff options
author | Adam Ford <aford173@gmail.com> | 2023-02-01 19:58:41 -0600 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2023-07-11 14:40:02 +0200 |
commit | cacf0f8a193c0e8bbd7db6a5c7d4c463f0600710 (patch) | |
tree | c59ab8d6c96954082fd773e790547432f5e21e0d /board | |
parent | 5054560e0c6ee2c3594798cda852aad518070394 (diff) | |
download | u-boot-cacf0f8a193c0e8bbd7db6a5c7d4c463f0600710.zip u-boot-cacf0f8a193c0e8bbd7db6a5c7d4c463f0600710.tar.gz u-boot-cacf0f8a193c0e8bbd7db6a5c7d4c463f0600710.tar.bz2 |
configs: imx: imx8mm_beacon: Add config option for QSPI booting
The imx8mm_beacon SOM has a QSPI part attached to the FSPI controller.
Update the header and spl files to support booting from NOR flash and
add imx8mm_beacon_fspi_defconfig to support this configuration.
Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/beacon/imx8mm/spl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/beacon/imx8mm/spl.c b/board/beacon/imx8mm/spl.c index a5f337a..b2830c5 100644 --- a/board/beacon/imx8mm/spl.c +++ b/board/beacon/imx8mm/spl.c @@ -36,6 +36,8 @@ int spl_board_boot_device(enum boot_device boot_dev_spl) return BOOT_DEVICE_MMC2; case USB_BOOT: return BOOT_DEVICE_BOARD; + case QSPI_BOOT: + return BOOT_DEVICE_NOR; default: return BOOT_DEVICE_NONE; } @@ -46,6 +48,11 @@ static void spl_dram_init(void) ddr_init(&dram_timing); } +void spl_board_init(void) +{ + arch_misc_init(); +} + #ifdef CONFIG_SPL_LOAD_FIT int board_fit_config_name_match(const char *name) { |