Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134414
b: refs/heads/master
c: c970314
h: refs/heads/master
v: v3
  • Loading branch information
Michael Buesch authored and John W. Linville committed Feb 9, 2009
1 parent 2f8ef5a commit a16077a
Show file tree
Hide file tree
Showing 5 changed files with 735 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: baf62eecfa75a26682efdfed0d74256992a47e6b
refs/heads/master: c9703146158c0415a60799570397e488bc982af5
1 change: 1 addition & 0 deletions trunk/drivers/ssb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ssb-$(CONFIG_SSB_PCMCIAHOST) += pcmcia.o

# built-in drivers
ssb-y += driver_chipcommon.o
ssb-y += driver_chipcommon_pmu.o
ssb-$(CONFIG_SSB_DRIVER_MIPS) += driver_mipscore.o
ssb-$(CONFIG_SSB_DRIVER_EXTIF) += driver_extif.o
ssb-$(CONFIG_SSB_DRIVER_PCICORE) += driver_pcicore.o
Expand Down
14 changes: 1 addition & 13 deletions trunk/drivers/ssb/driver_chipcommon.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,6 @@ enum ssb_clksrc {
};


static inline u32 chipco_read32(struct ssb_chipcommon *cc,
u16 offset)
{
return ssb_read32(cc->dev, offset);
}

static inline void chipco_write32(struct ssb_chipcommon *cc,
u16 offset,
u32 value)
{
ssb_write32(cc->dev, offset, value);
}

static inline u32 chipco_write32_masked(struct ssb_chipcommon *cc, u16 offset,
u32 mask, u32 value)
{
Expand Down Expand Up @@ -246,6 +233,7 @@ void ssb_chipcommon_init(struct ssb_chipcommon *cc)
{
if (!cc->dev)
return; /* We don't have a ChipCommon */
ssb_pmu_init(cc);
chipco_powercontrol_init(cc);
ssb_chipco_set_clockmode(cc, SSB_CLKMODE_FAST);
calc_fast_powerup_delay(cc);
Expand Down
Loading

0 comments on commit a16077a

Please sign in to comment.