Skip to content
Commit 7795558a authored by Francois Ramu's avatar Francois Ramu Committed by Maureen Helm
Browse files

drivers: flash: stm32 flash base address from the DTS node



For the flash driver, the base address is the MCU internal flash
address (usually 0x8000000). This PR gets the that address
from the device tree node "st,stm32-nv-flash"
instead of relying on the CONFIG_FLASH_BASE_ADDRESS
which might differ when building for another flash memory.

Signed-off-by: default avatarFrancois Ramu <francois.ramu@st.com>
parent a37bd8e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment