On Tue, Apr 10, 2018 at 04:53:13PM -0700, Andrey Smirnov wrote: > 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! Not much to comment, looks all good. Applied, thanks Sascha > > 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 > > > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox