[coreboot] New CMOS option sata_mode
Josef Kellermann
seppk at arcor.de
Fri Feb 18 20:12:10 CET 2011
Attached patch implements a new CMOS option 'sata_mode'.
A new Kconfig option 'SATA_MODE' with default 'ide' is added to
amd/sb600/Kconfig.
The handling of the CMOS option is placed in amd/sb600/sata.c and
overrides the hardcoded 'ide' mode
in the following way:
if get_option(., "sata_mode") returns 0 use CMOS option
in case of -2 grab the Kconfig option CONFIG_SATA_MODE if exist
otherwise use the hardcoded mode.
Signed-off-by: Josef Kellermann <seppk at arcor.de> <mailto://seppk@arcor.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20110218/a8a6ff39/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-new-cmos-option-sata_mode.patch
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20110218/a8a6ff39/attachment.ksh>
More information about the coreboot
mailing list