aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/amazon/files/arch/mips/amazon/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/amazon/files/arch/mips/amazon/setup.c')
-rw-r--r--target/linux/amazon/files/arch/mips/amazon/setup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/amazon/files/arch/mips/amazon/setup.c b/target/linux/amazon/files/arch/mips/amazon/setup.c
index a96b565c69..45ff2544fc 100644
--- a/target/linux/amazon/files/arch/mips/amazon/setup.c
+++ b/target/linux/amazon/files/arch/mips/amazon/setup.c
@@ -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)