diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2014-01-05 15:21:42 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2014-01-21 18:52:28 +0100 |
commit | 11d73e177bc985ae1e7467b89e28d57a033a3b32 (patch) | |
tree | 8aaa8d62718b5e18eaca9d95b5a1839506379418 /firmware/target/arm | |
parent | 877eb7a112d10d8eb59c4abb50b4193894c32b10 (diff) | |
download | rockbox-11d73e177bc985ae1e7467b89e28d57a033a3b32.tar.gz rockbox-11d73e177bc985ae1e7467b89e28d57a033a3b32.zip |
imx233: be less strict about partition checks (>=1GB only)
Change-Id: I4bc073c500a65240e359ab50f001b4370d985781
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/imx233/partitions-imx233.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/partitions-imx233.c b/firmware/target/arm/imx233/partitions-imx233.c index bb322162c9..83a0bf8b42 100644 --- a/firmware/target/arm/imx233/partitions-imx233.c +++ b/firmware/target/arm/imx233/partitions-imx233.c | |||
@@ -157,7 +157,7 @@ static int compute_window_freescale(intptr_t user, part_read_fn_t read_fn, | |||
157 | 157 | ||
158 | if(ent[4] == 0x53) | 158 | if(ent[4] == 0x53) |
159 | return -102; /* sigmatel partition */ | 159 | return -102; /* sigmatel partition */ |
160 | if((*end - *start) < 4 * 1024 * 1024) | 160 | if((*end - *start) < 1 * 1024 * 1024) |
161 | return -103; /* partition too small */ | 161 | return -103; /* partition too small */ |
162 | return 0; | 162 | return 0; |
163 | } | 163 | } |