update ar7 to 2.6.22.1 (thanks to Matteo Croce for his great help)
[openwrt/svn-archive/archive.git] / target / linux / ar7-2.6 / files / arch / mips / ar7 / setup.c
index 3b5215d7ed934d8f17c3d52a54adef96b15677a8..4abc39f1dfcc36f918cf75ccd12e1edcef1b78c0 100644 (file)
@@ -110,12 +110,15 @@ void __init plat_mem_setup(void)
 
        prom_meminit();
 #warning FIXME: clock initialisation
-       //ar7_init_clocks();
+       ar7_init_clocks();
 
        ioport_resource.start = 0;
        ioport_resource.end   = ~0;
        iomem_resource.start  = 0;
        iomem_resource.end    = ~0;
+
+       printk("%s, ID: 0x%04x, Revision: 0x%02x\n", get_system_type(), 
+               ar7_chip_id(), ar7_chip_rev());
 }
 
 console_initcall(ar7_init_console);