diff options
| author | Huang Shijie <shijie8@gmail.com> | 2010-09-27 10:43:53 +0800 |
|---|---|---|
| committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-10-25 00:49:57 +0100 |
| commit | 12a40a57f762f569f58a393437d8c13864db390a (patch) | |
| tree | 2ab939b100ff7604422e31719fc1621e7b2f7ee3 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | 088bd455c954c0c42edde9d4463e44be10101aac (diff) | |
mtd: add init_size hook for NAND driver
Not all the NAND devices have all the information in additional
id bytes.
So add a hook in the nand_chip{} is a good method to calculate the
right value of oobsize, erasesize and so on.
Without the hook,you will get the wrong value, and you have to hack
in the ->scan_bbt() to change the wrong value which make the code
mess.
Signed-off-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
