Try spidev for MIPS first

This will cause flashrom to look for /dev/spidev* when run on MIPS
platforms. If that fails, it will fall back to trying the old
processor_flash_enable() function which will set up memory-mapped
access for supported processors.

BUG=none
BRANCH=none
TEST=Used to flash SPI NOR on Pistachio BuB.

Signed-off-by: David Hendricks <dhendrix@chromium.org>
Change-Id: Ibceb890bd8e7437f3b729485e7e9fa591ef3a417
Reviewed-on: https://chromium-review.googlesource.com/245874
Reviewed-by: Daniel Ehrenberg <dehrenberg@chromium.org>
1 file changed