mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
rk: memory: set vmalloc size to 496MB by default, so:
1. if memory is 256MB, then: 256MB(lowmem)+744MB(vmalloc)+0MB(highmem) 2. if memory is 512MB, then: 512MB(lowmem)+488MB(vmalloc)+0MB(highmem) 3. if memory is large then 512MB, then: 512MB(lowmem)+488MB(vmalloc)+other(highmem)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
};
|
||||
|
||||
chosen {
|
||||
bootargs = "vmalloc=512M clk_ignore_unused";
|
||||
bootargs = "vmalloc=496M clk_ignore_unused";
|
||||
};
|
||||
|
||||
pwm_regulator1:pwm-regulator1 {
|
||||
|
||||
@@ -152,10 +152,6 @@
|
||||
rockchip,remote_wakeup;
|
||||
rockchip,usb_irq_wakeup;
|
||||
};
|
||||
|
||||
chosen {
|
||||
bootargs = "vmalloc=512M";
|
||||
};
|
||||
};
|
||||
&pinctrl {
|
||||
gpio0_gpio {
|
||||
|
||||
@@ -155,10 +155,6 @@
|
||||
rockchip,remote_wakeup;
|
||||
rockchip,usb_irq_wakeup;
|
||||
};
|
||||
|
||||
chosen {
|
||||
bootargs = "vmalloc=512M";
|
||||
};
|
||||
};
|
||||
&pinctrl {
|
||||
gpio0_gpio {
|
||||
|
||||
@@ -171,9 +171,6 @@
|
||||
rockchip,remote_wakeup;
|
||||
rockchip,usb_irq_wakeup;
|
||||
};
|
||||
chosen {
|
||||
bootargs = "vmalloc=512M";
|
||||
};
|
||||
};
|
||||
|
||||
&gmac {
|
||||
|
||||
@@ -1364,4 +1364,8 @@
|
||||
pinctrl-1 = <&sdcard_vcc_18>;
|
||||
pinctrl-2 = <&sdcard_vcc_33>;
|
||||
};
|
||||
|
||||
chosen {
|
||||
bootargs = "vmalloc=496M";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user