commit | 80a99fa450bd195b97356101a502bb91b82dc426 | [log] [tgz] |
---|---|---|
author | Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no> | Wed Mar 07 14:31:56 2018 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu Mar 08 10:18:57 2018 +0100 |
tree | 43ac4bb57bb35569f3e3801dafe8a570c6c792e6 | |
parent | 51527e07efc9854daa081527552300379fef153b [diff] |
subsys: storage: flash_map: enable only if any flash driver is enable It was possible to have enable flash module while no flash driver implementation was enabled. This cause coverity issues and unnecessary initialization call. This pat introduce FLASH_HAS_DRIVER_ENABLED Kconfig keyword which is selected once any flash driver is enabled. flash_map switch its dependency to this keyword. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>