10 Dec, 2015
1 commit
-
We only want to modify these arrays inside the parser "drivers", so the
drivers should construct them however they like, then return them as
immutable arrays.This will make other refactorings easier.
Signed-off-by: Brian Norris
Reviewed-by: Boris Brezillon
20 Nov, 2015
1 commit
-
Most parsers can be handled with our new boilerplate-reducing macro.
There are a few that can't be (cmdlineparts and ofpart).Also kill off the owner assignments, since register_mtd_parser() now
takes care of that.Signed-off-by: Brian Norris
11 Nov, 2015
3 commits
-
Return immediately if we are not finding a valid v1 partition
in afs_read_footer_v1(), invert scanning logic so we continue
to read image information on v1 if we found a footer. This is
needed for the logic we introduce to parse v2 footers.Cc: Ryan Harkin
Cc: Liviu Dudau
Signed-off-by: Linus Walleij
Signed-off-by: Brian Norris -
Break out the magic number to a #defined constant.
Cc: Ryan Harkin
Cc: Liviu Dudau
Signed-off-by: Linus Walleij
Signed-off-by: Brian Norris -
Since we're gonna add the v2 version of flash information
structure and we want to avoid confusion, rename the old
functions to *v1. Cut the word "structure" from the struct
name, it is pretty obvious that it is a struct already from
the keyword.Cc: Ryan Harkin
Cc: Liviu Dudau
Signed-off-by: Linus Walleij
Signed-off-by: Brian Norris
04 Jan, 2014
1 commit
-
register_mtd_parser never fails; hence make it return void.
Signed-off-by: Axel Lin
Signed-off-by: Brian Norris
10 Jan, 2012
1 commit
-
Signed-off-by: Artem Bityutskiy
Signed-off-by: David Woodhouse
11 Sep, 2011
1 commit
-
Encapsulate last MTD partition parser argument into a separate
structure. Currently it holds only 'origin' field for RedBoot parser,
but will be extended in future to contain at least device_node for OF
devices.Amended commentary to make kerneldoc happy
Signed-off-by: Dmitry Eremin-Solenikov
Signed-off-by: Artem Bityutskiy
09 Aug, 2010
1 commit
-
Signed-off-by: David Woodhouse
04 Sep, 2009
1 commit
-
drivers/mtd/afs.c:244: warning: format ‘%5d’ expects type ‘int’, but argument 4 has type ‘uint64_t’
[dwmw2: fix incorrect 'KB' too]
Signed-off-by: Russell King
Signed-off-by: Artem Bityutskiy
Signed-off-by: David Woodhouse
05 Jun, 2008
1 commit
-
Once upon a time, the MTD repository was using CVS.
This patch therefore removes all usages of the no longer updated CVS
keywords from the MTD code.This also includes code that printed them to the user.
Signed-off-by: Adrian Bunk
Signed-off-by: David Woodhouse
29 Nov, 2006
1 commit
-
Signed-off-by: Yan Burman
Signed-off-by: David Woodhouse
07 Nov, 2005
1 commit
-
Signed-off-by: Thomas Gleixner
01 Jul, 2005
1 commit
-
Patch from Catalin Marinas
This patch calculates the AFS partition length by expanding the image
length information to the nearest erase block boundary. This
eliminates the problems with JFFS2 erasing the footer.Signed-off-by: Catalin Marinas
Signed-off-by: Russell King
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!