Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1358084pxa; Fri, 28 Aug 2020 10:23:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeBpIc0beCrKd3Eg9pWeKfjeEQQaRjBnF8Vu6GDAIHA0GvTnEM6EwJgXlAzzzbfWmCod4C X-Received: by 2002:a05:6402:c84:: with SMTP id cm4mr2980517edb.20.1598635389081; Fri, 28 Aug 2020 10:23:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598635389; cv=none; d=google.com; s=arc-20160816; b=Sym3NL5kQpUScXglB75RkmVi7+tOi0ao6WbcPCHAoZ12Wie3sZFXJtdDC5JXMwlU2F xG0SB/vWmEZfhqNYUPBJN+QURtk2S1gvYv8MtVhgQ7GhvHLAkGgK5RvImGoQ7JZFx5Wh XxSPqlH20MkhS51dU4B2Bzgr889ltjHrVI9iT4Y95P4LdO4oWRxlnUu1Sas0Bz2se+gq x+ularueWD/XnUbIvJBgJKz0ca8emAQeRjQkA5p2LQg4lbjrW7gdTuYjRz+CUXo8fFAD iSu/NWyl0eCVaSlzZrMfEm5cm7x+GJ3d9kzRbxDM5DiB2mFg8u3hwu2lyWGLXg8KUoFL mbWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :wdcironportexception:ironport-sdr:ironport-sdr:ironport-sdr :dkim-signature; bh=aIl8gpN90CuDasIEspw1lsPdYJXDUl+ke3P5R9dK5wk=; b=mGdvf/etmKI5+xdnWfez6QJfUBvT8Q7Wf77fVsZhTkETbT/IpGzwUXfER6V+tdE6Jw CHtrhu+KGeKiKDrlGt6lx1DyrJ8QgZVZPsCwxwOJDkWLvoIV8ZMIRiyQW120V75vvWuL UlhI9HgxQVrEb4v9tbSahQ2A3zvDQqBZKwXZzw+X2ijAR2YYpXyub7oqxZbHVwbTrBO3 s29WMuQ41bkkLXgmJJzH79i6uJeZVCd3CfqGATKUKSwOVzYMlzCLyL4mwotjjynXL0zY 6dtGzcY42/jBfiVmtUuDzBFh9TMYJe9FWA8kbbjYc9UI48+9GfeDaxHpPVATpuPqh/xr zXvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=lt5t85F9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q8si1105704edn.409.2020.08.28.10.22.46; Fri, 28 Aug 2020 10:23:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=lt5t85F9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727833AbgH1RVp (ORCPT + 99 others); Fri, 28 Aug 2020 13:21:45 -0400 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:11689 "EHLO esa4.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727056AbgH1RVE (ORCPT ); Fri, 28 Aug 2020 13:21:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1598635263; x=1630171263; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Bk2Gh/XGM+blmye1lG7fqQWiRAnoRdaJAzm3HH3f+As=; b=lt5t85F9tqOlOR7zTKJ/sAlynrbTABWRAuVK6F4W4UPjqiwcMcJTpFtV KYFKp6+YbLzSHoGJCI7L1mafP7dfmjdgjH9oaiZHXEDb/yNJnsnVjyme+ 6SsIDf24YSTEVHZh/f2rsABelFOoNu+4BKRWx3TXKS3XVhcGUV4fqsSmq OCLI/HQvaxB/9EmUJUYKGMwXexsZCzs173RFazaWu/sqs6ebTCp4Hz8Wd Cb0F1xwrLu7Gs1N5KTR2uLctjRtRPJfMSTNNNHlt8QIIN/nqTfIaEC9Dt wWfFYySg67vTaXD2UmYViXddIfui46IXsbZKlsdJrTjlBTf+1H2SyjE7E w==; IronPort-SDR: LwfLW3dnXZrFX2+PnVyqaXQfLLySwxcCf7soLzI51S0JOVqXkPlaDfh0n3HdLTUHV7oUcKYoDY dK9Kzk7FROROlW5NUPLSeOu9u+0GHfSbYCDNIQidA9EaaH2fxHYrgk66uBI9HEKaY3z6yd+Bvo R6uHHYpLbyce3my2dLbqjgUXJfY6j6R0j5B7cVzGMMrWUfK5qwbU1S8X9JpYBQ/O+37Q3W8fRv M9OGDgDV+BW8aWpjmq/2FD+AXtNBFtg/Gc9J/BZjrgHCTh8p5LAZZ4XYKLBvqGXXWfoL1ydM07 VtQ= X-IronPort-AV: E=Sophos;i="5.76,364,1592841600"; d="scan'208";a="146018522" Received: from h199-255-45-14.hgst.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 29 Aug 2020 01:20:46 +0800 IronPort-SDR: 1fDyAO/mpt3ET0pOP0ypNlI7opAnl8mXkYl1VIftVzMhTmcM9IHjSla+pNf6o3tbEj9+WSQNzk 4xHZpL7/YIVg== Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Aug 2020 10:08:19 -0700 IronPort-SDR: DMKenj1WplxHGuwNbsjHFV9MHODA2RxucJWJVYnstOrk1zE0LPtdWpDesbHuzbEc3OTdIuabKx 2Du80PCFXn3g== WDCIronportException: Internal Received: from 6hj08h2.ad.shared (HELO jedi-01.hgst.com) ([10.86.59.137]) by uls-op-cesaip01.wdc.com with ESMTP; 28 Aug 2020 10:20:46 -0700 From: Atish Patra To: linux-kernel@vger.kernel.org Cc: Atish Patra , Ard Biesheuvel , Alistair Francis , Anup Patel , Arvind Sankar , Greentime Hu , Ingo Molnar , linux-efi@vger.kernel.org, linux-riscv@lists.infradead.org, Masahiro Yamada , Mike Rapoport , Nick Desaulniers , Palmer Dabbelt , Paul Walmsley Subject: [PATCH v7 7/9] efi: Rename arm-init to efi-init common for all arch Date: Fri, 28 Aug 2020 10:20:34 -0700 Message-Id: <20200828172036.8056-8-atish.patra@wdc.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200828172036.8056-1-atish.patra@wdc.com> References: <20200828172036.8056-1-atish.patra@wdc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Ard Biesheuvel --- 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