From: Atish Patra <atish.patra@wdc.com>
To: linux-kernel@vger.kernel.org
Cc: Atish Patra <atish.patra@wdc.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alistair Francis <alistair.francis@wdc.com>,
Andrew Morton <akpm@linux-foundation.org>,
Anup Patel <anup.patel@wdc.com>, Ard Biesheuvel <ardb@kernel.org>,
Arvind Sankar <nivedita@alum.mit.edu>,
Borislav Petkov <bp@suse.de>,
Greentime Hu <greentime.hu@sifive.com>,
Ingo Molnar <mingo@kernel.org>, Kees Cook <keescook@chromium.org>,
linux-efi@vger.kernel.org, linux-riscv@lists.infradead.org,
fwts-devel@lists.ubuntu.com, Mao Han <han_mao@c-sky.com>,
Masahiro Yamada <masahiroy@kernel.org>,
Michal Simek <michal.simek@xilinx.com>,
Mike Rapoport <rppt@kernel.org>,
Nick Desaulniers <ndesaulniers@google.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Paul Walmsley <paul.walmsley@sifive.com>,
Steven Price <steven.price@arm.com>,
Waiman Long <longman@redhat.com>, Will Deacon <will@kernel.org>,
Daniel Schaefer <daniel.schaefer@hpe.com>,
"abner.chang@hpe.com" <abner.chang@hpe.com>
Subject: [PATCH v5 7/9] efi: Rename arm-init to efi-init common for all arch
Date: Wed, 12 Aug 2020 16:47:56 -0700 [thread overview]
Message-ID: <20200812234758.3563-8-atish.patra@wdc.com> (raw)
In-Reply-To: <20200812234758.3563-1-atish.patra@wdc.com>
arm-init is responsible for setting up efi runtime and doesn't actually
do any ARM specific stuff. RISC-V can use the same source code as it is.
Rename it to efi-init so that RISC-V can use it.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
---
drivers/firmware/efi/Makefile | 2 +-
drivers/firmware/efi/{arm-init.c => efi-init.c} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename drivers/firmware/efi/{arm-init.c => efi-init.c} (100%)
diff --git a/drivers/firmware/efi/Makefile b/drivers/firmware/efi/Makefile
index 7a216984552b..61fd1e8b26fb 100644
--- a/drivers/firmware/efi/Makefile
+++ b/drivers/firmware/efi/Makefile
@@ -32,7 +32,7 @@ obj-$(CONFIG_EFI_EMBEDDED_FIRMWARE) += embedded-firmware.o
fake_map-y += fake_mem.o
fake_map-$(CONFIG_X86) += x86_fake_mem.o
-arm-obj-$(CONFIG_EFI) := arm-init.o arm-runtime.o
+arm-obj-$(CONFIG_EFI) := efi-init.o arm-runtime.o
obj-$(CONFIG_ARM) += $(arm-obj-y)
obj-$(CONFIG_ARM64) += $(arm-obj-y)
obj-$(CONFIG_EFI_CAPSULE_LOADER) += capsule-loader.o
diff --git a/drivers/firmware/efi/arm-init.c b/drivers/firmware/efi/efi-init.c
similarity index 100%
rename from drivers/firmware/efi/arm-init.c
rename to drivers/firmware/efi/efi-init.c
--
2.24.0
next prev parent reply other threads:[~2020-08-12 23:48 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-12 23:47 [PATCH v5 0/9] Add UEFI support for RISC-V Atish Patra
2020-08-12 23:47 ` [PATCH v5 1/9] RISC-V: Move DT mapping outof fixmap Atish Patra
2020-08-15 22:39 ` Palmer Dabbelt
2020-08-12 23:47 ` [PATCH v5 2/9] RISC-V: Add early ioremap support Atish Patra
2020-08-13 8:55 ` Anup Patel
2020-08-15 22:39 ` Palmer Dabbelt
2020-08-12 23:47 ` [PATCH v5 3/9] RISC-V: Implement late mapping page table allocation functions Atish Patra
2020-08-13 8:58 ` Anup Patel
2020-08-14 9:39 ` Mike Rapoport
2020-08-14 16:50 ` Atish Patra
2020-08-12 23:47 ` [PATCH v5 4/9] include: pe.h: Add RISC-V related PE definition Atish Patra
2020-08-12 23:47 ` [PATCH v5 5/9] RISC-V: Add PE/COFF header for EFI stub Atish Patra
2020-08-13 9:00 ` Anup Patel
2020-08-12 23:47 ` [PATCH v5 6/9] RISC-V: Add EFI stub support Atish Patra
2020-08-12 23:47 ` Atish Patra [this message]
2020-08-14 8:17 ` [PATCH v5 7/9] efi: Rename arm-init to efi-init common for all arch Ard Biesheuvel
2020-08-12 23:47 ` [PATCH v5 8/9] RISC-V: Add EFI runtime services Atish Patra
2020-08-14 8:20 ` Ard Biesheuvel
2020-08-12 23:47 ` [PATCH v5 9/9] RISC-V: Add page table dump support for uefi Atish Patra
2020-08-13 9:02 ` Anup Patel
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-all 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=20200812234758.3563-8-atish.patra@wdc.com \
--to=atish.patra@wdc.com \
--cc=abner.chang@hpe.com \
--cc=akpm@linux-foundation.org \
--cc=alistair.francis@wdc.com \
--cc=anup.patel@wdc.com \
--cc=aou@eecs.berkeley.edu \
--cc=ardb@kernel.org \
--cc=bp@suse.de \
--cc=daniel.schaefer@hpe.com \
--cc=fwts-devel@lists.ubuntu.com \
--cc=greentime.hu@sifive.com \
--cc=han_mao@c-sky.com \
--cc=keescook@chromium.org \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=longman@redhat.com \
--cc=masahiroy@kernel.org \
--cc=michal.simek@xilinx.com \
--cc=mingo@kernel.org \
--cc=ndesaulniers@google.com \
--cc=nivedita@alum.mit.edu \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=rppt@kernel.org \
--cc=steven.price@arm.com \
--cc=will@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).