fixes ifxmips pci support and adds GENERIC_GPIO
[openwrt/svn-archive/archive.git] / target / linux / ifxmips / files / arch / mips / ifxmips / board.c
index 580dc6a8f7bad30e19ff67770bd7d68caf05b9d4..bcbf117e896b26d990c1e65f6c17d581c2c5d889 100644 (file)
@@ -99,7 +99,7 @@ static struct platform_device ifxmips_mtd[] =
 const char*
 get_system_type (void)
 {
-       chiprev = readl(IFXMIPS_MPS_CHIPID);
+       chiprev = ifxmips_r32(IFXMIPS_MPS_CHIPID);
        switch(chiprev)
        {
        case BOARD_DANUBE_CHIPID: