[U-Boot] [PATCH 2/3] fix checkpatch errors

Georg Schardt schardt at team-ctech.de
Sat Sep 6 12:25:50 CEST 2008


---
 include/configs/FX12MM.h |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/configs/FX12MM.h b/include/configs/FX12MM.h
index b47e403..8b8d41c 100644
--- a/include/configs/FX12MM.h
+++ b/include/configs/FX12MM.h
@@ -15,28 +15,28 @@
 #define CONFIG_DOS_PARTITION    1
 #define CFG_SYSTEMACE_BASE      XPAR_SYSACE_0_BASEADDR
 #define CFG_SYSTEMACE_WIDTH     XPAR_SYSACE_0_MEM_WIDTH
-#define ADD_SYSTEMACE_CMDS      (| CFG_CMD_FAT)
+#define ADD_SYSTEMACE_CMDS      ( | CFG_CMD_FAT )
 #define RM_SYSTEMACE_CMDS
 #else
 #define ADD_SYSTEMACE_CMDS
-#define RM_SYSTEMACE_CMDS       | CFG_CMD_FAT
+#define RM_SYSTEMACE_CMDS       ( | CFG_CMD_FAT )
 #endif
 
 
 #define CFG_ENV_IS_IN_FLASH     1       /* environment is in FLASH */
-#define ADD_FLASH_CMDS          | CFG_CMD_FLASH
+#define ADD_FLASH_CMDS          ( | CFG_CMD_FLASH )
 #define RM_FLASH_CMDS
 
 
 #ifdef XPAR_IIC_0_DEVICE_ID
-#if ! defined(CFG_ENV_IS_IN_FLASH)
+#if !defined(CFG_ENV_IS_IN_FLASH)
 #define CFG_ENV_IS_IN_EEPROM    1       /* environment is in IIC EEPROM */
 #endif
-#define ADD_IIC_CMDS            | CFG_CMD_I2C
+#define ADD_IIC_CMDS            ( | CFG_CMD_I2C )
 #define RM_IIC_CMDS
 #else
 #define ADD_IIC_CMDS
-#define RM_IIC_CMDS             | CFG_CMD_I2C
+#define RM_IIC_CMDS             ( | CFG_CMD_I2C )
 #endif
 
 
-- 
1.4.4.4



More information about the U-Boot mailing list