[meta-xilinx] [PATCH v2 3/3] device-tree.bb: Add variable to override device tree padding size

Manjukumar Matha manjukumar.harthikote-matha at xilinx.com
Thu Nov 30 15:27:31 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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-bsp/device-tree/device-tree.bb b/recipes-bsp/device-tree/device-tree.bb
index ee22c6d..4d0ca6b 100644
--- a/recipes-bsp/device-tree/device-tree.bb
+++ b/recipes-bsp/device-tree/device-tree.bb
@@ -37,6 +37,7 @@ KERNEL_DTS_INCLUDE_append_zynqmp = " \
 DTS_INCLUDE ?= "${S} ${KERNEL_DTS_INCLUDE}"
 DTS_FILES_PATH ?= "${S}"
 
+DT_PADDING_SIZE ?= "0x3000"
 DEVICETREE_FLAGS ?= " \
 		-R 8 -p ${DT_PADDING_SIZE} -b 0 \
 		${@' '.join(['-i %s' % i for i in d.getVar('DTS_INCLUDE', True).split()])} \
-- 
2.7.4




More information about the meta-xilinx mailing list