Skip to content

Commit 4030aac

Browse files
GeorgeCGVnvlsianpu
authored andcommitted
boot: zephyr: fix xtensa define condition
Adds missing bracket to the xtensa node exists condition. Signed-off-by: Georgij Cernysiov <[email protected]>
1 parent 2c53934 commit 4030aac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/zephyr/flash_map_extended.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ BOOT_LOG_MODULE_DECLARE(mcuboot);
2222
#define FLASH_DEVICE_ID SOC_FLASH_0_ID
2323
#define FLASH_DEVICE_BASE CONFIG_FLASH_BASE_ADDRESS
2424
#define FLASH_DEVICE_NODE DT_CHOSEN(zephyr_flash_controller)
25-
#elif (defined(CONFIG_XTENSA) && DT_NODE_EXISTS(DT_INST(0, jedec_spi_nor))
25+
#elif (defined(CONFIG_XTENSA) && DT_NODE_EXISTS(DT_INST(0, jedec_spi_nor)))
2626
#define FLASH_DEVICE_ID SPI_FLASH_0_ID
2727
#define FLASH_DEVICE_BASE 0
2828
#define FLASH_DEVICE_NODE DT_INST(0, jedec_spi_nor)

0 commit comments

Comments
 (0)