[PATCH 00/10] Vybrid MMDC support and misc ESDCTL fixes

Andrey Smirnov andrew.smirnov at gmail.com
Tue Apr 10 16:53:13 PDT 2018


Everyone:

This series is a bit of code I developed to support automatic
configured DRAM size detection on Vybrid platform as well as some
small fixes/cleanup I made while looking at esdctl.c.

All feedback is wellcome!

Thanks,
Andrey Smirnov

Andrey Smirnov (10):
  ARM: i.MX: esdctl: Use IOMEM instead of (void *)
  ARM: i.MX51: esdctl: Replace magic value with ESDMISC_DDR2_8_BANK
  ARM: i.MX6: esdctl: Share memory size calculation code
  ARM: i.MX6: esdctl: Factor out common code in imx6*_barebox_entry()
  ARM: i.MX6: esdctl: Use symbolic constants for RAM base address
  ARM: i.MX: esdctl: Make use of min_t()
  ARM: i.MX: esdctl: Introduce memory_sdram_size()
  ARM: i.MX: esdctl: Add support for Vybrid's memory controller
  i.MX: vf610-twr: Make use of vf610_barebox_entry()
  i.MX: zii-vf610-dev: Make use of vf610_barebox_entry()

 arch/arm/boards/freescale-vf610-twr/lowlevel.c |   5 +-
 arch/arm/boards/zii-imx6q-rdu2/lowlevel.c      |   2 +-
 arch/arm/boards/zii-vf610-dev/lowlevel.c       |   3 +-
 arch/arm/dts/vf610-ddrmc.dtsi                  |  15 +++
 arch/arm/dts/vf610-twr.dts                     |   1 +
 arch/arm/dts/vf610-zii-dev.dtsi                |   4 +-
 arch/arm/mach-imx/esdctl.c                     | 144 ++++++++++++++-----------
 arch/arm/mach-imx/include/mach/esdctl.h        |   2 +
 arch/arm/mach-imx/include/mach/imx6-regs.h     |   4 +-
 arch/arm/mach-imx/include/mach/vf610-ddrmc.h   |  18 ++++
 arch/arm/mach-imx/include/mach/vf610-regs.h    |   2 +
 include/memory.h                               |   8 ++
 12 files changed, 141 insertions(+), 67 deletions(-)
 create mode 100644 arch/arm/dts/vf610-ddrmc.dtsi
 create mode 100644 arch/arm/mach-imx/include/mach/vf610-ddrmc.h

-- 
2.14.3




More information about the barebox mailing list