]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc25c51462313f1bc05098cddf946605b52f3455
tree48cd613d42b56125c2363a9bdc5cde598089d78c
parenteecd3915c49358700b3887eda57e44c6a3138ae4
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