From: Bhargava Sreekantappa Gayathri <[email protected]>

set_hw_design function now takes dsa_type as an argument. This patch
updates this function call in dtgen.tcl

Signed-off-by: Bhargava Sreekantappa Gayathri 
<[email protected]>
Signed-off-by: Manjukumar Matha <[email protected]>
---
 scripts/dtgen.tcl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/dtgen.tcl b/scripts/dtgen.tcl
index 01b497c..4cce93f 100644
--- a/scripts/dtgen.tcl
+++ b/scripts/dtgen.tcl
@@ -2,6 +2,7 @@ set dir [file dirname [info script]]
 source $dir/base-hsi.tcl
 set option {
        {hdf.arg        ""                      "hardware Definition file"}
+       {hdf_type.arg   ""                      "hardware Defination file type: 
hdf or dsa"}
        {processor.arg  ""                      "target processor"}
        {rp.arg         ""                      "repo path"}
        {app.arg        "empty_application"     "Application project fsbl, 
empty.."}
@@ -19,7 +20,7 @@ set usage "A script to generate and compile device-tree"
 array set params [::cmdline::getoptions argv $option $usage]
 set project "$params(ws)/$params(pname)"
 
-set_hw_design $project $params(hdf)
+set_hw_design $project $params(hdf) $params(hdf_type)
 
 if { [catch {hsi set_repo_path $params(rp)} res] } {
        error "Failed to set repo path $params(rp)"
-- 
2.7.4

-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to