Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306747
b: refs/heads/master
c: a255955
h: refs/heads/master
i:
  306745: 2fa7aa8
  306743: b1cea70
v: v3
  • Loading branch information
Hauke Mehrtens authored and John W. Linville committed May 16, 2012
1 parent f8a16ee commit c5f719f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0a2fcaa70ce96be6e663234072984fd2b0ffa36e
refs/heads/master: a25595562291baea4ccc2ed570dd15c638b67b21
2 changes: 2 additions & 0 deletions trunk/arch/mips/bcm47xx/sprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ static void bcm47xx_fill_sprom_r1234589(struct ssb_sprom *sprom,
const char *prefix)
{
nvram_read_u16(prefix, NULL, "boardrev", &sprom->board_rev, 0);
if (!sprom->board_rev)
nvram_read_u16(NULL, NULL, "boardrev", &sprom->board_rev, 0);
nvram_read_u16(prefix, NULL, "boardnum", &sprom->board_num, 0);
nvram_read_u8(prefix, NULL, "ledbh0", &sprom->gpio0, 0xff);
nvram_read_u8(prefix, NULL, "ledbh1", &sprom->gpio1, 0xff);
Expand Down

0 comments on commit c5f719f

Please sign in to comment.