[U-Boot] [PATCH v3 06/11] sun6i: Add dram initialization code
Hans de Goede
hdegoede at redhat.com
Sat Nov 8 11:35:28 CET 2014
Hi,
Thanks for all the reviews!
On 11/08/2014 11:25 AM, Ian Campbell wrote:
> 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?
No, and neither for the next patch. I'll drop them a mail. In this case
in the mean time I think I know what this is, this is *probably* setting
up access rights / priorities for all the DRAM masters.
Regards,
Hans
More information about the U-Boot
mailing list