commit | 9a07eb0ba02d4036317e0ca2a9b0e4769aac62bc | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sat Oct 25 20:27:23 2014 +0200 |
committer | Hans de Goede <hdegoede@redhat.com> | Thu Nov 13 14:49:01 2014 +0100 |
tree | 6da0826fd1a768d8d194d13fd53590ce03578a05 | |
parent | bec72c7994d7bee448eeee49410b689df36543e3 [diff] |
sun6i: Add dram initialization code 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@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>