From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 20.mo3.mail-out.ovh.net ([178.33.47.94]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cc8VG-0001jJ-AV for barebox@lists.infradead.org; Fri, 10 Feb 2017 10:32:38 +0000 Received: from player734.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo3.mail-out.ovh.net (Postfix) with ESMTP id 3F719A30DE for ; Fri, 10 Feb 2017 11:32:13 +0100 (CET) From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 10 Feb 2017 11:37:47 +0100 Message-Id: <1486723070-32548-6-git-send-email-plagnioj@jcrosoft.com> In-Reply-To: <1486723070-32548-1-git-send-email-plagnioj@jcrosoft.com> References: <20170210095655.GA25859@mail.ovh.net> <1486723070-32548-1-git-send-email-plagnioj@jcrosoft.com> 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 6/9] x86: move bios bootup code to arch/x86/bios To: barebox@lists.infradead.org Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/x86/Makefile | 1 + arch/x86/bios/Makefile | 3 +++ arch/x86/{lib => bios}/bios_disk.S | 0 arch/x86/{lib => bios}/memory16.S | 0 arch/x86/{lib => bios}/traveler.S | 0 arch/x86/lib/Makefile | 3 --- 6 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 arch/x86/bios/Makefile rename arch/x86/{lib => bios}/bios_disk.S (100%) rename arch/x86/{lib => bios}/memory16.S (100%) rename arch/x86/{lib => bios}/traveler.S (100%) diff --git a/arch/x86/Makefile b/arch/x86/Makefile index da17d70bd..640c24b62 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -40,6 +40,7 @@ endif common-y += $(BOARD) $(MACH) common-y += arch/x86/lib/ common-y += arch/x86/boot/ +common-$(CONFIG_X86_BIOS_BRINGUP) += arch/x86/bios/ # arch/x86/cpu/ diff --git a/arch/x86/bios/Makefile b/arch/x86/bios/Makefile new file mode 100644 index 000000000..414ee42a4 --- /dev/null +++ b/arch/x86/bios/Makefile @@ -0,0 +1,3 @@ +obj-y += memory16.o +obj-y += traveler.o +obj-y += bios_disk.o diff --git a/arch/x86/lib/bios_disk.S b/arch/x86/bios/bios_disk.S similarity index 100% rename from arch/x86/lib/bios_disk.S rename to arch/x86/bios/bios_disk.S diff --git a/arch/x86/lib/memory16.S b/arch/x86/bios/memory16.S similarity index 100% rename from arch/x86/lib/memory16.S rename to arch/x86/bios/memory16.S diff --git a/arch/x86/lib/traveler.S b/arch/x86/bios/traveler.S similarity index 100% rename from arch/x86/lib/traveler.S rename to arch/x86/bios/traveler.S diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile index b67629f11..6054b9e3f 100644 --- a/arch/x86/lib/Makefile +++ b/arch/x86/lib/Makefile @@ -3,7 +3,4 @@ obj-y += memory.o obj-y += gdt.o # needed, when running via a 16 bit BIOS -obj-$(CONFIG_X86_BIOS_BRINGUP) += memory16.o -obj-$(CONFIG_X86_BIOS_BRINGUP) += traveler.o -obj-$(CONFIG_X86_BIOS_BRINGUP) += bios_disk.o obj-$(CONFIG_CMD_LINUX16) += linux_start.o -- 2.11.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox