]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mpc83xx: Make the code more readable
authorDave Liu <r63238@freescale.com>
Thu, 10 Jan 2008 15:08:26 +0000 (23:08 +0800)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 11 Jan 2008 03:23:46 +0000 (21:23 -0600)
Format the code, make it more readable

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
include/configs/MPC837XEMDS.h

index 0b4e562bc57d8b67e7edee232536f1b0572bf304..2b84e9cd9c53f058204fef4751512b29349eabd5 100644 (file)
 #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 */