From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web11.151668.1680758805559034414 for ; Wed, 05 Apr 2023 22:26:46 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=WvVMFqYq; spf=pass (domain: intel.com, ip: 192.55.52.151, 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=1680758805; x=1712294805; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=OtY1djS+keTwoh+E3UrekriKEu2blBhgrXQnZ0UH+Hw=; b=WvVMFqYqEhwJDy8suTq/Q+hPHKR7rEkytKmyrG2j64EOnKFkU9sssiF/ LXistxI9zPn4W2ja59t00aGjQyIcTgoQvPc7j3x1nSrEIsyvRLnIMjiyT bmJp5YvS2WSFZQWQeJIVcbL9XGSFCxSqHj9zK4XhjsiHxJh97XUbGlvQc dgvJRcM1OMS+KkOJpbH1y6vS3uDGGxN9LlHnaha9BKagPAGv0XM5k3pqE 1ZLBnqrk9i+/S+9YyWK+FFvAcmk+xu1ULKcQ/ytZN0bum7iW0VfxfefHT l4JjQfdvxkANBhWkUKljVsY9snIoujjl/Bs8gARx9QqwMp2msOq4dkbuf w==; X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="323020601" X-IronPort-AV: E=Sophos;i="5.98,322,1673942400"; d="scan'208";a="323020601" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2023 22:26:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="776324937" X-IronPort-AV: E=Sophos;i="5.98,322,1673942400"; d="scan'208";a="776324937" Received: from evancy.sh.intel.com ([10.239.158.113]) by FMSMGA003.fm.intel.com with ESMTP; 05 Apr 2023 22:26:35 -0700 From: "Chai, Evan" To: devel@edk2.groups.io Subject: [edk2-platforms][PATCH 0/5] Platforms cleanup v2 Date: Thu, 6 Apr 2023 13:24:18 +0800 Message-Id: <20230406052423.378702-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