summaryrefslogtreecommitdiffstats
path: root/spi.c
diff options
context:
space:
mode:
authorClaus Gindhart <claus.gindhart@kontron.com>2008-05-08 00:31:44 +0000
committerPeter Stuge <peter@stuge.se>2008-05-08 00:31:44 +0000
commit2fd11d6a9bcd0e56d2d6733472954f653fe051a6 (patch)
treed81673c0317627a776e74e13c9f3db199819dc49 /spi.c
parent1159d5864acbb4721ca5a0b77bb38284420e1194 (diff)
downloadast2050-flashrom-2fd11d6a9bcd0e56d2d6733472954f653fe051a6.zip
ast2050-flashrom-2fd11d6a9bcd0e56d2d6733472954f653fe051a6.tar.gz
Probe for up to 3 flash chips
Currently there is an ongoing technology migration from LPC/FWH to SPI chips. For this reason some boards have multiple chips of different technologies onboard. This patch makes flashrom probe for up to 3 chips and if more than one chip is found flashrom exits, asking the user to specify -c. [root@localhost src]# ./flashrom ... Multiple flash chips were detected: SST49LF008A M25P16@ICH9 Please specify which chip to use with the -c <chipname> option. [root@localhost src]# Corresponding to flashrom svn r222 and coreboot v2 svn r3291. Signed-off-by: Claus Gindhart <claus.gindhart@kontron.com> Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Claus Gindhart <claus.gindhart@kontron.com>
Diffstat (limited to 'spi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud