diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2021-04-10 13:06:38 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-05-03 13:58:52 +0200 |
commit | 25760b40bfdada30b8d6f42f6326f1e5302fd026 (patch) | |
tree | 3dc95729df27254c5885607676c3a0626fa4abed | |
parent | b1c7e757443508a7e5e91df29c4d9b6275c38973 (diff) | |
download | barebox-25760b40bfdada30b8d6f42f6326f1e5302fd026.tar.gz barebox-25760b40bfdada30b8d6f42f6326f1e5302fd026.tar.xz |
RISC-V: delete unused mach-virt subdirectory
The code within was unused and was kept only to make patching the
machine for DEBUG_LL easier. Now that we have PBL console support, this
is no longer needed, so remove it.
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Link: https://lore.barebox.org/20210410110638.2106658-4-ahmad@a3f.at
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/riscv/Makefile | 1 | ||||
-rw-r--r-- | arch/riscv/mach-virt/Makefile | 3 | ||||
-rw-r--r-- | arch/riscv/mach-virt/include/mach/debug_ll.h | 25 |
3 files changed, 0 insertions, 29 deletions
diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index aba4526bba..1a41d15477 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -20,7 +20,6 @@ cflags-y += $(riscv-cflags-y) LDFLAGS_barebox += -nostdlib machine-$(CONFIG_MACH_ERIZO) := erizo -machine-$(CONFIG_MACH_VIRT) := virt LDFLAGS_barebox += $(riscv-ldflags-y) diff --git a/arch/riscv/mach-virt/Makefile b/arch/riscv/mach-virt/Makefile deleted file mode 100644 index d9c51e74c3..0000000000 --- a/arch/riscv/mach-virt/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -# just to build a built-in.o. Otherwise compilation fails when no o-files is -# created. -obj- += dummy.o diff --git a/arch/riscv/mach-virt/include/mach/debug_ll.h b/arch/riscv/mach-virt/include/mach/debug_ll.h deleted file mode 100644 index 056b7a330b..0000000000 --- a/arch/riscv/mach-virt/include/mach/debug_ll.h +++ /dev/null @@ -1,25 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2017 Antony Pavlov <antonynpavlov@gmail.com> - */ - -#ifndef __MACH_VIRT_DEBUG_LL__ -#define __MACH_VIRT_DEBUG_LL__ - -/** @file - * This File contains declaration for early output support - */ - -#include <linux/kconfig.h> - -#define DEBUG_LL_UART_ADDR 0x10000000 -#define DEBUG_LL_UART_SHIFT 0 -#define DEBUG_LL_UART_IOSIZE8 - -#define DEBUG_LL_UART_CLK 0x00384000 -#define DEBUG_LL_UART_BPS CONFIG_BAUDRATE -#define DEBUG_LL_UART_DIVISOR (DEBUG_LL_UART_CLK / DEBUG_LL_UART_BPS) - -#include <asm/debug_ll_ns16550.h> - -#endif /* __MACH_VIRT_DEBUG_LL__ */ |