]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: nand: mxs_nand_spl: refactor mxs_flash_ident
authorJörg Krause <joerg.krause@embedded.rocks>
Sun, 14 Jan 2018 18:26:39 +0000 (19:26 +0100)
committerStefano Babic <sbabic@denx.de>
Wed, 27 Jun 2018 10:20:55 +0000 (12:20 +0200)
commitbc62e4eb14d3ceefb490706d601aa56c90aff231
treeed541d8fd137f19186eada9f7026a335a7f550b5
parentd53d3af9d8c8183cda7467d0d2b1149e07e850f1
mtd: nand: mxs_nand_spl: refactor mxs_flash_ident

The existing `mxs_flash_ident()` is limited to identify ONFi compliant
NAND chips only. In order to support non-ONFi NAND chips refactor the
function and rename it to `mxs_flash_onfi_ident()`.

A follow-up patch will add `mxs_flash_full_ident()` which allows to use
the chip ID list to lookup for supported NAND flashs.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
drivers/mtd/nand/mxs_nand_spl.c