linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Atish Patra <atish.patra@wdc.com>
To: linux-kernel@vger.kernel.org
Cc: Atish Patra <atish.patra@wdc.com>,
	Ard Biesheuvel <ardb@kernel.org>,
	linux-efi@vger.kernel.org, linux-riscv@lists.infradead.org,
	Masahiro Yamada <masahiroy@kernel.org>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>
Subject: [RFC PATCH v2 10/11] efi: Rename arm-init to efi-init common for all arch
Date: Mon,  6 Jul 2020 10:26:08 -0700	[thread overview]
Message-ID: <20200706172609.25965-11-atish.patra@wdc.com> (raw)
In-Reply-To: <20200706172609.25965-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


  parent reply	other threads:[~2020-07-06 17:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-06 17:25 [RFC PATCH v2 00/11] Add UEFI support for RISC-V Atish Patra
2020-07-06 17:25 ` [RFC PATCH v2 01/11] efi/libstub: Move the function prototypes to header file Atish Patra
2020-07-22 22:48   ` [tip: efi/urgent] " tip-bot2 for Atish Patra
2020-07-06 17:26 ` [RFC PATCH v2 02/11] RISC-V: Move DT mapping outof fixmap Atish Patra
2020-07-06 17:26 ` [RFC PATCH v2 03/11] RISC-V: Setup exception vector early Atish Patra
2020-07-06 17:26 ` [RFC PATCH v2 04/11] RISC-V: Add early ioremap support Atish Patra
2020-07-06 17:26 ` [RFC PATCH v2 05/11] RISC-V: Set maximum number of mapped pages correctly Atish Patra
2020-07-06 17:26 ` [RFC PATCH v2 06/11] riscv: Parse all memory blocks to remove unusable memory Atish Patra
2020-07-06 17:26 ` [RFC PATCH v2 07/11] include: pe.h: Add RISC-V related PE definition Atish Patra
2020-07-06 17:26 ` [RFC PATCH v2 08/11] RISC-V: Add PE/COFF header for EFI stub Atish Patra
2020-07-06 17:26 ` [RFC PATCH v2 09/11] RISC-V: Add EFI stub support Atish Patra
2020-07-06 17:26 ` Atish Patra [this message]
2020-07-06 17:26 ` [RFC PATCH v2 11/11] RISC-V: Add EFI runtime services Atish Patra
2020-07-07  6:41 ` [RFC PATCH v2 00/11] Add UEFI support for RISC-V Ard Biesheuvel
2020-07-07  7:49   ` Atish Patra

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=20200706172609.25965-11-atish.patra@wdc.com \
    --to=atish.patra@wdc.com \
    --cc=ardb@kernel.org \
    --cc=linux-efi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=masahiroy@kernel.org \
    --cc=palmer@dabbelt.com \
    --cc=xypron.glpk@gmx.de \
    /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).