diff options
author | James Thomas <james.thomas@codethink.co.uk> | 2014-12-04 12:02:43 +0000 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2014-12-04 09:57:10 -0700 |
commit | 287c88ac6aba58983d8e3dab7c69e60a8987faf8 (patch) | |
tree | af0a3e10bd4371eb6c2ee26c945eda10c47570f1 | |
parent | cd728fdb6c33125d340f0b84f50f1943ebfc4ec0 (diff) | |
download | tegra-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-x | tegra-uboot-flasher | 2 |
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 = '' |