diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-04-24 02:22:57 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-04-24 02:32:13 +0300 |
commit | 48512cf7bc96ee0cec85bc149b4183b9ca565855 (patch) | |
tree | ed929505a0bc8ebb63e0468290029d108e2eae8a /kflash.sh | |
parent | 60195fbe54c9c60f3b9a77c35bea6fafa7cdd788 (diff) |
Turn dtbs platform variable into array
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'kflash.sh')
-rwxr-xr-x | kflash.sh | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -324,8 +324,7 @@ for part_name in ${partitions[@]} ; do dt) # For DT, only flash the first entry. This can be improved later if # needed. - read -ra _dtbs <<< "$dtbs" - _dtb=${_dtbs[0]} + _dtb=${dtbs[0]} _dtb_src="$output_dir/arch/${arch}/boot/dts/${_dtb/:*/}" _dtb_dst=${_dtb/*:/} _dtb_dst=${_dtb_dst/*\//} |