Commit 87029f74 authored by Keith Packard's avatar Keith Packard Committed by Henrik Brix Andersen
Browse files

drivers/flash: Fix #if condition for is_area_readable for mcux



is_area_readable is used for SOCS other than LPC55XXX chips, not just
chips other than LPC55S36. Change the condition which elides this code
to avoid a GCC 14.3 warning.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent fc24bd84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -115,7 +115,7 @@ static status_t is_area_readable(uint32_t addr, size_t len)

	return 0;
}
#endif /* CONFIG_CHECK_BEFORE_READING && ! CONFIG_SOC_LPC55S36 */
#endif /* CONFIG_CHECK_BEFORE_READING && ! CONFIG_SOC_SERIES_LPC55XXX */

#define SOC_FLASH_NEED_CLEAR_CACHES 1
#ifdef CONFIG_SOC_SERIES_MCXW