Commit 740827dd authored by Ramesh Gupta's avatar Ramesh Gupta Committed by Hari Kanigeri

OMAP4 Syslink header file cleanup

This patch fixes coding style issues.
Signed-off-by: default avatarRamesh Gupta G <grgupta@ti.com>
parent 8a4929f8
...@@ -35,7 +35,7 @@ do {\ ...@@ -35,7 +35,7 @@ do {\
register u32 newValue = ((u32)(value));\ register u32 newValue = ((u32)(value));\
_DEBUG_LEVEL_1_EASI(EASIL1_MLBMAILBOX_SYSCONFIGWriteRegister32);\ _DEBUG_LEVEL_1_EASI(EASIL1_MLBMAILBOX_SYSCONFIGWriteRegister32);\
WR_MEM_32_VOLATILE(((u32)(base_address))+offset, newValue);\ WR_MEM_32_VOLATILE(((u32)(base_address))+offset, newValue);\
} while(0) } while (0)
#define MLBMAILBOX_SYSCONFIGSIdleModeRead32(base_address)\ #define MLBMAILBOX_SYSCONFIGSIdleModeRead32(base_address)\
...@@ -58,7 +58,7 @@ do {\ ...@@ -58,7 +58,7 @@ do {\
newValue &= MLB_MAILBOX_SYSCONFIG_SIdleMode_MASK;\ newValue &= MLB_MAILBOX_SYSCONFIG_SIdleMode_MASK;\
newValue |= data;\ newValue |= data;\
WR_MEM_32_VOLATILE((u32)(base_address)+offset, newValue);\ WR_MEM_32_VOLATILE((u32)(base_address)+offset, newValue);\
} while(0) } while (0)
#define MLBMAILBOX_SYSCONFIGSoftResetWrite32(base_address, value)\ #define MLBMAILBOX_SYSCONFIGSoftResetWrite32(base_address, value)\
...@@ -79,7 +79,7 @@ do {\ ...@@ -79,7 +79,7 @@ do {\
printk(KERN_ALERT "line %i file %s", __LINE__, __FILE__);\ printk(KERN_ALERT "line %i file %s", __LINE__, __FILE__);\
WR_MEM_32_VOLATILE((u32)(base_address)+offset, newValue);\ WR_MEM_32_VOLATILE((u32)(base_address)+offset, newValue);\
printk(KERN_ALERT "line %i file %s", __LINE__, __FILE__);\ printk(KERN_ALERT "line %i file %s", __LINE__, __FILE__);\
} while(0) } while (0)
#define MLBMAILBOX_SYSCONFIGAutoIdleRead32(base_address)\ #define MLBMAILBOX_SYSCONFIGAutoIdleRead32(base_address)\
...@@ -129,7 +129,7 @@ do {\ ...@@ -129,7 +129,7 @@ do {\
register u32 newValue = ((u32)(value));\ register u32 newValue = ((u32)(value));\
_DEBUG_LEVEL_1_EASI(EASIL1_MLBMAILBOX_MESSAGE___0_15WriteRegister32);\ _DEBUG_LEVEL_1_EASI(EASIL1_MLBMAILBOX_MESSAGE___0_15WriteRegister32);\
WR_MEM_32_VOLATILE(((u32)(base_address))+offset, newValue);\ WR_MEM_32_VOLATILE(((u32)(base_address))+offset, newValue);\
}while(0) } while (0)
#define MLBMAILBOX_FIFOSTATUS___0_15ReadRegister32(base_address, bank)\ #define MLBMAILBOX_FIFOSTATUS___0_15ReadRegister32(base_address, bank)\
...@@ -179,7 +179,7 @@ do {\ ...@@ -179,7 +179,7 @@ do {\
register u32 newValue = ((u32)(value));\ register u32 newValue = ((u32)(value));\
_DEBUG_LEVEL_1_EASI(EASIL1_MLBMAILBOX_IRQSTATUS___0_3WriteRegister32);\ _DEBUG_LEVEL_1_EASI(EASIL1_MLBMAILBOX_IRQSTATUS___0_3WriteRegister32);\
WR_MEM_32_VOLATILE(((u32)(base_address))+offset, newValue);\ WR_MEM_32_VOLATILE(((u32)(base_address))+offset, newValue);\
} while(0) } while (0)
#define MLBMAILBOX_IRQENABLE___0_3ReadRegister32(base_address, bank)\ #define MLBMAILBOX_IRQENABLE___0_3ReadRegister32(base_address, bank)\
...@@ -198,7 +198,7 @@ do {\ ...@@ -198,7 +198,7 @@ do {\
register u32 newValue = ((u32)(value));\ register u32 newValue = ((u32)(value));\
_DEBUG_LEVEL_1_EASI(EASIL1_MLBMAILBOX_IRQENABLE___0_3WriteRegister32);\ _DEBUG_LEVEL_1_EASI(EASIL1_MLBMAILBOX_IRQENABLE___0_3WriteRegister32);\
WR_MEM_32_VOLATILE(((u32)(base_address))+offset, newValue);\ WR_MEM_32_VOLATILE(((u32)(base_address))+offset, newValue);\
} while(0) } while (0)
#endif /* USE_LEVEL_1_MACROS */ #endif /* USE_LEVEL_1_MACROS */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment