Use hex (x) type argument for fdtput when writing bootdelay
PATCH 1/1 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 <[email protected]>
--- tegra-uboot-flasher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tegra-uboot-flasher +1 -1
@@ -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 = ''
Signature · 1 line
1.9.3
A message that is not in the archive (sent off-list or not yet received): 1417694563-17844-1-git-send-email-james.thomas-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org
Stephen Warren
AppliedQuoted 2 lines · James Thomas
This ensures the correct value (-2) is set on both 32-bit and 64-bit systems
I've applied this. Thanks.