Add DT_SPI_NOR_DRV_NAME check towards sanitycheck in target.h
/*
* Sanity check the target support.
*/
-#if !defined(DT_FLASH_DEV_NAME) || \
+#if (!defined(CONFIG_XTENSA) && !defined(DT_FLASH_DEV_NAME)) || \
+ (defined(CONFIG_XTENSA) && !defined(DT_SPI_NOR_DRV_NAME)) || \
!defined(FLASH_ALIGN) || \
!defined(FLASH_AREA_IMAGE_0_OFFSET) || \
!defined(FLASH_AREA_IMAGE_0_SIZE) || \
