From: Stephen Warren <[email protected]>

The binary format is U-Boot code + DTB + pad + flash image. U-Boot moves
the DTB out of the way of BSS. The pad is to prevent U-Boot trashing the
flash image, not the DTB. Fix the comment to reflect that.

Signed-off-by: Stephen Warren <[email protected]>
---
 tegra-uboot-flasher | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tegra-uboot-flasher b/tegra-uboot-flasher
index 4809665d4a6a..d20e3ad413ef 100755
--- a/tegra-uboot-flasher
+++ b/tegra-uboot-flasher
@@ -160,7 +160,7 @@ def func_flash():
     if args.debug:
         print 'bss_size %d 0x%x' % (bss_size, bss_size)
 
-    # Avoid U-Boot's BSS, so the BSS-zeroing doesn't trash the DTB
+    # Avoid U-Boot's BSS, so the BSS-zeroing doesn't trash the appended flash 
image
     # Add 4KB in case the DTB size changes due to fdtput
     # Align to 4k, so flash writes don't need a bounce buffer for DMA
     padded_size = (u_boot_plus_dtb_size + bss_size + (2 * 4 * 1024) - 1) & 
~((4 * 1024) - 1)
-- 
1.9.1

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

Reply via email to