Searched hist:"1 c4c215c" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/mtd/ |
H A D | mtd.h | 1c4c215c Fri Mar 25 14:26:25 CDT 2011 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> mtd: add new API for handling MTD registration
Lots (nearly all) mtd drivers contain nearly the similar code that calls parse_mtd_partitions, provides some platform-default values, if parsing fails, and registers mtd device.
This is an aim to provide single implementation of this scenario: mtd_device_parse_register() which will handle all this parsing and defaults.
Artem: amended comments
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> 1c4c215c Fri Mar 25 14:26:25 CDT 2011 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> mtd: add new API for handling MTD registration Lots (nearly all) mtd drivers contain nearly the similar code that calls parse_mtd_partitions, provides some platform-default values, if parsing fails, and registers mtd device. This is an aim to provide single implementation of this scenario: mtd_device_parse_register() which will handle all this parsing and defaults. Artem: amended comments Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
|
/openbmc/linux/drivers/mtd/ |
H A D | mtdcore.c | 1c4c215c Fri Mar 25 14:26:25 CDT 2011 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> mtd: add new API for handling MTD registration
Lots (nearly all) mtd drivers contain nearly the similar code that calls parse_mtd_partitions, provides some platform-default values, if parsing fails, and registers mtd device.
This is an aim to provide single implementation of this scenario: mtd_device_parse_register() which will handle all this parsing and defaults.
Artem: amended comments
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> 1c4c215c Fri Mar 25 14:26:25 CDT 2011 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> mtd: add new API for handling MTD registration Lots (nearly all) mtd drivers contain nearly the similar code that calls parse_mtd_partitions, provides some platform-default values, if parsing fails, and registers mtd device. This is an aim to provide single implementation of this scenario: mtd_device_parse_register() which will handle all this parsing and defaults. Artem: amended comments Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
|