commit | 929fb44a937a65c6cce61de46234017df78495af | [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 | 51d8ed610704daee6d408c5ced309f5ab315817c [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>