X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/18a076fccdba90cd7bea1dd4cff1b6b0559b75f0..0338679a1a20d4eda1a60334f0aa0bca96690d51:/target/linux/lantiq/patches/110-machine.patch diff --git a/target/linux/lantiq/patches/110-machine.patch b/target/linux/lantiq/patches/110-machine.patch index 9d0b7b71c..cf4652ec2 100644 --- a/target/linux/lantiq/patches/110-machine.patch +++ b/target/linux/lantiq/patches/110-machine.patch @@ -1,6 +1,6 @@ --- a/arch/mips/lantiq/setup.c +++ b/arch/mips/lantiq/setup.c -@@ -13,7 +13,8 @@ +@@ -12,7 +12,8 @@ #include #include @@ -10,7 +10,15 @@ void __init plat_mem_setup(void) -@@ -46,3 +47,25 @@ plat_mem_setup(void) +@@ -31,6 +32,7 @@ + ioport_resource.end = IOPORT_RESOURCE_END; + iomem_resource.start = IOMEM_RESOURCE_START; + iomem_resource.end = IOMEM_RESOURCE_END; ++ set_io_port_base((unsigned long) KSEG1); + + while (*envp) + { +@@ -45,3 +47,25 @@ memsize *= 1024 * 1024; add_memory_region(0x00000000, memsize, BOOT_MEM_RAM); }