mtd: mtdoops: make record size configurable
authorSimon Kagstrom <simon.kagstrom@netinsight.net>
Thu, 29 Oct 2009 12:41:19 +0000 (13:41 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 Nov 2009 12:02:05 +0000 (12:02 +0000)
commit9507b0c838e37651030d453b9cf3b136cfeefe89
tree113594832dea4e3706db630725026b788d202eda
parent1114e3d00f539ecb7a8415663f2a47a80e00a537
mtd: mtdoops: make record size configurable

The main justification for this is to allow catching long messages
during a panic, where the top part might otherwise be lost since moving
to the next block can require a flash erase.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Reviewed-by: Anders Grafstrom <anders.grafstrom@netinsight.net>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdoops.c