From 1bb61b69f7aba4931ede35fdcabd8e5ecad121d7 Mon Sep 17 00:00:00 2001 From: Peter Tyser Date: Fri, 7 Aug 2009 13:16:34 -0500 Subject: xes: Use proper IO access functions Also fix some minor whitespace oddities while we're cleaning up Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala --- board/xes/xpedite5370/xpedite5370.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'board/xes/xpedite5370') diff --git a/board/xes/xpedite5370/xpedite5370.c b/board/xes/xpedite5370/xpedite5370.c index d54c699..48d9fc8 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); } } -- cgit v1.1