lightnvm: check for NAND flash and its type
authorMatias Bjørling <m@bjorling.me>
Mon, 16 Nov 2015 14:34:41 +0000 (15:34 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 16 Nov 2015 22:20:30 +0000 (15:20 -0700)
commit4264c980e3e9bb904b7f41dc9c64786cc5466bee
tree48cd613d42b56125c2363a9bdc5cde598089d78c
parent73387e7bed260c89628fc6a4e3632b45be9776b0
lightnvm: check for NAND flash and its type

Only NAND flash with SLC and MLC is supported. Make sure to not try to
initialize TLC memory or other non-volatile memory types.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/core.c