Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Patrice Chotard's avatar
    1421e0a3
    ram: stm32: get base address from DT · 1421e0a3
    Patrice Chotard authored
    
    Retrieve RAM base address from DT instead of using STM32_SDRAM_FMC
    
    For STM32F7, FMC block base address is 0xA0000000, but SDRAM
    registers are located at offset 0x140 inside FMC block.
    Update the stm32_fmc_regs fields with all FMC registers
    to map SDRAM registers at the right address.
    
    These additionals registers will be used later.
    
    Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
    1421e0a3
    History
    ram: stm32: get base address from DT
    Patrice Chotard authored
    
    Retrieve RAM base address from DT instead of using STM32_SDRAM_FMC
    
    For STM32F7, FMC block base address is 0xA0000000, but SDRAM
    registers are located at offset 0x140 inside FMC block.
    Update the stm32_fmc_regs fields with all FMC registers
    to map SDRAM registers at the right address.
    
    These additionals registers will be used later.
    
    Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>