amazon: work on pci controller
[openwrt/staging/wigyori.git] / target / linux / amazon / files / arch / mips / amazon / setup.c
index a96b565c69fa3d27e7fb04e327721821513f5933..45ff2544fc3f937e367b0861bdddcca3309e2850 100644 (file)
@@ -155,6 +155,11 @@ void __init plat_mem_setup(void)
        amazon_writel(0x3fff, AMAZON_PMU_PWDCR);
        //reenable trace capability
        part_no = readl(AMAZON_BCU_ECON);
+
+       ioport_resource.start = IOPORT_RESOURCE_START;
+       ioport_resource.end = IOPORT_RESOURCE_END;
+       iomem_resource.start = IOMEM_RESOURCE_START;
+       iomem_resource.end = IOMEM_RESOURCE_END;
 }
 
 static void amazon_machine_restart(char *command)