cros_ec: Use FLASH_SPI_INFO command to fill in chip details

If FLASH_SPI_INFO is available, use it to identify the chip for
the "--flash-name" command. Otherwise fall back to identifying
the EC chip itself.

BUG=chrome-os-partner:56765
BRANCH=none
TEST=tested on reef

Signed-off-by: David Hendricks <dhendrix@chromium.org>
Change-Id: I20b2f1afa8da3c8ad7fd7c66b83e76fd1bc796af
Reviewed-on: https://chromium-review.googlesource.com/390342
1 file changed