[U-Boot] [PATCH v3 06/11] sun6i: Add dram initialization code
Ian Campbell
ijc at hellion.org.uk
Sat Nov 8 11:25:24 CET 2014
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 <hdegoede at redhat.com>
Acked-by: Ian Campbell <ijc at hellion.org.uk>
> + /* Bunch of magic writes performed by boot0 */
> + writel(0x00400302, &mctl_com->rmcr[0]);
[...]
:-/ Have you pinged Allwinner about these/docs for these?
Ian.
More information about the U-Boot
mailing list