projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
atheros[ar2315-spiflash]: print detected flash size
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
atheros
/
patches-3.10
/
141-redboot_partition_scan.patch
diff --git
a/target/linux/atheros/patches-3.10/141-redboot_partition_scan.patch
b/target/linux/atheros/patches-3.10/141-redboot_partition_scan.patch
index 4db94a161bba6e9afd847a6075affdb045172efd..d1d281eaf4256a94545ebd60cd1482cd9f9a8934 100644
(file)
--- a/
target/linux/atheros/patches-3.10/141-redboot_partition_scan.patch
+++ b/
target/linux/atheros/patches-3.10/141-redboot_partition_scan.patch
@@
-35,7
+35,7
@@
if (i == numslots) {
/* Didn't find it */
+ if (offset + master->erasesize < master->size) {
-+ /* not at the end of the flash yet, maybe next block
:)
*/
++ /* not at the end of the flash yet, maybe next block */
+ directory++;
+ goto restart;
+ }