commit | da37d096820e15b2bcdb0243da2dc01707c650f2 | [log] [tgz] |
---|---|---|
author | Jörg Krause <joerg.krause@embedded.rocks> | Sun Jan 14 19:26:37 2018 +0100 |
committer | Stefano Babic <sbabic@denx.de> | Wed Jun 27 12:20:55 2018 +0200 |
tree | 067250f9f3235917ad0c1a06fabcfccc147ea75f | |
parent | 02bbe2aaa28fe2dde79b6d0e9ed5ed8963f79a8b [diff] |
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>