1
0
Fork 0
forked from len0rd/rockbox

imx233: be less strict about partition checks (>=1GB only)

Change-Id: I4bc073c500a65240e359ab50f001b4370d985781
This commit is contained in:
Amaury Pouly 2014-01-05 15:21:42 +01:00
parent 877eb7a112
commit 11d73e177b

View file

@ -157,7 +157,7 @@ static int compute_window_freescale(intptr_t user, part_read_fn_t read_fn,
if(ent[4] == 0x53) if(ent[4] == 0x53)
return -102; /* sigmatel partition */ return -102; /* sigmatel partition */
if((*end - *start) < 4 * 1024 * 1024) if((*end - *start) < 1 * 1024 * 1024)
return -103; /* partition too small */ return -103; /* partition too small */
return 0; return 0;
} }