summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodewalker <codewalker@hardkernel.com>2017-08-14 05:29:46 +0300
committercodewalker <codewalker@hardkernel.com>2017-08-14 05:29:46 +0300
commit9cddd5b0c7a9fb22797dcab01bb11969a48d6b37 (patch)
tree3162d1184f67a089ed3b8000529ff8a05b45be44
parenta0db750c5a0d167a5aef9dd8f855b7ed89515be8 (diff)
downloadu-boot-9cddd5b0c7a9fb22797dcab01bb11969a48d6b37.tar.xz
ODROID-XU4: Fix bug when option is set OPTION_RESIZE_PART.
Change-Id: Icc3d47068dc9852ae75b2ba82eda09d847145169
-rwxr-xr-xboard/samsung/common/odroid_misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/samsung/common/odroid_misc.c b/board/samsung/common/odroid_misc.c
index 12df45ab78..ef5215dcb3 100755
--- a/board/samsung/common/odroid_misc.c
+++ b/board/samsung/common/odroid_misc.c
@@ -504,6 +504,8 @@ static void odroid_fw_update(unsigned int option)
pmu->sysip_dat1 = 0; pmu->sysip_dat2 = 0;
pmu->sysip_dat3 = 0;
run_command(cmd, 0);
+ if (option & OPTION_FILELOAD_EXT4)
+ run_command("fatformat mmc 0:3", 0);
}
else if (option & OPTION_OLDTYPE_PART)
run_command("fdisk -c 0", 0);