Am Samstag, den 13.02.2010, 17:22 +0100 schrieb Anders Juel Jensen: > > and will be executed in reverse registration order directly before > > calling the programmer-specific shutdown() function. It is recommended > > to have shutdown() only disable programmer/hardware access and leave all > > code path sensitive shutdown to functions registered with > > register_shutdown(). > > If in doubt, consult man atexit. > If i read this right i am going to need a wakeup() function too.. otherwise i > will be left with a system with no keyboard, mouse, power button and > *automatic fan control*.. i damn nearly fried my CPU when I played with this > :-/ No, you don't read it correctly. What we call "shutdown" function is a function that is used to shut down the flashing process, so it is a wake up function for the EC that had to be shut down when we initialized the flashing process.
You put the b4/ff/read sequence into the board_enable function, and register a shutdown function that sends fb/ff. Regards, Michael Karcher _______________________________________________ flashrom mailing list [email protected] http://www.flashrom.org/mailman/listinfo/flashrom
