linux-mips
[Top] [All Lists]

[PATCH 1/5] MIPS: bcm63xx: define SDRAM_MBASE_REG

To: ralf@linux-mips.org
Subject: [PATCH 1/5] MIPS: bcm63xx: define SDRAM_MBASE_REG
From: Florian Fainelli <florian@openwrt.org>
Date: Wed, 21 Sep 2011 15:39:43 +0200
Cc: linux-mips@linux-mips.org, Florian Fainelli <ffainelli@freebox.fr>, Florian Fainelli <florian@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
From: Florian Fainelli <ffainelli@freebox.fr>

This register offset in the SDRAM controller is going to be used by BCM6345.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
 arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h 
b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
index 0ed5230..6e803ac 100644
--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
+++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
@@ -734,6 +734,8 @@
 #define SDRAM_CFG_BANK_SHIFT           13
 #define SDRAM_CFG_BANK_MASK            (1 << SDRAM_CFG_BANK_SHIFT)
 
+#define SDRAM_MBASE_REG                        0xc
+
 #define SDRAM_PRIO_REG                 0x2C
 #define SDRAM_PRIO_MIPS_SHIFT          29
 #define SDRAM_PRIO_MIPS_MASK           (1 << SDRAM_PRIO_MIPS_SHIFT)
-- 
1.7.4.1


<Prev in Thread] Current Thread [Next in Thread>