Re: [PATCH 09/10] mtd: nand: Add bbt parameter

2013-03-05 Thread Sascha Hauer
On Mon, Mar 04, 2013 at 09:42:55PM +0100, Juergen Beisert wrote: > Sascha Hauer wrote: > > [...] > > --- a/drivers/mtd/nand/nand_base.c > > +++ b/drivers/mtd/nand/nand_base.c > > @@ -1688,6 +1688,23 @@ static int mtd_set_erasebad(struct device_d *dev, > > struct param_d *param, return 0; > > } > >

Re: [PATCH 09/10] mtd: nand: Add bbt parameter

2013-03-04 Thread Juergen Beisert
Sascha Hauer wrote: > [...] > --- a/drivers/mtd/nand/nand_base.c > +++ b/drivers/mtd/nand/nand_base.c > @@ -1688,6 +1688,23 @@ static int mtd_set_erasebad(struct device_d *dev, > struct param_d *param, return 0; > } > > +static const char *mtd_get_bbt_type(struct device_d *dev, struct param_d *p)

[PATCH 09/10] mtd: nand: Add bbt parameter

2013-03-04 Thread Sascha Hauer
The information which kind of bbt (if any) is used is hidden somewhere in the NAND layer. Expose it to a device parameter to make it detectable and visible during runtime. Signed-off-by: Sascha Hauer --- drivers/mtd/nand/nand_base.c | 19 +++ 1 file changed, 19 insertions(+) d