Cleanup system code and use definitions
[openwrt.git] / target / linux / adm5120-2.6 / files / arch / mips / adm5120 / prom.c
index ba8051e..e644fc3 100644 (file)
@@ -29,6 +29,8 @@
 #include <asm/bootinfo.h>
 #include <asm/addrspace.h>
 
+#include <adm5120_info.h>
+
 void setup_prom_printf(int);
 void prom_printf(char *, ...);
 void prom_meminit(void);
@@ -95,6 +97,7 @@ char *prom_getenv(char *envname)
        printk(KERN_INFO "GETENV: not found.\n");
        return(NULL);
 }
+
        
 /*
  * initialize the prom module.
@@ -104,9 +107,11 @@ void __init prom_init(void)
        /* you should these macros defined in include/asm/bootinfo.h */
        mips_machgroup = MACH_GROUP_ADM_GW;
        mips_machtype = MACH_ADM_GW_5120;
+       
+       adm5120_info_init();
 
        /* init command line, register a default kernel command line */
-       strcpy(&(arcs_cmdline[0]), "console=ttyS0,115200 rootfstype=jffs2 init=/etc/preinit");
+       strcpy(&(arcs_cmdline[0]), "console=ttyS0,115200 rootfstype=squashfs,jffs2 init=/etc/preinit");
 
        /* init memory map */
        prom_meminit();
This page took 0.022416 seconds and 4 git commands to generate.