commit | af3df79e6d7c0c6894b87223993b027e30b7c4b7 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Sun Aug 30 03:40:56 2015 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sun Aug 30 03:40:56 2015 -0700 |
tree | 9c95de2a1c4269e748b48b602b7f2982b53df70d | |
parent | a7fef84fa65356ca078232182800e5311c9f6565 [diff] | |
parent | 6c116ef3396913de7e53f0ffe12a8f71ae74b5f0 [diff] |
Merge "app: recovery: Fix write to misc partition"
diff --git a/app/aboot/recovery.c b/app/aboot/recovery.c index 15797a1..96441e2 100644 --- a/app/aboot/recovery.c +++ b/app/aboot/recovery.c
@@ -592,6 +592,10 @@ if (scratch_addr != buf) memcpy(scratch_addr, buf, size); + + /* Set Lun for misc partition */ + mmc_set_lun(partition_get_lun(index)); + if (mmc_write(ptn + offset, aligned_size, (unsigned int *)scratch_addr)) { dprintf(CRITICAL, "Writing MMC failed\n");