summaryrefslogtreecommitdiff
path: root/board/beacon
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2023-02-02 04:58:41 +0300
committerStefano Babic <sbabic@denx.de>2023-07-11 15:40:02 +0300
commitcacf0f8a193c0e8bbd7db6a5c7d4c463f0600710 (patch)
treec59ab8d6c96954082fd773e790547432f5e21e0d /board/beacon
parent5054560e0c6ee2c3594798cda852aad518070394 (diff)
downloadu-boot-cacf0f8a193c0e8bbd7db6a5c7d4c463f0600710.tar.xz
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/beacon')
-rw-r--r--board/beacon/imx8mm/spl.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/beacon/imx8mm/spl.c b/board/beacon/imx8mm/spl.c
index a5f337aa17..b2830c5223 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)
{