diff options
-rw-r--r-- | board/st/stm32mp1/stm32mp1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index 4f7d24acaa5..af607c58749 100644 --- a/board/st/stm32mp1/stm32mp1.c +++ b/board/st/stm32mp1/stm32mp1.c @@ -524,6 +524,10 @@ enum env_location env_get_location(enum env_operation op, int prio) case BOOT_FLASH_NAND: return ENVL_UBI; #endif +#ifdef CONFIG_ENV_IS_IN_SPI_FLASH + case BOOT_FLASH_NOR: + return ENVL_SPI_FLASH; +#endif default: return ENVL_NOWHERE; } |