ixp4xx/apex: Limit ram size to 64MB
[openwrt.git] / target / linux / ixp4xx / patches-2.6.26 / 162-wg302v1_mem_fixup.patch
index f89698cca4d7670cc30a5b287d3c5a60157f29a6..684db44751338ed1aad740f737a777c0848cafc4 100644 (file)
@@ -1,7 +1,7 @@
 --- a/arch/arm/mach-ixp4xx/wg302v1-setup.c
 +++ b/arch/arm/mach-ixp4xx/wg302v1-setup.c
-@@ -100,6 +100,36 @@
-       &wg302_eth[0],
+@@ -115,6 +115,36 @@ static struct platform_device *wg302v1_d
+       &wg302v1_eth[0],
  };
  
 +static char wg302v1_mem_fixup[] __initdata = "mem=32M ";
@@ -37,7 +37,7 @@
  static void __init wg302v1_init(void)
  {
        ixp4xx_sys_init();
-@@ -118,6 +148,7 @@
+@@ -133,6 +163,7 @@ MACHINE_START(WG302V1, "Netgear WG302 v1
        /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
        .phys_io        = IXP4XX_PERIPHERAL_BASE_PHYS,
        .io_pg_offst    = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,