summaryrefslogtreecommitdiffstats
path: root/chipset_enable.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-07-22 15:36:50 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-07-22 15:36:50 +0000
commit02487aa4edfc832b27afcd850cbfbe499fa09c35 (patch)
treef63fae957dd853e016abfffdd8fff62ffb2ebb1f /chipset_enable.c
parentf3196df7f07d27fd1ebdd94365717369fb98a472 (diff)
downloadast2050-flashrom-02487aa4edfc832b27afcd850cbfbe499fa09c35.zip
ast2050-flashrom-02487aa4edfc832b27afcd850cbfbe499fa09c35.tar.gz
Replace most of the switch cases in the spi code with lookup on a struct instead
This brings the SPI code in line with the generic programmer infrastructure. This patch is a reworked version of a patch by Jakob Bornecrantz. Corresponding to flashrom svn r657. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Jakob Bornecrantz <wallbraker@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'chipset_enable.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud