bcma: support chipsets with PMU and GCI cores (devices)
authorRafał Miłecki <zajec5@gmail.com>
Fri, 15 Jan 2016 23:48:53 +0000 (00:48 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 6 Feb 2016 11:34:51 +0000 (13:34 +0200)
Both cores are another exceptions. They are not accessed in a standard
way and to they don't need or have wrapping addresses.
This fixes bus scanning after finding such core.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/bcma/scan.c

index 5ee731132365d4d52dde5ca7c76f412d76cedd64..4a2d1b235fb5af3e51ac8b044e6a18aed5753cec 100644 (file)
@@ -318,6 +318,8 @@ static int bcma_get_next_core(struct bcma_bus *bus, u32 __iomem **eromptr,
                switch (core->id.id) {
                case BCMA_CORE_4706_MAC_GBIT_COMMON:
                case BCMA_CORE_NS_CHIPCOMMON_B:
+               case BCMA_CORE_PMU:
+               case BCMA_CORE_GCI:
                /* Not used yet: case BCMA_CORE_OOB_ROUTER: */
                        break;
                default: