DT_FLASH_AREA_<X>_DEV should be the label of the flash controller. For flashes that are "jedec,spi-nor" the flash itself is considered the controller. For "soc-nv-flash" the parent of the flash is assumed to be the controller. Rework the logic in how we determined DT_FLASH_AREA_<X>_DEV to handle both cases. Signed-off-by: Kumar Gala <kumar.gala@linaro.org> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| clocks.py | ||
| compatible.py | ||
| default.py | ||
| directive.py | ||
| flash.py | ||
| globals.py | ||
| interrupts.py | ||
| pinctrl.py | ||
| reg.py | ||