Hi Simon On 07/18/2017 04:00 PM, Simon Glass wrote: > On 13 July 2017 at 06:49, <patrice.chot...@st.com> wrote: >> From: Patrice Chotard <patrice.chot...@st.com> >> >> 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: Patrice Chotard <patrice.chot...@st.com> >> Reviewed-by: Vikas Manocha <vikas.mano...@st.com> >> --- >> drivers/ram/stm32_sdram.c | 92 >> ++++++++++++++++++++++++++++++++--------------- >> 1 file changed, 64 insertions(+), 28 deletions(-) > > Reviewed-by: Simon Glass <s...@chromium.org> > > Can you use dev_read_addr instead of devfdt_get_addr()?
Yes, i will update this Thanks > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot