diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-06-12 19:17:57 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-06-12 19:17:57 +0000 |
commit | 6a5112a75054f4315c5042dcb83837dc35e0c488 (patch) | |
tree | 37d00c9aac134a7b17b855da089886dcfe2c33c1 /target/linux/adm5120/files/arch/mips/include/asm/mach-adm5120/adm5120_mpmc.h | |
parent | d3b8685cd79e04f6c215e13220b9ba8784ea7e0a (diff) | |
download | master-31e0f0ae-6a5112a75054f4315c5042dcb83837dc35e0c488.tar.gz master-31e0f0ae-6a5112a75054f4315c5042dcb83837dc35e0c488.tar.bz2 master-31e0f0ae-6a5112a75054f4315c5042dcb83837dc35e0c488.zip |
cleanup files using checkpatch.pl
SVN-Revision: 27162
Diffstat (limited to 'target/linux/adm5120/files/arch/mips/include/asm/mach-adm5120/adm5120_mpmc.h')
-rw-r--r-- | target/linux/adm5120/files/arch/mips/include/asm/mach-adm5120/adm5120_mpmc.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/target/linux/adm5120/files/arch/mips/include/asm/mach-adm5120/adm5120_mpmc.h b/target/linux/adm5120/files/arch/mips/include/asm/mach-adm5120/adm5120_mpmc.h index 5383659dbf..c4e9591fb8 100644 --- a/target/linux/adm5120/files/arch/mips/include/asm/mach-adm5120/adm5120_mpmc.h +++ b/target/linux/adm5120/files/arch/mips/include/asm/mach-adm5120/adm5120_mpmc.h @@ -44,25 +44,25 @@ #define MPMC_REG_SC3 0x0260 /* Control register bits */ -#define MPMC_CTRL_AM ( 1 << 1 ) /* Address Mirror */ -#define MPMC_CTRL_LPM ( 1 << 2 ) /* Low Power Mode */ -#define MPMC_CTRL_DWB ( 1 << 3 ) /* Drain Write Buffers */ +#define MPMC_CTRL_AM (1 << 1) /* Address Mirror */ +#define MPMC_CTRL_LPM (1 << 2) /* Low Power Mode */ +#define MPMC_CTRL_DWB (1 << 3) /* Drain Write Buffers */ /* Status register bits */ -#define MPMC_STATUS_BUSY ( 1 << 0 ) /* Busy */ -#define MPMC_STATUS_WBS ( 1 << 1 ) /* Write Buffer Status */ -#define MPMC_STATUS_SRA ( 1 << 2 ) /* Self-Refresh Acknowledge*/ +#define MPMC_STATUS_BUSY (1 << 0) /* Busy */ +#define MPMC_STATUS_WBS (1 << 1) /* Write Buffer Status */ +#define MPMC_STATUS_SRA (1 << 2) /* Self-Refresh Acknowledge*/ /* Dynamic Control register bits */ -#define MPMC_DC_CE ( 1 << 0 ) -#define MPMC_DC_DMC ( 1 << 1 ) -#define MPMC_DC_SRR ( 1 << 2 ) +#define MPMC_DC_CE (1 << 0) +#define MPMC_DC_DMC (1 << 1) +#define MPMC_DC_SRR (1 << 2) #define MPMC_DC_SI_SHIFT 7 -#define MPMC_DC_SI_MASK ( 3 << 7 ) -#define MPMC_DC_SI_NORMAL ( 0 << 7 ) -#define MPMC_DC_SI_MODE ( 1 << 7 ) -#define MPMC_DC_SI_PALL ( 2 << 7 ) -#define MPMC_DC_SI_NOP ( 3 << 7 ) +#define MPMC_DC_SI_MASK (3 << 7) +#define MPMC_DC_SI_NORMAL (0 << 7) +#define MPMC_DC_SI_MODE (1 << 7) +#define MPMC_DC_SI_PALL (2 << 7) +#define MPMC_DC_SI_NOP (3 << 7) #define SRAM_REG_CONF 0x00 #define SRAM_REG_WWE 0x04 |