commented early_printk patch because of rejects.
[linux-flexiantxendom0-3.2.10.git] / arch / mips / ite-boards / qed-4n-s01b / init.c
index 73b62a3..bc3d5e0 100644 (file)
@@ -1,5 +1,4 @@
 /*
- *
  * BRIEF MODULE DESCRIPTION
  *     IT8172/QED5231 board setup.
  *
  *  with this program; if not, write  to the Free Software Foundation, Inc.,
  *  675 Mass Ave, Cambridge, MA 02139, USA.
  */
-
 #include <linux/init.h>
 #include <linux/mm.h>
 #include <linux/sched.h>
 #include <linux/bootmem.h>
 #include <asm/addrspace.h>
 #include <asm/bootinfo.h>
-#include <linux/config.h>
 #include <linux/string.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
@@ -52,6 +49,10 @@ extern void __init it8172_init_ram_resource(unsigned long memsize);
 #define PFN_UP(x)      (((x) + PAGE_SIZE-1) >> PAGE_SHIFT)
 #define PFN_ALIGN(x)   (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
 
+const char *get_system_type(void)
+{
+       return "ITE QED-4N-S01B";
+}
 
 int __init prom_init(int argc, char **argv, char **envp, int *prom_vec)
 {
@@ -78,7 +79,7 @@ int __init prom_init(int argc, char **argv, char **envp, int *prom_vec)
         * make the entire physical memory visible to pci bus masters
         */
        IT_READ(IT_MC_PCICR, pcicr);
-       pcicr &= ~0x1f; 
+       pcicr &= ~0x1f;
        pcicr |= (mem_size - 1) >> 22;
        IT_WRITE(IT_MC_PCICR, pcicr);