diff options
Diffstat (limited to 'include/linux/bcma/bcma_driver_chipcommon.h')
| -rw-r--r-- | include/linux/bcma/bcma_driver_chipcommon.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma_driver_chipcommon.h b/include/linux/bcma/bcma_driver_chipcommon.h index 1cf1749440ac..145f3c56227f 100644 --- a/include/linux/bcma/bcma_driver_chipcommon.h +++ b/include/linux/bcma/bcma_driver_chipcommon.h | |||
| @@ -510,6 +510,7 @@ struct bcma_chipcommon_pmu { | |||
| 510 | 510 | ||
| 511 | #ifdef CONFIG_BCMA_DRIVER_MIPS | 511 | #ifdef CONFIG_BCMA_DRIVER_MIPS |
| 512 | struct bcma_pflash { | 512 | struct bcma_pflash { |
| 513 | bool present; | ||
| 513 | u8 buswidth; | 514 | u8 buswidth; |
| 514 | u32 window; | 515 | u32 window; |
| 515 | u32 window_size; | 516 | u32 window_size; |
| @@ -532,6 +533,7 @@ struct mtd_info; | |||
| 532 | 533 | ||
| 533 | struct bcma_nflash { | 534 | struct bcma_nflash { |
| 534 | bool present; | 535 | bool present; |
| 536 | bool boot; /* This is the flash the SoC boots from */ | ||
| 535 | 537 | ||
| 536 | struct mtd_info *mtd; | 538 | struct mtd_info *mtd; |
| 537 | }; | 539 | }; |
| @@ -552,6 +554,7 @@ struct bcma_drv_cc { | |||
| 552 | u32 capabilities; | 554 | u32 capabilities; |
| 553 | u32 capabilities_ext; | 555 | u32 capabilities_ext; |
| 554 | u8 setup_done:1; | 556 | u8 setup_done:1; |
| 557 | u8 early_setup_done:1; | ||
| 555 | /* Fast Powerup Delay constant */ | 558 | /* Fast Powerup Delay constant */ |
| 556 | u16 fast_pwrup_delay; | 559 | u16 fast_pwrup_delay; |
| 557 | struct bcma_chipcommon_pmu pmu; | 560 | struct bcma_chipcommon_pmu pmu; |
| @@ -583,6 +586,7 @@ struct bcma_drv_cc { | |||
| 583 | bcma_cc_write32(cc, offset, (bcma_cc_read32(cc, offset) & (mask)) | (set)) | 586 | bcma_cc_write32(cc, offset, (bcma_cc_read32(cc, offset) & (mask)) | (set)) |
| 584 | 587 | ||
| 585 | extern void bcma_core_chipcommon_init(struct bcma_drv_cc *cc); | 588 | extern void bcma_core_chipcommon_init(struct bcma_drv_cc *cc); |
| 589 | extern void bcma_core_chipcommon_early_init(struct bcma_drv_cc *cc); | ||
| 586 | 590 | ||
| 587 | extern void bcma_chipco_suspend(struct bcma_drv_cc *cc); | 591 | extern void bcma_chipco_suspend(struct bcma_drv_cc *cc); |
| 588 | extern void bcma_chipco_resume(struct bcma_drv_cc *cc); | 592 | extern void bcma_chipco_resume(struct bcma_drv_cc *cc); |
| @@ -606,6 +610,7 @@ u32 bcma_chipco_gpio_polarity(struct bcma_drv_cc *cc, u32 mask, u32 value); | |||
| 606 | 610 | ||
| 607 | /* PMU support */ | 611 | /* PMU support */ |
| 608 | extern void bcma_pmu_init(struct bcma_drv_cc *cc); | 612 | extern void bcma_pmu_init(struct bcma_drv_cc *cc); |
| 613 | extern void bcma_pmu_early_init(struct bcma_drv_cc *cc); | ||
| 609 | 614 | ||
| 610 | extern void bcma_chipco_pll_write(struct bcma_drv_cc *cc, u32 offset, | 615 | extern void bcma_chipco_pll_write(struct bcma_drv_cc *cc, u32 offset, |
| 611 | u32 value); | 616 | u32 value); |
