CONFIG_FLASH_MAP was assigned the value y, but got the value n. Missing dependencies: FLASH_HAS_DRIVER_ENABLED

I have the following settings in my prj.conf:
# Enable the BLE stack with GATT Client configuration
CONFIG_BT=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_SMP=y
CONFIG_BT_GATT_CLIENT=y

# Enable BLE scan
CONFIG_BT_SCAN=y
CONFIG_BT_SCAN_FILTER_ENABLE=y
CONFIG_BT_SCAN_SHORT_NAME_CNT=1
CONFIG_BT_GATT_DM=y

# Enable bonding
CONFIG_NVS=y
CONFIG_SETTINGS=y
CONFIG_BT_SETTINGS=y
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y

# Config logger
CONFIG_LOG=y
and getting the error 
CONFIG_FLASH_MAP was assigned the value y, but got the value n. Missing dependencies:
FLASH_HAS_DRIVER_ENABLED
My understanding is that FLASH_HAS_DRIVER_ENABLED is not set directly, but by inclusion of some config that assures that flash drivers will be included.
I have the same flash setting in another project and it is working...
Using v2.8 SDK and Toolchain.
Running on nRF52840.
Your input is greatly appreciated!
Related