aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/uboot-script-gen8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen
index 6ae767e..66bcad7 100755
--- a/scripts/uboot-script-gen
+++ b/scripts/uboot-script-gen
@@ -87,10 +87,6 @@ function add_device_tree_kernel()
local size=$3
local bootargs=$4
- if test -z "$bootargs"
- then
- bootargs="console=ttyAMA0"
- fi
dt_mknode "$path" "module$addr"
dt_set "$path/module$addr" "compatible" "str_a" "multiboot,kernel multiboot,module"
dt_set "$path/module$addr" "reg" "hex" "0x0 $addr 0x0 $(printf "0x%x" $size)"
@@ -351,6 +347,10 @@ function xen_config()
then
DOMU_VCPUS[$i]=1
fi
+ if test -z "${DOMU_CMD[$i]}"
+ then
+ DOMU_CMD[$i]="console=ttyAMA0"
+ fi
i=$(( $i + 1 ))
done
}