From ce2caf47e425ef59cbdbdf93f2e7b09487b822c8 Mon Sep 17 00:00:00 2001 From: Will Drewry Date: Sat, 3 Jul 2010 19:09:09 -0700 Subject: [PATCH] TBR: fix up arm portion of update_bootloaders Removed two errant locals in the arm section TEST=manual build_image on tegra1-dev-board BUG=none TBR=fes --- update_bootloaders.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update_bootloaders.sh b/update_bootloaders.sh index 5b216b7c56..9fce64abde 100755 --- a/update_bootloaders.sh +++ b/update_bootloaders.sh @@ -193,8 +193,8 @@ elif [[ "${FLAGS_arch}" = "arm" ]]; then warn "FIXME: cannot replace root= here for the arm bootloader yet." dm_table="" # TODO(wad) Clear it until we can fix root=/dev/dm-0 - local device=1 - local MBR_SCRIPT_UIMG=$(make_arm_mbr \ + device=1 + MBR_SCRIPT_UIMG=$(make_arm_mbr \ ${FLAGS_kernel_partition_offset} \ ${FLAGS_kernel_partition_sectors} \ ${device} \