cfi_flash: Add manufact_match helper function
authorStefan Roese <sr@denx.de>
Thu, 6 Dec 2012 14:44:09 +0000 (15:44 +0100)
committerStefan Roese <sr@denx.de>
Thu, 10 Jan 2013 13:39:30 +0000 (14:39 +0100)
commit20043a4c3cfbe0df8b452ef137ad6149f68c4ada
treef70fa8223e94ee344402cd449da15fe523533766
parent07b2c5c0e5abb8b6b996068471024410a7ef4bd4
cfi_flash: Add manufact_match helper function

Consolidate manufacturer matching into the function manufact_match()
and use it.

Signed-off-by: Stefan Roese <sr@denx.de>
Tested-by: Holger Brunck <holger.brunck@keymile.com>
drivers/mtd/cfi_flash.c