diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2011-03-25 22:26:25 +0300 |
---|---|---|
committer | Huang Shijie <b32955@freescale.com> | 2012-01-31 17:19:12 +0800 |
commit | f86906b1ac35f65ddb13dada5fc1ebbaf85b3e43 (patch) | |
tree | a54d2482c0b451aef794466a229384e6a8752a63 /firmware | |
parent | 87035edf4d53224f0ccf4c68d58ebcb6f00abdce (diff) |
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>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions