Skip to contentSkip to conversation

Use hex (x) type argument for fdtput when writing bootdelay

PATCH Applied James Thomas 2 participants 2 messages Dec 4, 2014 1 message not in the archive Tegra architecture support

lore
Share & tools
lore
#0 lore raw

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

---
 tegra-uboot-flasher | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tegra-uboot-flasher +1 -1
index b71f967..69f9262 100755
@@ -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

#2 lore raw
Quoted 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.