summaryrefslogtreecommitdiffstats
path: root/include/configs/MPC8548CDS.h
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2012-07-06 07:39:26 +0000
committerAndy Fleming <afleming@freescale.com>2012-08-08 18:32:15 -0500
commit7ee411071f31c856107e6b29fcd8df53ae4d7349 (patch)
treefbbbdd41ce72ee5ce148cc9b09eea016cf2a1109 /include/configs/MPC8548CDS.h
parent145dbc02501bba43cfee952d5669406c871be6d8 (diff)
downloadtalos-obmc-uboot-7ee411071f31c856107e6b29fcd8df53ae4d7349.tar.gz
talos-obmc-uboot-7ee411071f31c856107e6b29fcd8df53ae4d7349.zip
powerpc/85xx: improve definition of BR_PHYS_ADDR macro
The BR_PHYS_ADDR(x) macro was missing parentheses around "x" in the macro definition, so callers had to supply their own parenthesis. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'include/configs/MPC8548CDS.h')
-rw-r--r--include/configs/MPC8548CDS.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h
index e263994651..95ce0034c3 100644
--- a/include/configs/MPC8548CDS.h
+++ b/include/configs/MPC8548CDS.h
@@ -189,8 +189,7 @@ extern unsigned long get_clock_freq(void);
#endif
#define CONFIG_SYS_BR0_PRELIM \
- (BR_PHYS_ADDR((CONFIG_SYS_FLASH_BASE_PHYS + 0x800000)) \
- | BR_PS_16 | BR_V)
+ (BR_PHYS_ADDR(CONFIG_SYS_FLASH_BASE_PHYS + 0x800000) | BR_PS_16 | BR_V)
#define CONFIG_SYS_BR1_PRELIM \
(BR_PHYS_ADDR(CONFIG_SYS_FLASH_BASE_PHYS) | BR_PS_16 | BR_V)
OpenPOWER on IntegriCloud