mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-06-29 23:43:21 -04:00
dts: cma-memory: Fix the conflict between dtb memory and cma reserved memory
1. Dtb memory is allocated by grub/uboot and passed to the kernel Change-Id: I411c1b9b9c4cbf4f3afdf078321d2bd094b087fa Signed-off-by: lijuan <juan.li@spacemit.com>
This commit is contained in:
parent
208bd98a19
commit
eda1141990
1 changed files with 2 additions and 2 deletions
|
@ -94,8 +94,8 @@
|
|||
|
||||
linux,cma {
|
||||
compatible = "shared-dma-pool";
|
||||
/* alloc memory from 0x40000000~0x80000000 */
|
||||
alloc-ranges = <0 0x40000000 0 0x40000000>;
|
||||
/* alloc memory from 0x40000000~0x70000000 */
|
||||
alloc-ranges = <0 0x40000000 0 0x30000000>;
|
||||
/* size of cma buffer is 384MByte */
|
||||
size = <0 0x18000000>;
|
||||
/* start address is 1Mbyte aligned */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue