[U-Boot] [PATCH v2 0/6] Extend stm32 SDRAM driver

patrice.chotard at st.com patrice.chotard at st.com
Tue Jul 18 15:37:23 UTC 2017


From: Patrice Chotard <patrice.chotard at st.com>

This series aims to add some improvements to existing ram 
driver decicated to stm32 SoCs :
	_ some code clean up
	_ full DT support, now the FMC base is retrieved through DT
	_ update DT API by using ofnode_read...() or dev_read..() instead
	  of fdtdec_get..() to support livetree
	_ add second SDRAM bank support needed for STM32H7-Discovery board 
	  which uses the second SDRAM bank
	_ add stm32 H7 support

v2: _ use dev_read_addr() instead of devfdt_get_addr() in patch 2
    _ rework comment in patch 6
    _ replace generic_clear_bit/set_bit() by clrbits_le32/setbits_le32() in
      patch 6

Patrice Chotard (6):
  ram: stm32: migrate fmc defines in driver file
  ram: stm32: get base address from DT
  ram: stm32: replace fdtdec_get by ofnode calls
  ram: stm32: add second SDRAM bank management
  ARM: DTS: stm32: remove useless mr-nbanks property
  ram: stm32: add stm32h7 support

 arch/arm/dts/stm32f746-disco.dts              |   1 -
 arch/arm/dts/stm32f769-disco.dts              |   1 -
 arch/arm/include/asm/arch-stm32f7/fmc.h       |  74 ------
 board/st/stm32f746-disco/stm32f746-disco.c    |   1 -
 doc/device-tree-bindings/ram/st,stm32-fmc.txt |  19 +-
 drivers/ram/stm32_sdram.c                     | 338 ++++++++++++++++++++------
 6 files changed, 280 insertions(+), 154 deletions(-)
 delete mode 100644 arch/arm/include/asm/arch-stm32f7/fmc.h

-- 
1.9.1



More information about the U-Boot mailing list