aboutsummaryrefslogtreecommitdiffstats
path: root/dummyflasher.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-05-09 07:27:23 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-05-09 07:27:23 +0000
commit97d6b09209b171978d76dad835c7d33267e470ca (patch)
treefaacb8ea91ee8f632aa5595df558cf320e9ab61e /dummyflasher.c
parent4c24ad4bdfcd6a2453b550f1964da9617a33d97e (diff)
downloadflashrom-97d6b09209b171978d76dad835c7d33267e470ca.tar.gz
flashrom-97d6b09209b171978d76dad835c7d33267e470ca.tar.bz2
flashrom-97d6b09209b171978d76dad835c7d33267e470ca.zip
Fix Elan SC520 handling
Flashbase is a variable which should never be set outside chipset code. It is only used to calculate the base address of the flash space at exactly one location in the code. Setting flashbase during probe caused subsequent probes to fail unless special handling code was used. We had such code and it caused every probe except the first to fail on Elan SC520. Remove the superfluous flashbase assignment and simplify the rest of the code. Corresponding to flashrom svn r488. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'dummyflasher.c')
0 files changed, 0 insertions, 0 deletions