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-ma...@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

-- 
_______________________________________________
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to