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: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
fc24bd8449
commit
87029f7422
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue