From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 17.mo3.mail-out.ovh.net ([87.98.178.58]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cc8VD-0001YD-II for barebox@lists.infradead.org; Fri, 10 Feb 2017 10:32:36 +0000 Received: from player734.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo3.mail-out.ovh.net (Postfix) with ESMTP id BAA94A306A for ; Fri, 10 Feb 2017 11:32:07 +0100 (CET) From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 10 Feb 2017 11:37:42 +0100 Message-Id: <1486723070-32548-1-git-send-email-plagnioj@jcrosoft.com> In-Reply-To: <20170210095655.GA25859@mail.ovh.net> References: <20170210095655.GA25859@mail.ovh.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/9] efi: move block io driver to driver/block To: barebox@lists.infradead.org so it can be reused on any ARCH Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/efi/efi/Makefile | 5 ++++- drivers/Makefile | 1 + drivers/block/Makefile | 1 + {arch/efi/efi => drivers/block}/efi-block-io.c | 0 4 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 drivers/block/Makefile rename {arch/efi/efi => drivers/block}/efi-block-io.c (100%) diff --git a/arch/efi/efi/Makefile b/arch/efi/efi/Makefile index a856e5907..f088c7a94 100644 --- a/arch/efi/efi/Makefile +++ b/arch/efi/efi/Makefile @@ -1,2 +1,5 @@ -obj-y += efi.o clocksource.o efi-block-io.o efi-device.o efi-image.o +obj-y += clocksource.o +obj-y += efi.o +obj-y += efi-device.o +obj-y += efi-image.o bbenv-y += env-efi diff --git a/drivers/Makefile b/drivers/Makefile index 6a70f6ee1..9ff261ad2 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -1,4 +1,5 @@ obj-y += base/ +obj-y += block/ obj-$(CONFIG_ARM_AMBA) += amba/ obj-y += net/ obj-y += serial/ diff --git a/drivers/block/Makefile b/drivers/block/Makefile new file mode 100644 index 000000000..8812c0fae --- /dev/null +++ b/drivers/block/Makefile @@ -0,0 +1 @@ +obj-$(CONFIG_EFI_BOOTUP) += efi-block-io.o diff --git a/arch/efi/efi/efi-block-io.c b/drivers/block/efi-block-io.c similarity index 100% rename from arch/efi/efi/efi-block-io.c rename to drivers/block/efi-block-io.c -- 2.11.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox