public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 06/11] sun6i: Add dram initialization code
Date: Sat, 08 Nov 2014 11:35:28 +0100	[thread overview]
Message-ID: <545DF1F0.7070808@redhat.com> (raw)
In-Reply-To: <1415442324.2030.14.camel@hellion.org.uk>

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@redhat.com>
> 
> Acked-by: Ian Campbell <ijc@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

  reply	other threads:[~2014-11-08 10:35 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-07 19:46 [U-Boot] [PATCH v3 0/11] sun6i: Add dram init and SPL support Hans de Goede
2014-11-07 19:46 ` [U-Boot] [PATCH v3 01/11] sun6i: Add new p2wi controller driver Hans de Goede
2014-11-08 10:14   ` Ian Campbell
2014-11-08 10:22     ` Hans de Goede
2014-11-07 19:47 ` [U-Boot] [PATCH v3 02/11] sun6i: Add basic axp221 driver Hans de Goede
2014-11-08 10:19   ` Ian Campbell
2014-11-07 19:47 ` [U-Boot] [PATCH v3 03/11] sun6i: Add clock functions needed for SPL / DRAM init Hans de Goede
2014-11-08 10:20   ` Ian Campbell
2014-11-07 19:47 ` [U-Boot] [PATCH v3 04/11] sun6i: Add cpucfg register definitions Hans de Goede
2014-11-08 10:20   ` Ian Campbell
2014-11-07 19:47 ` [U-Boot] [PATCH v3 05/11] sun4i: Rename dram files to dram_sun4i.x Hans de Goede
2014-11-08 10:21   ` Ian Campbell
2014-11-07 19:47 ` [U-Boot] [PATCH v3 06/11] sun6i: Add dram initialization code Hans de Goede
2014-11-08 10:25   ` Ian Campbell
2014-11-08 10:35     ` Hans de Goede [this message]
2014-11-07 19:47 ` [U-Boot] [PATCH v3 07/11] sun6i: Poke magic sram controller register to avoid cache issues Hans de Goede
2014-11-08 10:26   ` Ian Campbell
2014-11-07 19:47 ` [U-Boot] [PATCH v3 08/11] sun6i: Enable SPL Hans de Goede
2014-11-08 10:26   ` Ian Campbell
2014-11-07 19:47 ` [U-Boot] [PATCH v3 09/11] sun6i: Add Mele M9 board Hans de Goede
2014-11-08 10:27   ` Ian Campbell
2014-11-07 19:47 ` [U-Boot] [PATCH v3 10/11] sunxi: ehci: Add proper Kconfig options to select the usb Vbus gpio-s Hans de Goede
2014-11-08 10:28   ` Ian Campbell
2014-11-07 19:47 ` [U-Boot] [PATCH v3 11/11] sun6i: ehci: Add sun6i ehci support Hans de Goede
2014-11-08 10:30   ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=545DF1F0.7070808@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox