From: CMY Date: Thu, 26 Jun 2014 06:29:01 +0000 (+0800) Subject: rk: p977: adjust lowmem/vmalloc area to 496/504 MB X-Git-Tag: firefly_0821_release~5041 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c7a375ec6eef6cc1c3334d6f4864d71c8388801d;p=firefly-linux-kernel-4.4.55.git rk: p977: adjust lowmem/vmalloc area to 496/504 MB --- diff --git a/arch/arm/boot/dts/rk3288-p977.dts b/arch/arm/boot/dts/rk3288-p977.dts index 1f9d623214db..fa69e5cef412 100755 --- a/arch/arm/boot/dts/rk3288-p977.dts +++ b/arch/arm/boot/dts/rk3288-p977.dts @@ -152,6 +152,25 @@ rockchip,remote_wakeup; rockchip,usb_irq_wakeup; }; + + chosen { + bootargs = "vmalloc=512M"; + }; + + ion { + compatible = "rockchip,ion"; + #address-cells = <1>; + #size-cells = <0>; + + rockchip,ion-heap@1 { /* CMA HEAP */ + compatible = "rockchip,ion-reserve"; + rockchip,ion_heap = <1>; + reg = <0x40000000 0x20000000>; /* 512MB */ + }; + rockchip,ion-heap@3 { /* VMALLOC HEAP */ + rockchip,ion_heap = <3>; + }; + }; }; &pinctrl { gpio0_gpio {