[flasher PATCH] Use hex (x) type argument for fdtput when writing bootdelay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This ensures the correct value (-2) is set on both 32-bit and 64-bit
systems

Signed-off-by: James Thomas <james.thomas@xxxxxxxxxxxxxxx>
---
 tegra-uboot-flasher | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 = ''
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux