Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284729
b: refs/heads/master
c: be5f362
h: refs/heads/master
i:
  284727: 104d781
v: v3
  • Loading branch information
Gabor Juhos authored and Ralf Baechle committed Dec 7, 2011
1 parent 119723a commit 1ea2947
Show file tree
Hide file tree
Showing 4 changed files with 5 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: 2dc7b4a1977e3bd3b7c819c63cab1baf7d260d89
refs/heads/master: be5f3623204e15cb8a95a6d381ae6eb074ba46b5
1 change: 1 addition & 0 deletions trunk/arch/mips/ath79/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ u32 ath79_ddr_freq;
EXPORT_SYMBOL_GPL(ath79_ddr_freq);

enum ath79_soc_type ath79_soc;
unsigned int ath79_soc_rev;

void __iomem *ath79_pll_base;
void __iomem *ath79_reset_base;
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/mips/ath79/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ static void __init ath79_detect_sys_type(void)
panic("ath79: unknown SoC, id:0x%08x\n", id);
}

ath79_soc_rev = rev;

sprintf(ath79_sys_type, "Atheros AR%s rev %u", chip, rev);
pr_info("SoC: %s\n", ath79_sys_type);
}
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/mips/include/asm/mach-ath79/ath79.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ enum ath79_soc_type {
};

extern enum ath79_soc_type ath79_soc;
extern unsigned int ath79_soc_rev;

static inline int soc_is_ar71xx(void)
{
Expand Down

0 comments on commit 1ea2947

Please sign in to comment.