arm, post, memory: fix bug if sdram base != 0x00000000
authorHeiko Schocher <hs@denx.de>
Thu, 6 Oct 2011 20:40:00 +0000 (20:40 +0000)
committerWolfgang Denk <wd@denx.de>
Sun, 23 Oct 2011 21:32:44 +0000 (23:32 +0200)
commit7b5d61b5a3dd6c6f8f0723941beb700277de9407
tree3733c9abd8ec88a819c3979447dcde01944fdcdc
parent23d8f778c8f81b25d3bcecb8c4cdc97d6685af25
arm, post, memory: fix bug if sdram base != 0x00000000

commit 8d3fcb5e60b6c8e1d530dbc2e2e33ec6a44670da breaks post
memory support for sdram base != 0x00000000. Fix this.

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Valentin Longchamp <valentin.longchamp@keymile.com>
Cc: Holger Brunck <holger.brunck@keymile.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
post/drivers/memory.c