Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #418 from sifive/fix-fixup-script
Browse files Browse the repository at this point in the history
Fix conditional in fixup-dts
  • Loading branch information
nategraff-sifive authored Nov 21, 2019
2 parents ebc350d + 775a32e commit c163b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fixup-dts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ if [ `grep -c 'stdout-path' ${dts}` -eq 0 ]; then
echo "$0: stdout-path property not given, but a UART device exists."

serial_node=`grep -oP "serial@[[:xdigit:]]+" ${dts} | sort | uniq | head -n 1`
if [ ${rtl} -eq 1 ] ; then
if [ "${rtl}" ] ; then
serial_path="/soc/${serial_node}:100000000"
else
serial_path="/soc/${serial_node}:115200"
Expand Down

0 comments on commit c163b98

Please sign in to comment.