Hi,

 

I add one config ‘IDE_TO_AHCI’ in ‘src\Kconfig’ and modify ‘src\ata.c’. Please help me to review and check-in.

 

This ‘IDE_TO_AHCI’ function can let SeaBIOS handle AHCI controller as IDE controller when ‘ATA’ enable, and also let Windows OS to load AHCI inbox driver or chipset vender’s AHCI driver. In other words, it means that SATA Hard Disk ran as IDE mode in SeaBIOS but AHCI mode in Windows OS.

 

Attached file:   A.patch  B.patch.

 

Signed-off-by: Alex Chuang <Alex.Chuang@amd.com>

 

Best regards,

Alex