diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/usb/gadget/u_fastboot_nand.c | 8 | 
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,  	}, |