]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Separate mtdparts command from jffs2
authorLadislav Michl <ladis@linux-mips.org>
Mon, 23 Mar 2009 11:06:07 +0000 (12:06 +0100)
committerWolfgang Denk <wd@denx.de>
Sat, 4 Apr 2009 20:42:05 +0000 (22:42 +0200)
commitb93b24bf76f8a8220b236df3a5f30b2204eb4edc
tree841a2b2add944aa4fba368e3c386abb9f2ce18ca
parentb196ca75503ce307c535b87bf47d51f05e7530df
Separate mtdparts command from jffs2

On Thu, Mar 19, 2009 at 01:30:36PM +0100, Stefan Roese wrote:
> Currently the mtdparts commands are included in the jffs2 command support.
> This doesn't make sense anymore since other commands (e.g. UBI) use this
> infrastructure as well now. This patch separates the mtdparts commands from
> the jffs2 commands making it possible to only select mtdparts when no JFFS2
> support is needed.

... and to make it useful for NAND chips as well, we should also remove now
unrelated CONFIG_JFFS2_NAND. Note that struct part_info etc is in
jffs2/load_kernel.h which is a bit misleading filename for that purpose,
but that can be fixed later (tm).

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
common/cmd_mtdparts.c