@ -191,13 +191,13 @@ static void print_boot_device(boot_api_context_t *boot_context)
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_EMMC :
INFO ( " Using EMMC \n " ) ;
break ;
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NOR_Q SPI :
INFO ( " Using Q SPI NOR \n " ) ;
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NOR_SPI :
INFO ( " Using SPI NOR \n " ) ;
break ;
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NAND_FMC :
INFO ( " Using FMC NAND \n " ) ;
break ;
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NAND_Q SPI :
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NAND_SPI :
INFO ( " Using SPI NAND \n " ) ;
break ;
case BOOT_API_CTX_BOOT_INTERFACE_SEL_SERIAL_UART :
@ -433,7 +433,7 @@ void stm32mp_io_setup(void)
break ;
# endif
# if STM32MP_SPI_NOR
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NOR_Q SPI :
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NOR_SPI :
dmbsy ( ) ;
boot_spi_nor ( boot_context ) ;
break ;
@ -445,7 +445,7 @@ void stm32mp_io_setup(void)
break ;
# endif
# if STM32MP_SPI_NAND
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NAND_Q SPI :
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NAND_SPI :
dmbsy ( ) ;
boot_spi_nand ( boot_context ) ;
break ;
@ -530,14 +530,14 @@ int bl2_plat_handle_pre_image_load(unsigned int image_id)
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NAND_FMC :
# endif
# if STM32MP_SPI_NAND
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NAND_Q SPI :
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NAND_SPI :
# endif
image_block_spec . offset = STM32MP_NAND_FIP_OFFSET ;
break ;
# endif
# if STM32MP_SPI_NOR
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NOR_Q SPI :
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NOR_SPI :
/*
* With FWU Multi Bank feature enabled , the selection of
* the image to boot will be done by fwu_init calling the
@ -694,7 +694,7 @@ void plat_fwu_set_images_source(const struct fwu_metadata *metadata)
break ;
# endif
# if STM32MP_SPI_NOR
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NOR_Q SPI :
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NOR_SPI :
if ( guidcmp ( img_uuid , & STM32MP_NOR_FIP_A_GUID ) = = 0 ) {
image_spec - > offset = STM32MP_NOR_FIP_A_OFFSET ;
} else if ( guidcmp ( img_uuid , & STM32MP_NOR_FIP_B_GUID ) = = 0 ) {
@ -747,7 +747,7 @@ static int plat_set_image_source(unsigned int image_id,
# endif
# if STM32MP_SPI_NOR
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NOR_Q SPI :
case BOOT_API_CTX_BOOT_INTERFACE_SEL_FLASH_NOR_SPI :
if ( image_id = = FWU_METADATA_IMAGE_ID ) {
spec - > offset = STM32MP_NOR_METADATA1_OFFSET ;
} else {