]> git.baikalelectronics.ru Git - uboot.git/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)
commitae0b205dce79df4f5a4879e53cc051808469399f
tree067250f9f3235917ad0c1a06fabcfccc147ea75f
parent62b3546d05ec73e5b32b8cec238e9b4799814cff
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