Commit 6b97756b authored by ji.luo's avatar ji.luo Committed by Jason Liu
Browse files

MA-10342 Revert "Fix get partition error in fastboot"



This reverts commit 82a7723b3f69c2631770d0f30ad16269e9d86389.

The partition 'tos' was hard coded in u-boot so this patch wasn't needed
anymore.

Change-Id: Ie1f651c7c813379dcd8768da0bc9a628d1741fd1
Signed-off-by: default avatarji.luo <ji.luo@nxp.com>
parent f601f409
...@@ -1493,7 +1493,7 @@ static int _fastboot_parts_load_from_ptable(void) ...@@ -1493,7 +1493,7 @@ static int _fastboot_parts_load_from_ptable(void)
if (ret) if (ret)
break; break;
} }
for (i = 0; i < part_idx; i++) for (i = 0; i <= part_idx; i++)
fastboot_flash_add_ptn(&ptable[i]); fastboot_flash_add_ptn(&ptable[i]);
return 0; return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment