boot: zephyr: fix xtensa define condition
Adds missing bracket to the xtensa node exists condition. Signed-off-by: Georgij Cernysiov <geo.cgv@gmail.com>
This commit is contained in:
parent
2c5393423c
commit
4030aac594
|
@ -22,7 +22,7 @@ BOOT_LOG_MODULE_DECLARE(mcuboot);
|
|||
#define FLASH_DEVICE_ID SOC_FLASH_0_ID
|
||||
#define FLASH_DEVICE_BASE CONFIG_FLASH_BASE_ADDRESS
|
||||
#define FLASH_DEVICE_NODE DT_CHOSEN(zephyr_flash_controller)
|
||||
#elif (defined(CONFIG_XTENSA) && DT_NODE_EXISTS(DT_INST(0, jedec_spi_nor))
|
||||
#elif (defined(CONFIG_XTENSA) && DT_NODE_EXISTS(DT_INST(0, jedec_spi_nor)))
|
||||
#define FLASH_DEVICE_ID SPI_FLASH_0_ID
|
||||
#define FLASH_DEVICE_BASE 0
|
||||
#define FLASH_DEVICE_NODE DT_INST(0, jedec_spi_nor)
|
||||
|
|
Loading…
Reference in New Issue