[U-Boot] [PATCH v3] arm, davinci: Fix setting of the SDRAM configuration register

Heiko Schocher hs at denx.de
Wed Nov 9 07:11:57 CET 2011


Hello Christian,

Christian Riesch wrote:
> da850_ddr_setup() expects the BOOTUNLOCK bit to be set in
> If BOOTUNLOCK is not set in this define, several configuration
> bits will not be writeable and the code will not work.
> 
> Since the BOOTUNLOCK and TIMUNLOCK bits are not configuration options
> but access control bits, this patch changes the code to work
> irrespective of the value of these bits in CONFIG_SYS_DA850_DDR2_SDBCR.
> 
> Signed-off-by: Christian Riesch <christian.riesch at omicron.at>
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Paulraj Sandeep <s-paulraj at ti.com>
> ---
> This patch applies on top of these two patches:
> [PATCH v3 1/2] arm, davinci: Rename AM1808 lowlevel functions to DA850
> [PATCH v3 2/2] arm, davinci: Remove the duplication of LPSC functions in da850_lowlevel.c

Thanks! Tested on the enbw_cmc board, so:

Tested-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list