]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commit
gfxboard: rewind Picasso IV flash before autoconfig
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Tue, 26 May 2026 01:14:33 +0000 (18:14 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Sun, 31 May 2026 07:33:15 +0000 (00:33 -0700)
commit221b17dd2e53e80538916ac55759a3d55aacf084
tree6763afe47c4918691cb5c19996990e3299da082b
parentc9cbe9965a958beb83e166b3447787cbcd89c243
gfxboard: rewind Picasso IV flash before autoconfig

Picasso IV autoconfig is read from the flash image, but the
initializer can run more than once while the expansion list is
scanned and sorted. loadp4rom() leaves the flash zfile positioned
later in the image, so a later dry scan read all-0xff data and the
board looked like it had no autoconfig block.

Seek back to the beginning before reading the Picasso IV
autoconfig bytes so repeated scans see the same board data.
gfxboard.cpp