From 1aace66c052201d85722dfc14c25bc0180661676 Mon Sep 17 00:00:00 2001 From: Ioannis Glaropoulos Date: Tue, 15 Jan 2019 11:43:22 +0100 Subject: [PATCH] soc: nordic: Fix flash driver defines nomenclature in fixup.h In the wake of 9cbe468a470fe6a103557d4352d37604a632b2fe we need to update the nomenclature of DT_FLASH_DEV_NAME macros. Signed-off-by: Ioannis Glaropoulos --- soc/arm/nordic_nrf/nrf51/dts_fixup.h | 2 +- soc/arm/nordic_nrf/nrf52/dts_fixup.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/soc/arm/nordic_nrf/nrf51/dts_fixup.h b/soc/arm/nordic_nrf/nrf51/dts_fixup.h index 1fad98d4bc3..a76ffc49511 100644 --- a/soc/arm/nordic_nrf/nrf51/dts_fixup.h +++ b/soc/arm/nordic_nrf/nrf51/dts_fixup.h @@ -6,7 +6,7 @@ #define DT_UART_0_NAME DT_NORDIC_NRF_UART_UART_0_LABEL -#define DT_FLASH_DEV_NAME DT_NRF_NRF51_FLASH_CONTROLLER_4001E000_LABEL +#define DT_FLASH_DEV_NAME DT_NORDIC_NRF51_FLASH_CONTROLLER_0_LABEL #define DT_GPIO_P0_DEV_NAME DT_NORDIC_NRF_GPIO_GPIO_0_LABEL diff --git a/soc/arm/nordic_nrf/nrf52/dts_fixup.h b/soc/arm/nordic_nrf/nrf52/dts_fixup.h index a32b7ba5b37..7fd1c2e6028 100644 --- a/soc/arm/nordic_nrf/nrf52/dts_fixup.h +++ b/soc/arm/nordic_nrf/nrf52/dts_fixup.h @@ -12,7 +12,7 @@ #define DT_UART_1_NAME DT_NORDIC_NRF_UARTE_UART_1_LABEL -#define DT_FLASH_DEV_NAME DT_NRF_NRF52_FLASH_CONTROLLER_4001E000_LABEL +#define DT_FLASH_DEV_NAME DT_NORDIC_NRF52_FLASH_CONTROLLER_0_LABEL #define DT_GPIO_P0_DEV_NAME DT_NORDIC_NRF_GPIO_GPIO_0_LABEL #define DT_GPIO_P1_DEV_NAME DT_NORDIC_NRF_GPIO_GPIO_1_LABEL