From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Date: Sat, 08 Nov 2014 10:25:24 +0000 Subject: [U-Boot] [PATCH v3 06/11] sun6i: Add dram initialization code In-Reply-To: <1415389629-1298-7-git-send-email-hdegoede@redhat.com> References: <1415389629-1298-1-git-send-email-hdegoede@redhat.com> <1415389629-1298-7-git-send-email-hdegoede@redhat.com> Message-ID: <1415442324.2030.14.camel@hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 2014-11-07 at 20:47 +0100, Hans de Goede wrote: > Add full support for dram initialization, using a fixed clock and autodetection > of the memory organization (numbers of channels, bus-width, etc.). > > This is based on dram_sun6i.c and dram.h from u-boot in the Allwinner A31 SDK, > extended with extra initialization sequences and the autodetect algorithm > from boot0. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell > + /* Bunch of magic writes performed by boot0 */ > + writel(0x00400302, &mctl_com->rmcr[0]); [...] :-/ Have you pinged Allwinner about these/docs for these? Ian.