summaryrefslogtreecommitdiff
path: root/include/configs/P1022DS.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/P1022DS.h
parent145dbc02501bba43cfee952d5669406c871be6d8 (diff)
downloadu-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/P1022DS.h')
-rw-r--r--include/configs/P1022DS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index 86217a4..1d97e95 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -134,7 +134,7 @@
#endif
#define CONFIG_FLASH_BR_PRELIM \
- (BR_PHYS_ADDR((CONFIG_SYS_FLASH_BASE_PHYS + 0x8000000)) | BR_PS_16 | BR_V)
+ (BR_PHYS_ADDR(CONFIG_SYS_FLASH_BASE_PHYS + 0x8000000) | BR_PS_16 | BR_V)
#define CONFIG_FLASH_OR_PRELIM (OR_AM_128MB | 0xff7)
#define CONFIG_SYS_BR0_PRELIM CONFIG_FLASH_BR_PRELIM /* NOR Base Address */