diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2014-10-23 03:41:44 +0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-10-23 11:36:18 +0400 |
commit | b00358a5632bdfc5048fdee04b548ebf8ca1c79c (patch) | |
tree | 823bf2c752375c5849c486ac441e85e4c4286d03 /net | |
parent | d4efafcc040dcc91b09fd393756e4ee4ad7bf9f2 (diff) | |
download | linux-b00358a5632bdfc5048fdee04b548ebf8ca1c79c.tar.xz |
nandsim: add id_bytes module parameter
nandsim can simulate NAND Flash which returns the ID bytes specified
by first_id_byte, ..., fourth_id_byte module parameters.
In order to simulate NAND flash which returns more than four ID bytes,
this adds id_bytes module parameter which is specified by the array of
byte like this:
# modprobe nandsim id_bytes=0x98,0xdc,0x90,0x26,0x76,0x15,0x01,0x08 bch=1
This doesn't add fifth_id_byte, ..., seventh_id_byte module parameters,
because they are redundant. But the existing first_id_byte, ...,
fourth_id_byte module parameters are preserved and add "(obsolete)" to
the description.
Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Brian Norris <computersforpeace@gmail.com>
Cc: linux-mtd@lists.infradead.org
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions