mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Orjan Friberg <of@flatfrog.com>
Cc: barebox@lists.infradead.org
Subject: Re: BeagleBoard sdrc init writes reserved values
Date: Wed, 10 Nov 2010 16:11:06 +0100	[thread overview]
Message-ID: <20101110151106.GT6017@pengutronix.de> (raw)
In-Reply-To: <4CDA5DF9.7050906@flatfrog.com>

Hi Orjan,

On Wed, Nov 10, 2010 at 09:55:21AM +0100, Orjan Friberg wrote:
> In sdrc_init in board-beagle.c both
>
>         writel(0x1A, SDRC_REG(SYSCONFIG));
>
> and
>
>         writel(0x18, SDRC_REG(SYSCONFIG));
>
> sets bits 4:3 in the IDLEMODE field.  The OMAP3 TRM (spruf98k) defines  
> 0x2 as the only valid value for this field, all others being marked as  
> "reserved - do not use".  board-omap3evm.c does the same thing,  
> board-sdp343x.c does not.
>
> Anyone knows where these settings come from?  Derived from an older  
> version of the TRM?  (I'm thinking there may have been a feature that  
> was discovered to be unreliable or not working as intended so it was  
> removed from the docs.)

I have no idea. I'm pretty sure though that the value has been copied
from some version of U-Boot or Xloader.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2010-11-10 15:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-10  8:55 Orjan Friberg
2010-11-10 15:11 ` Sascha Hauer [this message]
2010-11-10 16:13   ` Anand Gadiyar
2010-11-11 11:55     ` Orjan Friberg

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=20101110151106.GT6017@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=of@flatfrog.com \
    /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