Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage/flash_map: Make flash_area.fa_dev_name optional
With switch to compile time resolved device object and usage of flash_area.fa_dev, the filed flash_area.fa_dev_name becomes optional as there are no more device_get_binding calls within flash_map that rely on that filed, or any other references to that field. The added Kconfig option, FLASH_MAP_DEV_NAME_IN_FLASH_AREA, allows to remove the flash_area.fa_dev_name field, when disabled. The option is set to y by default to support external code that may relay on the existence of flash_area.fa_dev_name. Configurations for samples and tests that require the fa_dev_name have been altered to have proper Kconfig options enabled. Signed-off-by: Dominik Ermel <[email protected]>
- Loading branch information