diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/au1000/pb1200/board_setup.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/mips/au1000/pb1200/board_setup.c b/arch/mips/au1000/pb1200/board_setup.c index 043302b7fe58..eea2092bde8d 100644 --- a/arch/mips/au1000/pb1200/board_setup.c +++ b/arch/mips/au1000/pb1200/board_setup.c | |||
@@ -131,14 +131,7 @@ void __init board_setup(void) | |||
131 | /* The Pb1200 development board uses external MUX for PSC0 to | 131 | /* The Pb1200 development board uses external MUX for PSC0 to |
132 | support SMB/SPI. bcsr->resets bit 12: 0=SMB 1=SPI | 132 | support SMB/SPI. bcsr->resets bit 12: 0=SMB 1=SPI |
133 | */ | 133 | */ |
134 | #if defined(CONFIG_AU1XXX_PSC_SPI) && defined(CONFIG_I2C_AU1550) | 134 | #ifdef CONFIG_I2C_AU1550 |
135 | #error I2C and SPI are mutually exclusive. Both are physically connected to PSC0.\ | ||
136 | Refer to Pb1200/Db1200 documentation. | ||
137 | #elif defined( CONFIG_AU1XXX_PSC_SPI ) | ||
138 | bcsr->resets |= BCSR_RESETS_PCS0MUX; | ||
139 | /*Hard Coding Value to enable Temp Sensors [bit 14] Value for SOC Au1200. Pls refer documentation*/ | ||
140 | bcsr->resets =0x900f; | ||
141 | #elif defined( CONFIG_I2C_AU1550 ) | ||
142 | bcsr->resets &= (~BCSR_RESETS_PCS0MUX); | 135 | bcsr->resets &= (~BCSR_RESETS_PCS0MUX); |
143 | #endif | 136 | #endif |
144 | au_sync(); | 137 | au_sync(); |