]> git.sur5r.net Git - u-boot/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)
commitf3f2af3bdf2af89d0621aa0fbd94a918e4447081
treeed541d8fd137f19186eada9f7026a335a7f550b5
parent15e207faa0c32b587c173844936cadd7bf8dee01
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