From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 16 Mar 2021 09:08:44 +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 1lM4ku-0002Mo-7U for lore@lore.pengutronix.de; Tue, 16 Mar 2021 09:08:44 +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 1lM4kt-000164-53 for lore@pengutronix.de; Tue, 16 Mar 2021 09:08:44 +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=rBUlQFsre6K2pmso+huTY8beR bnE6RXV3pOu8KHZgR1mXRiWaBWmMLsYykSdK1sM2uJ3A1NhhR92DMbpjyq90C6Yv6gGLtB9BZLESp 5g7Fz2X0RgVtshVLNwEStIlYr1DAfow2xMsRi0i/cRkva5XU8R+prBxKmRMl2GvTZXXMDXtWHiQUq SnhSvSaI233yjhIj/BXCmO0g/FwKMrWKdkJt+0IbxdngBK6tJkyzSvHySbUNR/MTXs4B6pqjzDcg9 a7VzoIgYrDjyJNaThFDEmVOb4zJ5lJr1omcJx5Xf2wtgttYfv/0Vc1OAM8zX+corLSUggVZepG/JK Cf6yZ/s0g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lM4jJ-0005Ru-NJ; Tue, 16 Mar 2021 08:07:07 +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 1lM4hr-0004hr-56 for barebox@lists.infradead.org; Tue, 16 Mar 2021 08:05:37 +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 1lM4hS-0007y7-EZ; Tue, 16 Mar 2021 09:05:10 +0100 Received: from afa by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lM4hR-0006D5-4e; Tue, 16 Mar 2021 09:05:09 +0100 From: Ahmad Fatoum To: barebox@lists.infradead.org Date: Tue, 16 Mar 2021 09:04:56 +0100 Message-Id: <20210316080505.19361-12-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210316080505.19361-1-a.fatoum@pengutronix.de> References: <20210316080505.19361-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-20210316_080535_492778_F0582536 X-CRM114-Status: GOOD ( 14.20 ) 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,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH v2 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