]> git.sur5r.net Git - u-boot/commit
mtd: nand: export nand_get_flash_type function
authorJörg Krause <joerg.krause@embedded.rocks>
Sun, 14 Jan 2018 18:26:37 +0000 (19:26 +0100)
committerStefano Babic <sbabic@denx.de>
Wed, 27 Jun 2018 10:20:55 +0000 (12:20 +0200)
commitda37d096820e15b2bcdb0243da2dc01707c650f2
tree067250f9f3235917ad0c1a06fabcfccc147ea75f
parent02bbe2aaa28fe2dde79b6d0e9ed5ed8963f79a8b
mtd: nand: export nand_get_flash_type function

`nand_get_flash_type()` allows identification of supported NAND flashs.
The function is useful in SPL (like mxs_nand_spl.c) to lookup for a NAND
flash (which does not support ONFi) instead of using nand_simple.c and
hard-coding all required NAND parameters.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
drivers/mtd/nand/nand_base.c
include/linux/mtd/rawnand.h