diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-07-21 15:24:56 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-07-21 15:24:56 +0200 |
commit | 966083e95f5ba2bf4a1723b19313e69c14b60092 (patch) | |
tree | 511a1ed8d7147e38a8437a2afa26dcc221b0c471 /board/tqm834x | |
parent | 144f7795eefae2997dbac461fc150fe9bd9057c8 (diff) | |
download | u-boot-imx-966083e95f5ba2bf4a1723b19313e69c14b60092.zip u-boot-imx-966083e95f5ba2bf4a1723b19313e69c14b60092.tar.gz u-boot-imx-966083e95f5ba2bf4a1723b19313e69c14b60092.tar.bz2 |
More code cleanup
Diffstat (limited to 'board/tqm834x')
-rw-r--r-- | board/tqm834x/tqm834x.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/board/tqm834x/tqm834x.c b/board/tqm834x/tqm834x.c index d992aec..41b34cc 100644 --- a/board/tqm834x/tqm834x.c +++ b/board/tqm834x/tqm834x.c @@ -424,10 +424,12 @@ static void set_ddr_config(void) { * which has to be written with a certain value defined by * errata sheet. */ + u32 *reserved_p = (u32 *)((u8 *)im + 0x2f00); + #if defined(DDR_CASLAT_20) - *((u8 *)im + 0x2f00) = 0x201c0000; + *reserved_p = 0x201c0000; #else - *((u8 *)im + 0x2f00) = 0x202c0000; + *reserved_p = 0x202c0000; #endif } } |