Skip to contentSkip to conversation

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

PATCH New Denys Dmytriyenko 1 participant 1 message Nov 17, 2016

lore
Share & tools
lore
#0 lore raw

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

From: Denys Dmytriyenko <[email protected]>

---
 recipes-kernel/linux/cmem.inc                      |  3 +
 ...stone-Remove-reg-entry-from-the-sram-node.patch | 79 ++++++++++++++++++++++
 2 files changed, 82 insertions(+)
 create mode 100644 recipes-kernel/linux/files/0001-ARM-dts-keystone-Remove-reg-entry-from-the-sram-node.patch
recipes-kernel/linux/cmem.inc +3 -0
index d4edc60..649b59d 100644
@@ -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)
recipes-kernel/linux/files/0001-ARM-dts-keystone-Remove-reg-entry-from-the-sram-node.patch new file +79 -0

79 lines not on this page · raw message

Signature · 1 line
2.7.4