summaryrefslogtreecommitdiffstats
path: root/board/xes/xpedite5370/xpedite5370.c
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-08-07 13:16:34 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-08-28 17:12:39 -0500
commit1bb61b69f7aba4931ede35fdcabd8e5ecad121d7 (patch)
treebf8ce9d036e7f68ce571ef735a874fa17f5c4fb6 /board/xes/xpedite5370/xpedite5370.c
parentec79d33b2c41ee8b6d1354cc0910217b769c5036 (diff)
downloadtalos-obmc-uboot-1bb61b69f7aba4931ede35fdcabd8e5ecad121d7.tar.gz
talos-obmc-uboot-1bb61b69f7aba4931ede35fdcabd8e5ecad121d7.zip
xes: Use proper IO access functions
Also fix some minor whitespace oddities while we're cleaning up Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/xes/xpedite5370/xpedite5370.c')
-rw-r--r--board/xes/xpedite5370/xpedite5370.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/xes/xpedite5370/xpedite5370.c b/board/xes/xpedite5370/xpedite5370.c
index d54c69972c..48d9fc8c73 100644
--- a/board/xes/xpedite5370/xpedite5370.c
+++ b/board/xes/xpedite5370/xpedite5370.c
@@ -71,11 +71,11 @@ static void flash_cs_fixup(void)
printf("FLASH: Executed from FLASH%d\n", flash_sel ? 2 : 1);
if (flash_sel) {
- lbc->br0 = CONFIG_SYS_BR1_PRELIM;
- lbc->or0 = CONFIG_SYS_OR1_PRELIM;
+ out_be32(&lbc->br0, CONFIG_SYS_BR1_PRELIM);
+ out_be32(&lbc->or0, CONFIG_SYS_OR1_PRELIM);
- lbc->br1 = CONFIG_SYS_BR0_PRELIM;
- lbc->or1 = CONFIG_SYS_OR0_PRELIM;
+ out_be32(&lbc->br1, CONFIG_SYS_BR0_PRELIM);
+ out_be32(&lbc->or1, CONFIG_SYS_OR0_PRELIM);
}
}
OpenPOWER on IntegriCloud