summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Liu <r63238@freescale.com>2008-01-10 23:08:26 +0800
committerKim Phillips <kim.phillips@freescale.com>2008-01-10 21:23:46 -0600
commitded08317ad9e340b887bf2eb46e9565a0f610a93 (patch)
tree4d69b2e80bdc9e2257a6d4be5e8c29c69fc13e5c
parent7e74d63d1a211fbc34ec424e2dc6726601f323d0 (diff)
downloadu-boot-imx-ded08317ad9e340b887bf2eb46e9565a0f610a93.zip
u-boot-imx-ded08317ad9e340b887bf2eb46e9565a0f610a93.tar.gz
u-boot-imx-ded08317ad9e340b887bf2eb46e9565a0f610a93.tar.bz2
mpc83xx: Make the code more readable
Format the code, make it more readable Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
-rw-r--r--include/configs/MPC837XEMDS.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/include/configs/MPC837XEMDS.h b/include/configs/MPC837XEMDS.h
index 0b4e562..2b84e9c 100644
--- a/include/configs/MPC837XEMDS.h
+++ b/include/configs/MPC837XEMDS.h
@@ -227,12 +227,19 @@
#define CFG_LBLAWBAR0_PRELIM CFG_FLASH_BASE /* Window base at flash base */
#define CFG_LBLAWAR0_PRELIM 0x80000018 /* 32MB window size */
-#define CFG_BR0_PRELIM (CFG_FLASH_BASE | /* Flash Base address */ \
- (2 << BR_PS_SHIFT) | /* 16 bit port size */ \
- BR_V) /* valid */
-#define CFG_OR0_PRELIM ((~(CFG_FLASH_SIZE - 1) << 20) | OR_UPM_XAM | \
- OR_GPCM_CSNT | OR_GPCM_ACS_0b11 | OR_GPCM_XACS | OR_GPCM_SCY_15 | \
- OR_GPCM_TRLX | OR_GPCM_EHTR | OR_GPCM_EAD)
+#define CFG_BR0_PRELIM ( CFG_FLASH_BASE /* Flash Base address */ \
+ | (2 << BR_PS_SHIFT) /* 16 bit port size */ \
+ | BR_V ) /* valid */
+#define CFG_OR0_PRELIM ( (~(CFG_FLASH_SIZE - 1) << 20) \
+ | OR_UPM_XAM \
+ | OR_GPCM_CSNT \
+ | OR_GPCM_ACS_0b11 \
+ | OR_GPCM_XACS \
+ | OR_GPCM_SCY_15 \
+ | OR_GPCM_TRLX \
+ | OR_GPCM_EHTR \
+ | OR_GPCM_EAD )
+ /* 0xFE000FF7 */
#define CFG_MAX_FLASH_BANKS 1 /* number of banks */
#define CFG_MAX_FLASH_SECT 256 /* max sectors per device */