soc: nrf51: Define flash driver name for nRF51

In order to be able to build MCUboot for nRF51 we require the flash
driver name in the nRF51 soc.h header.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2018-01-25 14:15:53 +01:00 committed by Carles Cufí
commit 90a45d2eca

View file

@ -28,4 +28,9 @@
#define FLASH_PAGE_ERASE_MAX_TIME_US 22300UL
#define FLASH_PAGE_MAX_CNT 256UL
/* For IMG_MANAGER */
#if defined(CONFIG_SOC_FLASH_NRF5)
#define FLASH_DRIVER_NAME FLASH_DEV_NAME
#endif
#endif /* _NORDICSEMI_NRF51_SOC_H_ */