From: Loic Devulder <ldevulder@suse.com>
To: devel@edk2.groups.io
Subject: [PATCH] RISC-V/PlatformPkg: Fix compilation breakage in OpenSBI
Date: Wed, 24 Mar 2021 14:59:22 +0100 [thread overview]
Message-ID: <cd172d3268371f0dd97e425ed039681a298851bf.1616593657.git.ldevulder@suse.com> (raw)
In-Reply-To: <ldevulder@suse.com>
platform_ops and platform structures have older entries that don't exist
anymore on recent OpenSBI versions, so we can remove them.
Cc: Abner Chang <abner.chang@hpe.com>
Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
Cc: Gilbert Chen <gilbert.chen@hpe.com>
Signed-off-by: Loic Devulder <ldevulder@suse.com>
---
.../PlatformPkg/Library/OpensbiPlatformLibNull/Platform.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibNull/Platform.c b/Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibNull/Platform.c
index e78d811f4c..84b5f5dec8 100644
--- a/Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibNull/Platform.c
+++ b/Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibNull/Platform.c
@@ -28,8 +28,7 @@ const struct sbi_platform_operations platform_ops = {
.timer_event_stop = NULL,
.timer_event_start = NULL,
.timer_init = NULL,
- .system_reboot = NULL,
- .system_shutdown = NULL
+ .system_reset = NULL
};
const struct sbi_platform platform = {
@@ -39,6 +38,5 @@ const struct sbi_platform platform = {
.features = 0,
.hart_count = 0,
.hart_stack_size = 0,
- .disabled_hart_mask = 0,
.platform_ops_addr = 0
};
--
2.30.1
next reply other threads:[~2021-03-24 13:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-24 13:59 Loic Devulder [this message]
2021-03-25 0:46 ` [edk2-devel] [PATCH] RISC-V/PlatformPkg: Fix compilation breakage in OpenSBI Abner Chang
2021-03-25 10:01 ` Loic Devulder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cd172d3268371f0dd97e425ed039681a298851bf.1616593657.git.ldevulder@suse.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox