Skip to content
This repository was archived by the owner on Oct 5, 2018. It is now read-only.

Commit 83e5381

Browse files
author
Guodong Xu
committed
Merge pull request #151 from xin3liang/hikey-test
Revert "dts: hi6220: Move cma size configuration to 'reserved-memory'
2 parents cc986bb + 66866dc commit 83e5381

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

arch/arm64/boot/dts/hi6220-hikey.dts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,6 @@
5656
no-map;
5757
reg = <0x0 0x06dff000 0x0 0x00001000>; /* Mailbox message buf */
5858
};
59-
60-
/* global autoconfigured region for contiguous allocations
61-
* e.g. for graphic usage */
62-
linux,cma {
63-
compatible = "shared-dma-pool";
64-
reusable;
65-
size = <0x0 0x8000000>; /* 128M */
66-
alignment = <0x0 0x2000>; /* 4k page alignment */
67-
linux,cma-default;
68-
};
6959
};
7060

7161
smb {

arch/arm64/configs/defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ CONFIG_DEVTMPFS=y
208208
CONFIG_DEVTMPFS_MOUNT=y
209209
CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
210210
CONFIG_DMA_CMA=y
211+
CONFIG_CMA_SIZE_MBYTES=128
211212
CONFIG_CONNECTOR=y
212213
CONFIG_BLK_DEV_LOOP=y
213214
CONFIG_BLK_DEV_RAM=y

0 commit comments

Comments
 (0)