]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm, davinci: Fix setting of the SDRAM configuration register
authorChristian Riesch <christian.riesch@omicron.at>
Tue, 8 Nov 2011 13:55:13 +0000 (08:55 -0500)
committerSandeep Paulraj <s-paulraj@ti.com>
Tue, 8 Nov 2011 13:55:13 +0000 (08:55 -0500)
commit085d4574c530e4b09fee654771fbea079e61b138
tree860075a30ecc803c4b06e4584e1ee68dc476f527
parent95c248f4883b21ada280c41a935d404df9d1e208
arm, davinci: Fix setting of the SDRAM configuration register

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@omicron.at>
Cc: Heiko Schocher <hs@denx.de>
Cc: Paulraj Sandeep <s-paulraj@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c