Skip to contentSkip to conversation

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

PATCH Arago Project git 1 participant 1 message Nov 18, 2016

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: krogoth
Commit: 0e87d6fbf9f9369fe9f43969c8c37b9105f3af5e
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=0e87d6fbf9f9369fe9f43969c8c37b9105f3af5e
Author: Denys Dmytriyenko <[email protected]>
Date:   Fri Nov 18 03:08:02 2016 +0000

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

---

 recipes-kernel/linux/cmem.inc                      |    3 +
 ...stone-Remove-reg-entry-from-the-sram-node.patch |   79 ++++++++++++++++++++
 2 files changed, 82 insertions(+), 0 deletions(-)
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