From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f6356-0001j1-1B for barebox@lists.infradead.org; Tue, 10 Apr 2018 23:53:45 +0000 Received: by mail-pf0-x229.google.com with SMTP id h69so18215pfe.13 for ; Tue, 10 Apr 2018 16:53:31 -0700 (PDT) From: Andrey Smirnov Date: Tue, 10 Apr 2018 16:53:13 -0700 Message-Id: <20180410235323.5440-1-andrew.smirnov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 00/10] Vybrid MMDC support and misc ESDCTL fixes To: barebox@lists.infradead.org Cc: Andrey Smirnov 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 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox