diff options
Diffstat (limited to 'drivers/ssb/driver_mipscore.c')
-rw-r--r-- | drivers/ssb/driver_mipscore.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/ssb/driver_mipscore.c b/drivers/ssb/driver_mipscore.c index c6250867a95d..dcad2c40836e 100644 --- a/drivers/ssb/driver_mipscore.c +++ b/drivers/ssb/driver_mipscore.c | |||
@@ -192,9 +192,9 @@ static void ssb_mips_flash_detect(struct ssb_mipscore *mcore) | |||
192 | 192 | ||
193 | /* When there is no chipcommon on the bus there is 4MB flash */ | 193 | /* When there is no chipcommon on the bus there is 4MB flash */ |
194 | if (!bus->chipco.dev) { | 194 | if (!bus->chipco.dev) { |
195 | mcore->flash_buswidth = 2; | 195 | mcore->pflash.buswidth = 2; |
196 | mcore->flash_window = SSB_FLASH1; | 196 | mcore->pflash.window = SSB_FLASH1; |
197 | mcore->flash_window_size = SSB_FLASH1_SZ; | 197 | mcore->pflash.window_size = SSB_FLASH1_SZ; |
198 | return; | 198 | return; |
199 | } | 199 | } |
200 | 200 | ||
@@ -206,13 +206,13 @@ static void ssb_mips_flash_detect(struct ssb_mipscore *mcore) | |||
206 | break; | 206 | break; |
207 | case SSB_CHIPCO_FLASHT_PARA: | 207 | case SSB_CHIPCO_FLASHT_PARA: |
208 | pr_debug("Found parallel flash\n"); | 208 | pr_debug("Found parallel flash\n"); |
209 | mcore->flash_window = SSB_FLASH2; | 209 | mcore->pflash.window = SSB_FLASH2; |
210 | mcore->flash_window_size = SSB_FLASH2_SZ; | 210 | mcore->pflash.window_size = SSB_FLASH2_SZ; |
211 | if ((ssb_read32(bus->chipco.dev, SSB_CHIPCO_FLASH_CFG) | 211 | if ((ssb_read32(bus->chipco.dev, SSB_CHIPCO_FLASH_CFG) |
212 | & SSB_CHIPCO_CFG_DS16) == 0) | 212 | & SSB_CHIPCO_CFG_DS16) == 0) |
213 | mcore->flash_buswidth = 1; | 213 | mcore->pflash.buswidth = 1; |
214 | else | 214 | else |
215 | mcore->flash_buswidth = 2; | 215 | mcore->pflash.buswidth = 2; |
216 | break; | 216 | break; |
217 | } | 217 | } |
218 | } | 218 | } |