1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-07-15 22:08:39 +00:00

linux/cmem: patch keystone dtsi files to co-exist with new sram driver

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Denys Dmytriyenko
2016-11-18 03:08:02 +00:00
parent af2cbf00fc
commit b9dbc83d76
2 changed files with 82 additions and 0 deletions
+3
View File
@@ -24,6 +24,9 @@ CMEM_DEVICETREE_dra74x = "dra7-evm.dtb dra7-evm-lcd-lg.dtb dra7-evm-lcd-osd.dtb
# Flag to enable CMEM injection
RESERVE_CMEM ?= "0"
# Need to patch main keystone dtsi files sram entry
SRC_URI_append_keystone = "${@base_conditional("RESERVE_CMEM", "1", " file://0001-ARM-dts-keystone-Remove-reg-entry-from-the-sram-node.patch", "", d)}"
# Add correct cmem.dtsi to SRC_URI for each variant for a given machine
python() {
old_overrides = d.getVar('OVERRIDES', False)