diff options
| author | Florian Fainelli <florian@openwrt.org> | 2009-06-26 11:08:12 +0000 |
|---|---|---|
| committer | Florian Fainelli <florian@openwrt.org> | 2009-06-26 11:08:12 +0000 |
| commit | 8c4137900ccec1c1dbfaa0cde60177bc0d59f7bc (patch) | |
| tree | 414766c5e9fcfca1ebfc66ee71b5d027ed0f1768 /target/linux/brcm63xx/files/include | |
| parent | 45c25ff988ecfe5ef51d8901b329b5b1f9c66670 (diff) | |
| download | upstream-8c4137900ccec1c1dbfaa0cde60177bc0d59f7bc.tar.gz upstream-8c4137900ccec1c1dbfaa0cde60177bc0d59f7bc.tar.bz2 upstream-8c4137900ccec1c1dbfaa0cde60177bc0d59f7bc.zip | |
define bcm6338 SDRAM base register and make sure that the right CPU id will be used to detect a bcm6338
SVN-Revision: 16567
Diffstat (limited to 'target/linux/brcm63xx/files/include')
| -rw-r--r-- | target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_cpu.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_cpu.h b/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_cpu.h index 2ad2c9dc99f..1819dc1b2c1 100644 --- a/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_cpu.h +++ b/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_cpu.h @@ -134,7 +134,9 @@ enum bcm63xx_regs_set { #define BCM_6338_USBDMA_BASE (0xfffe2400) #define BCM_6338_ENET0_BASE (0xfffe2800) #define BCM_6338_UDC0_BASE (0xfffe3000) /* USB_CTL_BASE */ -#define BCM_6338_MEMC_BASE (0xfffe3100) +#define BCM_6338_SDRAM_REGS_BASE (0xfffe3100) +#define BCM_6338_SDRAM_BASE (0xfffe3100) +#define BCM_6338_MEMC_BASE (0xdeadbeef) /* * 6345 register sets base address @@ -225,6 +227,8 @@ static inline unsigned long bcm63xx_regset_address(enum bcm63xx_regs_set set) return BCM_6338_SPI_BASE; case RSET_MEMC: return BCM_6338_MEMC_BASE; + case RSET_SDRAM: + return BCM_6338_SDRAM_BASE; } #endif #ifdef CONFIG_BCM63XX_CPU_6345 |
