[LinuxBIOS] EPIA patch to fix non working IDE, with sigin off

Ben Hewson ben at hewson-venieri.com
Sun Apr 29 18:16:17 CEST 2007

patch to fix the IDE configuration on EPIA boards. At some point this 
broke and stopped FILO
from being able to boot.

The fix is a simple one line change  plus a comment to 
src/mainboard/via/epia/auto.c to write to the IDE
configuration register 0x42 .  This has always been done here, however 
at some point
something broke it.

The same register was also being set correctly  in ide_init(), however 
for some reason
this does not work. Possibly the register needs to be set before the IDE 
peripheral is enabled
or maybe it is a timing issue.

The section of code in ide_init() (  
src/southbridge/via/vt8231/vt8231_ide.c ) that does
write to register 0x42 has been commented out as it is superfluous
and I have added a comment to indicate the reason, should someone at a 
future date wonder

I have also changed the default COM speed from 19200 to 115200 in 
There has been mention before about the EPIA board not being able to use 
115200 but I have seen
no such problems with my board.

Signed-off-by: Ben Hewson <ben at hewson-venieri.com>


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: epia-patch.diff
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070429/6259ca28/attachment.ksh>

More information about the coreboot mailing list