summaryrefslogtreecommitdiff
path: root/kflash.sh
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-04-24 02:22:57 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-04-24 02:32:13 +0300
commit48512cf7bc96ee0cec85bc149b4183b9ca565855 (patch)
treeed929505a0bc8ebb63e0468290029d108e2eae8a /kflash.sh
parent60195fbe54c9c60f3b9a77c35bea6fafa7cdd788 (diff)
Turn dtbs platform variable into array
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'kflash.sh')
-rwxr-xr-xkflash.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/kflash.sh b/kflash.sh
index 0a91ec1..f8c4dd2 100755
--- a/kflash.sh
+++ b/kflash.sh
@@ -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/*\//}