summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-03-22 14:39:08 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-03-23 12:16:25 +0100
commit2a2ea36c14c2f301c6ce3705c6864f23e1e7e40c (patch)
tree295b8784a4797f9e9cd5f96c65c04078b7d1ab8f
parent497a1f97cb156863f78673cb3a2cbc8a2b0bdb9e (diff)
downloadbarebox-2a2ea36c14c2f301c6ce3705c6864f23e1e7e40c.tar.gz
barebox-2a2ea36c14c2f301c6ce3705c6864f23e1e7e40c.tar.xz
RISC-V: erizo: move to arch/riscv/boards/erizo
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 <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/riscv/Makefile2
-rw-r--r--arch/riscv/boards/Makefile2
-rw-r--r--arch/riscv/boards/erizo/Makefile5
-rw-r--r--arch/riscv/boards/erizo/board.c (renamed from arch/riscv/boot/dtb.c)0
-rw-r--r--arch/riscv/boards/erizo/lowlevel.c (renamed from arch/riscv/boot/main_entry.c)0
-rw-r--r--arch/riscv/boards/erizo/start.S (renamed from arch/riscv/boot/start.S)0
-rw-r--r--arch/riscv/boot/Makefile3
7 files changed, 8 insertions, 4 deletions
diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
index edf3a971e6..d9cefe32c0 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 0000000000..2ce9af41e0
--- /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 0000000000..72b9a13ba7
--- /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
index b9b68fc7f2..b9b68fc7f2 100644
--- a/arch/riscv/boot/dtb.c
+++ b/arch/riscv/boards/erizo/board.c
diff --git a/arch/riscv/boot/main_entry.c b/arch/riscv/boards/erizo/lowlevel.c
index f9c640c112..f9c640c112 100644
--- a/arch/riscv/boot/main_entry.c
+++ b/arch/riscv/boards/erizo/lowlevel.c
diff --git a/arch/riscv/boot/start.S b/arch/riscv/boards/erizo/start.S
index d1dbe48b7b..d1dbe48b7b 100644
--- a/arch/riscv/boot/start.S
+++ b/arch/riscv/boards/erizo/start.S
diff --git a/arch/riscv/boot/Makefile b/arch/riscv/boot/Makefile
deleted file mode 100644
index fd62cab8c1..0000000000
--- 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