From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web10.151395.1680758293490826856 for ; Wed, 05 Apr 2023 22:18:13 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=lnc7zrXR; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: evan.chai@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680758293; x=1712294293; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=OtY1djS+keTwoh+E3UrekriKEu2blBhgrXQnZ0UH+Hw=; b=lnc7zrXRTnUP083exoF75klzcN4brbnnDQbwIG239z/TKVva3Ah97n6x F/HoHDgnPRovzAShMYkVRbOy2UwI8pC5m/mjQ1Oni7GjPS6tNOumP9L+B P7GMxGclTYR+xZ2JPcQsgQ4jQXhWx8BfXowAPhQxK4OZU4sgShj/bCt1T ICAuZ7RluZspqxs88FsTvXLFqH4sOy9YEwEH0YxP+QQvlrlIp/10taT+E 5v7E3GAlPkcq83moqnoWsL3KZp4zKYoPUSezmOyfPzruyIr9Ou1v7Cbm/ UHdfC6KWmLxoXAopkv6X8OLHBDq/Gi9/uZglM+POILotiusqT/ozsQxJe Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="428930348" X-IronPort-AV: E=Sophos;i="5.98,322,1673942400"; d="scan'208";a="428930348" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2023 22:18:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="751520252" X-IronPort-AV: E=Sophos;i="5.98,322,1673942400"; d="scan'208";a="751520252" Received: from evancy.sh.intel.com ([10.239.158.113]) by fmsmga008.fm.intel.com with ESMTP; 05 Apr 2023 22:18:12 -0700 From: "Chai, Evan" To: devel@edk2.groups.io Subject: [PATCH 0/5] Platforms cleanup v1 Date: Thu, 6 Apr 2023 13:15:21 +0800 Message-Id: <20230406051526.378494-1-evan.chai@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Booting to uefi shell is verfied in Qemu mode, The qemu command be refered to '5a> Boot on QEMU' in https://github.com/riscv-admin/riscv-uefi-edk2-docs Evan Chai (5): Silicon/RISC-V/ProcessorPkg: remove redundant CpuDxe driver Platform/Sifive: remove redundant TimerDxe from Platform Silicon/RISC-V: remove redundant RiscVTimerLib Silicon/RISC-V: remove redundant function code from RiscVCpuLib Platform/ Siliocn/: Fix building failure caused by wrong lib. Platform/RISC-V/PlatformPkg/Library/ResetSystemLib/ResetSystemLib.c | 4 +++- Platform/RISC-V/PlatformPkg/Library/ResetSystemLib/ResetSystemLib.inf | 4 +++- Platform/RISC-V/PlatformPkg/Universal/Sec/SecMain.inf | 3 ++- Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc | 19 ++++++++++--------- Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.fdf | 5 +++-- Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc | 19 ++++++++++--------- Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.fdf | 5 +++-- Platform/SiFive/U5SeriesPkg/Universal/Dxe/RamFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf | 2 ++ Platform/SiFive/U5SeriesPkg/Universal/Dxe/TimerDxe/Timer.c | 311 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Platform/SiFive/U5SeriesPkg/Universal/Dxe/TimerDxe/Timer.h | 174 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Platform/SiFive/U5SeriesPkg/Universal/Dxe/TimerDxe/Timer.uni | 14 -------------- Platform/SiFive/U5SeriesPkg/Universal/Dxe/TimerDxe/TimerDxe.inf | 54 ------------------------------------------------------ Platform/SiFive/U5SeriesPkg/Universal/Dxe/TimerDxe/TimerExtra.uni | 12 ------------ Silicon/RISC-V/ProcessorPkg/Include/Library/RiscVCpuLib.h | 20 +------------------- Silicon/RISC-V/ProcessorPkg/Library/RiscVCpuLib/Cpu.S | 41 +---------------------------------------- Silicon/RISC-V/ProcessorPkg/Library/RiscVTimerLib/BaseRiscVTimerLib.inf | 35 ----------------------------------- Silicon/RISC-V/ProcessorPkg/Library/RiscVTimerLib/RiscVTimerLib.c | 199 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dsc | 6 +----- Silicon/RISC-V/ProcessorPkg/Universal/CpuDxe/CpuDxe.c | 310 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Silicon/RISC-V/ProcessorPkg/Universal/CpuDxe/CpuDxe.h | 198 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Silicon/RISC-V/ProcessorPkg/Universal/CpuDxe/CpuDxe.inf | 49 ------------------------------------------------- Silicon/RISC-V/ProcessorPkg/Universal/CpuDxe/CpuDxe.uni | 13 ------------- Silicon/RISC-V/ProcessorPkg/Universal/CpuDxe/CpuDxeExtra.uni | 14 -------------- Silicon/SiFive/U54/Library/PeiCoreInfoHobLib/PeiCoreInfoHobLib.inf | 3 ++- 24 files changed, 41 insertions(+), 1473 deletions(-) delete mode 100644 Platform/SiFive/U5SeriesPkg/Universal/Dxe/TimerDxe/Timer.c delete mode 100644 Platform/SiFive/U5SeriesPkg/Universal/Dxe/TimerDxe/Timer.h delete mode 100644 Platform/SiFive/U5SeriesPkg/Universal/Dxe/TimerDxe/Timer.uni delete mode 100644 Platform/SiFive/U5SeriesPkg/Universal/Dxe/TimerDxe/TimerDxe.inf delete mode 100644 Platform/SiFive/U5SeriesPkg/Universal/Dxe/TimerDxe/TimerExtra.uni delete mode 100644 Silicon/RISC-V/ProcessorPkg/Library/RiscVTimerLib/BaseRiscVTimerLib.inf delete mode 100644 Silicon/RISC-V/ProcessorPkg/Library/RiscVTimerLib/RiscVTimerLib.c delete mode 100644 Silicon/RISC-V/ProcessorPkg/Universal/CpuDxe/CpuDxe.c delete mode 100644 Silicon/RISC-V/ProcessorPkg/Universal/CpuDxe/CpuDxe.h delete mode 100644 Silicon/RISC-V/ProcessorPkg/Universal/CpuDxe/CpuDxe.inf delete mode 100644 Silicon/RISC-V/ProcessorPkg/Universal/CpuDxe/CpuDxe.uni delete mode 100644 Silicon/RISC-V/ProcessorPkg/Universal/CpuDxe/CpuDxeExtra.uni -- 2.34.1