diff options
author | Wolfgang Denk <wd@denx.de> | 2007-08-02 21:27:46 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-08-02 21:27:46 +0200 |
commit | b1b54e352028ed370c3aa95d6fdeb9d64c5d2f86 (patch) | |
tree | 9cebaabeb5eb120db8bbcfc424767f1d3eb7d8d9 /cpu/mpc512x/start.S | |
parent | 8993e54b6f397973794f3d6f47d3b3c0c98dd4f6 (diff) | |
download | u-boot-imx-b1b54e352028ed370c3aa95d6fdeb9d64c5d2f86.zip u-boot-imx-b1b54e352028ed370c3aa95d6fdeb9d64c5d2f86.tar.gz u-boot-imx-b1b54e352028ed370c3aa95d6fdeb9d64c5d2f86.tar.bz2 |
Coding style cleanup, update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'cpu/mpc512x/start.S')
-rw-r--r-- | cpu/mpc512x/start.S | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cpu/mpc512x/start.S b/cpu/mpc512x/start.S index 8b749ac..244c69b 100644 --- a/cpu/mpc512x/start.S +++ b/cpu/mpc512x/start.S @@ -208,8 +208,8 @@ boot_cold: */ /* Boot CS/CS0 window range */ - lis r3, CFG_IMMR@h - ori r3, r3, CFG_IMMR@l + lis r3, CFG_IMMR@h + ori r3, r3, CFG_IMMR@l lis r4, START_REG(CFG_FLASH_BASE) ori r4, r4, STOP_REG(CFG_FLASH_BASE, CFG_FLASH_SIZE) @@ -222,11 +222,11 @@ boot_cold: lis r4, START_REG(CFG_SRAM_BASE) & 0xff00 stw r4, SRAMBAR(r3) - /* + /* * According to MPC5121e RM, configuring local access windows should - * be followed by a dummy read of the config register that was + * be followed by a dummy read of the config register that was * modified last and an isync - */ + */ lwz r4, SRAMBAR(r3) isync @@ -235,11 +235,11 @@ boot_cold: * config register so no params can be set for it */ lis r3, (CFG_IMMR + LPC_OFFSET)@h - ori r3, r3, (CFG_IMMR + LPC_OFFSET)@l + ori r3, r3, (CFG_IMMR + LPC_OFFSET)@l - lis r4, CFG_CS0_CFG@h - ori r4, r4, CFG_CS0_CFG@l - stw r4, CS0_CONFIG(r3) + lis r4, CFG_CS0_CFG@h + ori r4, r4, CFG_CS0_CFG@l + stw r4, CS0_CONFIG(r3) /* Master enable all CS's */ lis r4, CS_CTRL_ME@h |