Skip to content

Commit

Permalink
plat-hikey: Add linaro,secure-heap compatible
Browse files Browse the repository at this point in the history
Add DMABUF_HEAPS_SECURE in defconfig

Signed-off-by: Olivier Masse <[email protected]>
  • Loading branch information
omasse-linaro committed Jun 22, 2022
1 parent e474a94 commit 0cbd002
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,17 @@
};
};

reserved-memory {
#address-cells = <2>;
#size-cells = <2>;

sdp@3e800000 {
compatible = "linaro,secure-heap";
no-map;
reg = <0 0x3E800000 0 0x00400000>;
};
};

sound_card {
compatible = "audio-graph-card";
dais = <&i2s0_port0>;
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/configs/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1235,6 +1235,10 @@ CONFIG_CRYPTO_DEV_HISI_SEC2=m
CONFIG_CRYPTO_DEV_HISI_ZIP=m
CONFIG_CRYPTO_DEV_HISI_HPRE=m
CONFIG_CRYPTO_DEV_HISI_TRNG=m
CONFIG_DMABUF_HEAPS=y
CONFIG_DMABUF_HEAPS_DEFERRED_FREE=y
CONFIG_DMABUF_HEAPS_PAGE_POOL=y
CONFIG_DMABUF_HEAPS_SECURE=y
CONFIG_CMA_SIZE_MBYTES=32
CONFIG_PRINTK_TIME=y
CONFIG_DEBUG_INFO=y
Expand Down

0 comments on commit 0cbd002

Please sign in to comment.