OSDN Git Service

mtd: uclinux: support ROM and allow passing the base address
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 16 Jan 2013 14:36:55 +0000 (15:36 +0100)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 4 Feb 2013 07:26:30 +0000 (09:26 +0200)
commit81f53ff89c136b72fc35a91d676aca2bc332bd33
tree7e97e966560c5dfb0bf181872cc7969e1e8e2259
parenta2f74a7dacc1c17a0b146eb3112217874c5db436
mtd: uclinux: support ROM and allow passing the base address

This allows to put the filesystem at a defined address in ROM allowing
to save more precious RAM.

I think it's safe to default to ROM because the intention of using the
uclinux map is to use a romfs and so mtd-ram doesn't give you anything
that mtd-rom doesn't.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/maps/Kconfig
drivers/mtd/maps/uclinux.c