Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp797002pxa; Wed, 19 Aug 2020 15:28:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEMPU7O+kjIF6b7lFmnTKIRbb8VlfgVdAaT8rw0KjFIjPV0zY9hFMPSOOBOdB2peFdHOU/ X-Received: by 2002:a17:906:24d0:: with SMTP id f16mr437229ejb.325.1597876112811; Wed, 19 Aug 2020 15:28:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597876112; cv=none; d=google.com; s=arc-20160816; b=rm7Ok7CyQi0NsAdc2bA2tf1Xmf747V0+AUEjF0flyUqGjMhBjqC6W7NzSQU76xNRLq hg+4JJB9TpSt4XNo/R4TtrWsos+gaJme5iCfYIHrXmmLNXh1Og5v9HKDihUInq+yZAij a2J1awrcMfXWgRDUac0TD3YhZUUqzITSFxUhVuXNe6iYCyv0SLy681eYjEgtk0AydITd y1Kw7JQDWYwYB3yI8hIyX28KKc91yuZiAmSJaTYvGmw0DvZkO1uC4LifFXlQPhAdT1Oc AWDyC8xuLIYNnQ+3fy50MeHX+iXUmCfhHV54a/rF82tsHfIn6RmLf1qOtFz6Oi+z8kPR fkUA== 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=v3WqsL7HXyRSqm6BeG7cLK5A7b7GeQNoGElrQhRsFVzP2netrYW9K3lFBRbnZNP8Sz iejrHIu5+iqXZ6q3w39swp8zNS2waQKgK3XKopX+g/9c3WH7F+B/x3LuDaGbzY8CniK+ uNVD5d1V0DfjBuUridaY39bEsD0o/EryZADico83MqzVH79QoiLGyoGVHSDtRtd92MyV rNobgCuUYzTYOKX8qWovYEO89ozl2hSGlonIv5wBUyYzZAoABZyhLrODARGLhRJ7LqIZ 4ERJPUXBWBIb/8jqcRxioKalNhSOIJB42OrN+5R5ZnIXf1IJ5Q+YDZF2WbN0+/yn2i4N X/+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=m6RLBJut; 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 u24si223036edi.194.2020.08.19.15.28.09; Wed, 19 Aug 2020 15:28:32 -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=m6RLBJut; 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 S1728134AbgHSWZW (ORCPT + 99 others); Wed, 19 Aug 2020 18:25:22 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:16026 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727920AbgHSWYz (ORCPT ); Wed, 19 Aug 2020 18:24:55 -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=1597875895; x=1629411895; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Bk2Gh/XGM+blmye1lG7fqQWiRAnoRdaJAzm3HH3f+As=; b=m6RLBJutwZv54DvbEE0zT5tPbEJhpZVsXJD85n9UPOzmfcyBqiYzHlni l2f78LZJvOLZn7laTe3K19d+PCD7kRbfhhzm05a3hqbGaIIZUbA0SHaJM hB0j2I56cewWycEGn92Z8f20SILUTIv/1ONCgpnmWzrRATPfsHys4WsWx E3FMFPkvFuq7s5CUN0S7QAwSnQ5PuEijJkr3sJVWkW4WVxenNvMZgswEy zVkFG+oADJrgB0qIHkA2ATM4kFLJkmV6RP5j08oL/hywyixdVfvEM/akR 85Xhw+MpqRJpA7rR0aHz7sc6E1zSxN2RdrhVYgqykz7/kdGrW80nDOazM g==; IronPort-SDR: 3CRM/tM5AjXvHmV9le7gdpeTFzUTPM77OuEaWnEokYZNDzsK3x2AQ8F5jeN0sU56UIXL90uWka vXk9xXRLt3+4ODnmHRCH3MnCo2SQLYgIvlfTnBQ+Nwi+UzRORpx0Vx+mJ8QxS6PU6c9pxBVeeP vW2MX8sqR3R7Oe9CIWrnGvimcJjLmFaqnB+CfxXXBhfbVUBdK0QeEnFvhW7euAvl11BaiK8Dwi D8l0c6lLsr0mdxAQLsNl2cY0FJuEPSuaHKfFYIlNBykYj5rlF6dmZsw6cANo8iLI6P92QqfJzq +hA= X-IronPort-AV: E=Sophos;i="5.76,332,1592841600"; d="scan'208";a="145373616" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 20 Aug 2020 06:24:38 +0800 IronPort-SDR: m3lKB1A+CFjYqv/UgMUyjoNV5hgSh0I2AuTFxC211ekcM1t0W2D5UkOzzmJabXc1S17t1bDQCs Tu7AJVPAw2Ow== 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; 19 Aug 2020 15:12:20 -0700 IronPort-SDR: mR5GQ++tJdfzFRFihTJaMucU1XgxcuUoLxd/gRMkE1wzAwfBUDzf6fR7PnP8j1c4pLfeMm+J6o LVUXXgAWTJVA== WDCIronportException: Internal Received: from 6hj08h2.ad.shared (HELO jedi-01.hgst.com) ([10.86.59.62]) by uls-op-cesaip01.wdc.com with ESMTP; 19 Aug 2020 15:24:37 -0700 From: Atish Patra To: linux-kernel@vger.kernel.org Cc: Atish Patra , Ard Biesheuvel , Alistair Francis , Anup Patel , Arvind Sankar , Damien Le Moal , Greentime Hu , Heiko Carstens , Ingo Molnar , Kees Cook , linux-efi@vger.kernel.org, linux-riscv@lists.infradead.org, Masahiro Yamada , Michal Simek , Mike Rapoport , Nick Desaulniers , Palmer Dabbelt , Paul Walmsley , Steven Price , Waiman Long , Zong Li , Daniel Schaefer , "abner.chang@hpe.com" Subject: [PATCH v6 7/9] efi: Rename arm-init to efi-init common for all arch Date: Wed, 19 Aug 2020 15:24:23 -0700 Message-Id: <20200819222425.30721-8-atish.patra@wdc.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200819222425.30721-1-atish.patra@wdc.com> References: <20200819222425.30721-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