From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web10.6821.1676695122869161516 for ; Fri, 17 Feb 2023 20:38:43 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=jYVb9gB1; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: andrei.warkentin@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676695122; x=1708231122; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7ts7rBYumiIIT/FolJgzIGRR3rKcIhOqbk/4qoRadPM=; b=jYVb9gB1yk9pjc1/UWmU29L+V4QaZCZaSDPpT4qZbPUFIkJIqsdnk8ay 4bsCmpvCC4ghcSSHOkx0zd23z2YbTHhz6GMRiouYL/flJC8V/Ir+Xjw0X zdSNTWV2sPL1BD1J33O48acXOVcaz1c2TdISOBDglqM1YQpAefmE6mNlv 3WQdWYbu87pvjYFUz6Mwzm6u+6PL0+HjvkMdqRxdgolk/HHEjzJz4JxO0 FFNTiqge/itCZkCkhYou6pEaPaz2oD7ADaauw7p7euA1yHbMt4ACkRP7x tA6oJQk3brIACu5ZOCFnydir0JkPG+KROs1qXm3c4oavKBr4KBx34+drF g==; X-IronPort-AV: E=McAfee;i="6500,9779,10624"; a="329859245" X-IronPort-AV: E=Sophos;i="5.97,306,1669104000"; d="scan'208";a="329859245" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2023 20:38:42 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10624"; a="620601089" X-IronPort-AV: E=Sophos;i="5.97,306,1669104000"; d="scan'208";a="620601089" Received: from awarkent-mobl1.amr.corp.intel.com ([10.213.189.88]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2023 20:38:41 -0800 From: "Andrei Warkentin" To: devel@edk2.groups.io Cc: Andrei Warkentin , Sunil V L , Jiewen Yao , Ard Biesheuvel Subject: [edk2 1/1] RiscVVirt: add SATA support Date: Fri, 17 Feb 2023 22:38:36 -0600 Message-Id: <20230218043836.1875-1-andrei.warkentin@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Tested with a PCIe pass-thru'd AHCI controller. Cc: Sunil V L Cc: Jiewen Yao Cc: Ard Biesheuvel Signed-off-by: Andrei Warkentin --- OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc | 7 +++++++ OvmfPkg/RiscVVirt/RiscVVirtQemu.fdf | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc b/OvmfPkg/RiscVVirt/RiscVV= irtQemu.dsc index 054d511138c3..28d9af4d79b9 100644 --- a/OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc +++ b/OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc @@ -426,6 +426,13 @@ [Components] MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf=0D MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf=0D =0D + #=0D + # SATA=0D + #=0D + MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf=0D + MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf=0D + MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf=0D +=0D #=0D # NVME Driver=0D #=0D diff --git a/OvmfPkg/RiscVVirt/RiscVVirtQemu.fdf b/OvmfPkg/RiscVVirt/RiscVV= irtQemu.fdf index 6072c37af03d..354c9271d10c 100644 --- a/OvmfPkg/RiscVVirt/RiscVVirtQemu.fdf +++ b/OvmfPkg/RiscVVirt/RiscVVirtQemu.fdf @@ -137,6 +137,13 @@ [FV.DXEFV] INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf=0D INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf=0D =0D +#=0D +# SATA=0D +#=0D +INF MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf=0D +INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf=0D +INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf=0D +=0D #=0D # NVME Driver=0D #=0D --=20 2.25.1