ramips: introduce ramips_soc_prom_init and move SoC detection into that
[openwrt/openwrt.git] / target / linux / ramips / files / arch / mips / ralink / common / prom.c
index fdbcb7979671e29872d05aa78d9427c3270c8207..d3f884b84433ffb0c828912cd601e0c5ce7a1824 100644 (file)
@@ -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,