diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-06-13 22:45:36 +0900 |
|---|---|---|
| committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-06-20 09:14:25 +0200 |
| commit | 959e9f2ae9dac4821d7da354a37272650febebbe (patch) | |
| tree | 4922e3ceb5f0db0faebc28da7042c47fd26d6457 /tools/perf/scripts/python | |
| parent | mtd: nand: denali: set NAND_ECC_CUSTOM_PAGE_ACCESS (diff) | |
| download | linux-959e9f2ae9dac4821d7da354a37272650febebbe.tar.gz linux-959e9f2ae9dac4821d7da354a37272650febebbe.zip | |
mtd: nand: denali: remove unneeded find_valid_banks()
The function find_valid_banks() issues the Read ID (0x90) command,
then compares the first byte (Manufacturer ID) of each bank with
the one of bank0.
This is equivalent to what nand_scan_ident() does. The number of
chips is detected there, so this is unneeded.
What is worse for find_valid_banks() is that, if multiple chips are
connected to INTEL_CE4100 platform, it crashes the kernel by BUG().
This is what we should avoid. This function is just harmful and
unneeded.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
