From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sun, 14 Mar 2021 13:30:00 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lLPse-0007oo-72 for lore@lore.pengutronix.de; Sun, 14 Mar 2021 13:30:00 +0100 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLPsa-0007Ic-0N for lore@pengutronix.de; Sun, 14 Mar 2021 13:29:59 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jUmKieneUXZ++A9izb6c+vARJqeuOP5l3cvVhac+uz4=; b=aVwE1n+cnJwzIVkG6llYUBQMk iImC0xsVa5AwM3GZ2t+9WVc/oS+Z4bSvbnLNzJr7RiHPTZKYS+WEtkN1I5SCDP+aKUqKRvQEUf6JE /70PRiPJHWQMOQAMmXAefiy+wbssJvk1J2rjX4qKCTGIoQzkJcGeNPDs/n6nBuufaX2ngVFy35GEF tC31sY+VLJt1WJ1DIIPJaKNutB9z6i19wPUBR5I1M6qd4pzHhjXsMsyW4gjD37FtVz9Qq0u7fi1o+ vi6tm0Rki3vprmZgqcCtA0a0qmw1+F/DJiESA197CBnC1p5qdX6B9was4m9vF1o+BLU1Fd1FgMWSv bxwa52v/A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lLPrY-00ECC8-Cl; Sun, 14 Mar 2021 12:28:52 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lLPqx-00EBuf-Jl for barebox@lists.infradead.org; Sun, 14 Mar 2021 12:28:18 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLPqo-0006Lc-Vk; Sun, 14 Mar 2021 13:28:06 +0100 Received: from afa by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lLPqn-00016O-Kj; Sun, 14 Mar 2021 13:28:05 +0100 From: Ahmad Fatoum To: barebox@lists.infradead.org Date: Sun, 14 Mar 2021 13:27:55 +0100 Message-Id: <20210314122804.4128-12-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210314122804.4128-1-a.fatoum@pengutronix.de> References: <20210314122804.4128-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210314_122815_786640_B5FF270E X-CRM114-Status: GOOD ( 13.57 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ahmad Fatoum , rcz@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" X-SA-Exim-Connect-IP: 2001:8b0:10b:1:d65d:64ff:fe57:4e05 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-3.5 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH 11/20] RISC-V: erizo: move to arch/riscv/boards/erizo X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) In preparation for migrating to PBL for RISC-V platforms, move the only existing board support to a new arch/riscv/boards/ directory. Signed-off-by: Ahmad Fatoum --- arch/riscv/Makefile | 2 +- arch/riscv/boards/Makefile | 2 ++ arch/riscv/boards/erizo/Makefile | 5 +++++ arch/riscv/{boot/dtb.c => boards/erizo/board.c} | 0 arch/riscv/{boot/main_entry.c => boards/erizo/lowlevel.c} | 0 arch/riscv/{boot => boards/erizo}/start.S | 0 arch/riscv/boot/Makefile | 3 --- 7 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 arch/riscv/boards/Makefile create mode 100644 arch/riscv/boards/erizo/Makefile rename arch/riscv/{boot/dtb.c => boards/erizo/board.c} (100%) rename arch/riscv/{boot/main_entry.c => boards/erizo/lowlevel.c} (100%) rename arch/riscv/{boot => boards/erizo}/start.S (100%) delete mode 100644 arch/riscv/boot/Makefile diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index edf3a971e615..d9cefe32c057 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -41,7 +41,7 @@ MACH := endif common-y += $(MACH) -common-y += arch/riscv/boot/ +common-y += arch/riscv/boards/ common-y += arch/riscv/lib/ common-$(CONFIG_OFTREE) += arch/riscv/dts/ diff --git a/arch/riscv/boards/Makefile b/arch/riscv/boards/Makefile new file mode 100644 index 000000000000..2ce9af41e03b --- /dev/null +++ b/arch/riscv/boards/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_BOARD_ERIZO_GENERIC) += erizo/ diff --git a/arch/riscv/boards/erizo/Makefile b/arch/riscv/boards/erizo/Makefile new file mode 100644 index 000000000000..72b9a13ba73f --- /dev/null +++ b/arch/riscv/boards/erizo/Makefile @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 + +obj-y += lowlevel.o +obj-y += start.o +obj-y += board.o diff --git a/arch/riscv/boot/dtb.c b/arch/riscv/boards/erizo/board.c similarity index 100% rename from arch/riscv/boot/dtb.c rename to arch/riscv/boards/erizo/board.c diff --git a/arch/riscv/boot/main_entry.c b/arch/riscv/boards/erizo/lowlevel.c similarity index 100% rename from arch/riscv/boot/main_entry.c rename to arch/riscv/boards/erizo/lowlevel.c diff --git a/arch/riscv/boot/start.S b/arch/riscv/boards/erizo/start.S similarity index 100% rename from arch/riscv/boot/start.S rename to arch/riscv/boards/erizo/start.S diff --git a/arch/riscv/boot/Makefile b/arch/riscv/boot/Makefile deleted file mode 100644 index fd62cab8c127..000000000000 --- a/arch/riscv/boot/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -obj-y += start.o -obj-y += main_entry.o -obj-$(CONFIG_OFDEVICE) += dtb.o -- 2.29.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox