summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattis fjallstrom <mattis@acm.org>2015-11-08 19:04:34 -0800
committermattis fjallstrom <mattis@acm.org>2015-11-08 19:04:34 -0800
commite8b024219d3705423814a588f02f82e6976a20fd (patch)
treefa790e39379da0e0d201ba9e154c86e096216da5
parent228cedda31501e90a6c36a3bb260ef5595c6207d (diff)
downloadolio-uboot-2014.01-e8b024219d3705423814a588f02f82e6976a20fd.tar.xz
olio-uboot-2014.01-e8b024219d3705423814a588f02f82e6976a20fd.zip
Corrected NAND memory addresses to match those used in the Linux kernel.HEADfastboot
Change-Id: I18dc2775b73e2805207185319674ecd395e48473
-rw-r--r--drivers/usb/gadget/u_fastboot_nand.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/gadget/u_fastboot_nand.c b/drivers/usb/gadget/u_fastboot_nand.c
index 29da46dd0..eae0582cb 100644
--- a/drivers/usb/gadget/u_fastboot_nand.c
+++ b/drivers/usb/gadget/u_fastboot_nand.c
@@ -134,21 +134,21 @@ fastboot_ptentry omap3h1_nand_ptn[MAX_PTN] = {
{
.name = "cache",
.start = 0x11E80000,
- .length = 0x400 * 0x20000, /* ~50Mb */
+ .length = 0x190 * 0x20000, /* ~50Mb */
.flags = FASTBOOT_PTENTRY_FLAGS_WRITE_I |
FASTBOOT_PTENTRY_FLAGS_WRITE_SW_ECC,
},
{
.name = "recovery",
.start = 0x14A80000,
- .length = 0x200 * 0x20000, /* ~26Mb */
+ .length = 0xC8 * 0x20000, /* ~26Mb */
.flags = FASTBOOT_PTENTRY_FLAGS_WRITE_I |
FASTBOOT_PTENTRY_FLAGS_WRITE_SW_ECC,
},
{
.name = "userdata",
- .start = 0x2f80000,
- .length = 0x28CC0000, /* ~660 Mb */
+ .start = 0x16980000, /* sum total of the previous sections */
+ .length = 0x29680000, /* ~660 Mb */
.flags = FASTBOOT_PTENTRY_FLAGS_WRITE_I |
FASTBOOT_PTENTRY_FLAGS_WRITE_SW_ECC,
},