diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-11 19:05:53 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-11 19:05:53 +0000 |
commit | ef72092022bd4d893ec52b662fd809f045933c67 (patch) | |
tree | 118e6872dc0a7554fe29faba0ebfd5c06d9a2f58 /target/linux/ramips/files/arch/mips/ralink/common | |
parent | c1db1347f6f1b0dd17a89722fe5b82b66dbeb8e7 (diff) | |
download | upstream-ef72092022bd4d893ec52b662fd809f045933c67.tar.gz upstream-ef72092022bd4d893ec52b662fd809f045933c67.tar.bz2 upstream-ef72092022bd4d893ec52b662fd809f045933c67.zip |
ramips: introduce ramips_soc_prom_init and move SoC detection into that
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30887 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/common')
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/common/prom.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/common/prom.c b/target/linux/ramips/files/arch/mips/ralink/common/prom.c index fdbcb79796..d3f884b844 100644 --- a/target/linux/ramips/files/arch/mips/ralink/common/prom.c +++ b/target/linux/ramips/files/arch/mips/ralink/common/prom.c @@ -143,6 +143,8 @@ void __init prom_init(void) char **envp; char **argv; + ramips_soc_prom_init(); + printk(KERN_DEBUG "prom: fw_arg0=%08x, fw_arg1=%08x, fw_arg2=%08x, fw_arg3=%08x\n", (unsigned int)fw_arg0, (unsigned int)fw_arg1, |