[meta-xilinx] [PATCH 3/3] device-tree.bb: Add variable to override device tree padding size
Manjukumar Matha
manjukumar.harthikote-matha at xilinx.com
Thu Nov 30 00:18:01 PST 2017
Add DT_PADDING_SIZE variable which can override the default setting.
There are instances where it is necessary to change device tree padding
size.
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
---
recipes-bsp/device-tree/device-tree.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/recipes-bsp/device-tree/device-tree.bb b/recipes-bsp/device-tree/device-tree.bb
index bb2e968..b25e24d 100644
--- a/recipes-bsp/device-tree/device-tree.bb
+++ b/recipes-bsp/device-tree/device-tree.bb
@@ -36,8 +36,9 @@ KERNEL_DTS_INCLUDE_append_zynqmp = " \
DEVICETREE_WORKDIR ?= "${S}"
+DT_PADDING_SIZE ?= "0x3000"
DEVICETREE_FLAGS ?= " \
- -R 8 -p 0x3000 -b 0 -i ${DEVICETREE_WORKDIR} \
+ -R 8 -p ${DT_PADDING_SIZE} -b 0 -i ${DEVICETREE_WORKDIR} \
${@' '.join(['-i %s' % i for i in d.getVar('KERNEL_DTS_INCLUDE', True).split()])} \
"
DEVICETREE_OFLAGS ?= "-@ -H epapr"
--
2.7.4
More information about the meta-xilinx
mailing list