]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cleanup/SPEAr: Remove unnecessary parenthesis
authorAmit Virdi <amit.virdi@st.com>
Mon, 7 May 2012 07:37:01 +0000 (13:07 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:42 +0000 (14:07 +0200)
In SPEAr configuration files, unnecessary paranthesis are used in some
\#defines. Remove them as they serve no purpose

Signed-off-by: Amit Virdi <amit.virdi@st.com>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/include/asm/arch-spear/spr_gpt.h
include/configs/spear-common.h
include/configs/spear3xx_evb.h
include/configs/spear6xx_evb.h

index 965b5abb9abf54554e57622a629052079f4ab300..d95ba52597352a0e5726291141b640ec073e3a4b 100644 (file)
@@ -79,7 +79,7 @@ struct gpt_regs {
 #define GPT_FREE_RUNNING               0xFFFF
 
 /* Timer, HZ specific defines */
-#define CONFIG_SPEAR_HZ                        (1000)
-#define CONFIG_SPEAR_HZ_CLOCK          (8300000)
+#define CONFIG_SPEAR_HZ                        1000
+#define CONFIG_SPEAR_HZ_CLOCK          8300000
 
 #endif
index 32e1fcc98d593da0f3db81de87faebf52703d36e..0aa9551bfe3bf7f9dd8ef08d52305e73b1e55568 100644 (file)
@@ -62,7 +62,7 @@
 #define CONFIG_I2C_CHIPADDRESS                 0x50
 
 /* Timer, HZ specific defines */
-#define CONFIG_SYS_HZ                          (1000)
+#define CONFIG_SYS_HZ                          1000
 
 /* Flash configuration */
 #if defined(CONFIG_FLASH_PNOR)
@@ -74,9 +74,9 @@
 #if defined(CONFIG_ST_SMI)
 
 #define CONFIG_SYS_MAX_FLASH_BANKS             2
-#define CONFIG_SYS_FLASH_BASE                  (0xF8000000)
-#define CONFIG_SYS_CS1_FLASH_BASE              (0xF9000000)
-#define CONFIG_SYS_FLASH_BANK_SIZE             (0x01000000)
+#define CONFIG_SYS_FLASH_BASE                  0xF8000000
+#define CONFIG_SYS_CS1_FLASH_BASE              0xF9000000
+#define CONFIG_SYS_FLASH_BANK_SIZE             0x01000000
 #define CONFIG_SYS_FLASH_ADDR_BASE             {CONFIG_SYS_FLASH_BASE, \
                                                CONFIG_SYS_CS1_FLASH_BASE}
 #define CONFIG_SYS_MAX_FLASH_SECT              128
index 242e648fc1df774e6a352c32d01ad1b59e14b9e2..d63c9dff399a99ecfc1f1b4b2db79850ddbf8d5d 100644 (file)
 #define CONFIG_SYS_FSMC_NAND_8BIT
 
 #if defined(CONFIG_SPEAR300)
-#define CONFIG_SYS_NAND_BASE                   (0x80000000)
+#define CONFIG_SYS_NAND_BASE                   0x80000000
 
 #elif defined(CONFIG_SPEAR310)
-#define CONFIG_SYS_NAND_BASE                   (0x40000000)
+#define CONFIG_SYS_NAND_BASE                   0x40000000
 
 #elif defined(CONFIG_SPEAR320)
-#define CONFIG_SYS_NAND_BASE                   (0x50000000)
+#define CONFIG_SYS_NAND_BASE                   0x50000000
 
 #endif
 
index 3e0f50bda8c2e857ccece4c2f362e540ad15997a..4a761341a818c6e5849a67d7d830b10049defb47 100644 (file)
@@ -51,7 +51,7 @@
 /* NAND flash configuration */
 #define CONFIG_SYS_FSMC_NAND_SP
 #define CONFIG_SYS_FSMC_NAND_8BIT
-#define CONFIG_SYS_NAND_BASE                   (0xD2000000)
+#define CONFIG_SYS_NAND_BASE                   0xD2000000
 
 /* Environment Settings */
 #define CONFIG_EXTRA_ENV_SETTINGS              CONFIG_EXTRA_ENV_USBTTY