commit | 5f1c9d49746f1f45f7d56acff9d5f3f19ef26b71 | [log] [tgz] |
---|---|---|
author | Vivek Mehta <vivekm@codeaurora.org> | Fri Apr 01 20:11:59 2011 -0700 |
committer | Vivek Mehta <vivekm@codeaurora.org> | Sun Apr 03 13:19:07 2011 -0700 |
tree | 28ebd4d4d19fda658d56c0be157b7541ff73f37d | |
parent | 7bc24589544c4001cb8a3b39f5ce10c5af0f7f2d [diff] [blame] |
fastboot: Increasing the max allowed download size Creating a function which will return target specific max allowed flash size. Change-Id: I7ff7d895af1cfea773e628c1a7a6b564043a3517
diff --git a/target/init.c b/target/init.c index 0fa8b8d..a771544 100644 --- a/target/init.c +++ b/target/init.c
@@ -45,6 +45,11 @@ return (void *)(SCRATCH_ADDR); } +__WEAK unsigned target_get_max_flash_size(void) +{ + return (120 * 1024 * 1024); +} + __WEAK int target_is_emmc_boot(void) { #if _EMMC_BOOT