diff options
author | Timur Tabi <timur@freescale.com> | 2012-07-06 07:39:26 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-08-08 18:32:15 -0500 |
commit | 7ee411071f31c856107e6b29fcd8df53ae4d7349 (patch) | |
tree | fbbbdd41ce72ee5ce148cc9b09eea016cf2a1109 /include/configs/MPC8548CDS.h | |
parent | 145dbc02501bba43cfee952d5669406c871be6d8 (diff) | |
download | u-boot-imx-7ee411071f31c856107e6b29fcd8df53ae4d7349.zip u-boot-imx-7ee411071f31c856107e6b29fcd8df53ae4d7349.tar.gz u-boot-imx-7ee411071f31c856107e6b29fcd8df53ae4d7349.tar.bz2 |
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h index e263994..95ce003 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) |