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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user