BeagleBoard sdrc init writes reserved values

Sascha Hauer s.hauer at pengutronix.de
Wed Nov 10 10:11:06 EST 2010


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 |



More information about the barebox mailing list