mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
ODOROID-C4/N2: arm64/dts: add 'clear-map' flag to clean up the memory on booting
drivers/base/dma-contiguous.c: ... #ifdef CONFIG_AMLOGIC_CMA if (of_get_flat_dt_prop(node, "clear-map", NULL)) cma_init_clear(cma, 1); #endif ... Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I59cf826e35ae2cc9a6d0bcd8d76c2466cc3e1554
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
size = <0x0 0x400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
alloc-ranges = <0x0 0x05000000 0x0 0x400000>;
|
||||
clear-map;
|
||||
};
|
||||
|
||||
secos_reserved:linux,secos {
|
||||
@@ -115,6 +116,7 @@
|
||||
size = <0x0 0x13400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
linux,contiguous-region;
|
||||
clear-map;
|
||||
};
|
||||
/* codec shared reserved */
|
||||
codec_mm_reserved:linux,codec_mm_reserved {
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
size = <0x0 0x400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
alloc-ranges = <0x0 0x05000000 0x0 0x400000>;
|
||||
clear-map;
|
||||
};
|
||||
|
||||
secos_reserved:linux,secos {
|
||||
@@ -104,6 +105,7 @@
|
||||
size = <0x0 0x13400000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
linux,contiguous-region;
|
||||
clear-map;
|
||||
};
|
||||
/* codec shared reserved */
|
||||
codec_mm_reserved:linux,codec_mm_reserved {
|
||||
|
||||
Reference in New Issue
Block a user