summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Thomas <james.thomas@codethink.co.uk>2014-12-04 12:02:43 +0000
committerStephen Warren <swarren@nvidia.com>2014-12-04 09:57:10 -0700
commit287c88ac6aba58983d8e3dab7c69e60a8987faf8 (patch)
treeaf0a3e10bd4371eb6c2ee26c945eda10c47570f1
parentcd728fdb6c33125d340f0b84f50f1943ebfc4ec0 (diff)
downloadtegra-uboot-flasher-scripts-287c88ac6aba58983d8e3dab7c69e60a8987faf8.tar.gz
Use hex (x) type argument for fdtput when writing bootdelay
This ensures the correct value (-2) is set on both 32-bit and 64-bit systems Signed-off-by: James Thomas <james.thomas@codethink.co.uk> Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rwxr-xr-xtegra-uboot-flasher2
1 files changed, 1 insertions, 1 deletions
diff --git a/tegra-uboot-flasher b/tegra-uboot-flasher
index b71f967..69f9262 100755
--- a/tegra-uboot-flasher
+++ b/tegra-uboot-flasher
@@ -195,7 +195,7 @@ def func_flash():
cp(u_boot_dtb, u_boot_dtb_runflash)
# 0xfffffffe==-2; never delay or interrupt
- cmd = ['fdtput', '-p', '-t', 'i', u_boot_dtb_runflash, '/config', 'bootdelay', '0xfffffffe']
+ cmd = ['fdtput', '-p', '-t', 'x', u_boot_dtb_runflash, '/config', 'bootdelay', '0xfffffffe']
run(workdir, cmd)
bootcmd = ''