summaryrefslogtreecommitdiffstats
path: root/drivers/bcma
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-09-29 20:33:49 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-10-19 15:52:32 -0400
commit360dc31e9cc3f74d0d91a9d19b154c12592f4ffc (patch)
tree1100738782a81d10dfb613283c947f7dfaf9cf5c /drivers/bcma
parent30cfb023019b347cdfd39bd5039d2118a1bd224a (diff)
downloadop-kernel-dev-360dc31e9cc3f74d0d91a9d19b154c12592f4ffc.zip
op-kernel-dev-360dc31e9cc3f74d0d91a9d19b154c12592f4ffc.tar.gz
bcma: mark pflash as present when available
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma')
-rw-r--r--drivers/bcma/driver_mips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bcma/driver_mips.c b/drivers/bcma/driver_mips.c
index f44f1fb..c0fb1d4 100644
--- a/drivers/bcma/driver_mips.c
+++ b/drivers/bcma/driver_mips.c
@@ -190,6 +190,7 @@ static void bcma_core_mips_flash_detect(struct bcma_drv_mips *mcore)
break;
case BCMA_CC_FLASHT_PARA:
bcma_debug(bus, "Found parallel flash\n");
+ bus->drv_cc.pflash.present = true;
bus->drv_cc.pflash.window = 0x1c000000;
bus->drv_cc.pflash.window_size = 0x02000000;
OpenPOWER on IntegriCloud