[U-Boot] [PATCH v10 04/15] riscv: Add place-holder asm/arch/clk.h for driver compilation
Anup Patel
Anup.Patel at wdc.com
Mon Feb 25 08:14:24 UTC 2019
Some of the drivers (such as Cadence MACB ethernet driver) expect
asm/arch/clk.h to be provided by arch support so we add place-holder
asm/arch-generic/clk.h for RISC-V generic CPU.
Signed-off-by: Anup Patel <anup.patel at wdc.com>
Reviewed-by: Lukas Auer <lukas.auer at aisec.fraunhofer.de>
---
arch/riscv/include/asm/arch-generic/clk.h | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 arch/riscv/include/asm/arch-generic/clk.h
diff --git a/arch/riscv/include/asm/arch-generic/clk.h b/arch/riscv/include/asm/arch-generic/clk.h
new file mode 100644
index 0000000000..1631f5f0bd
--- /dev/null
+++ b/arch/riscv/include/asm/arch-generic/clk.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (c) 2019 Western Digital Corporation or its affiliates.
+ *
+ * Authors:
+ * Anup Patel <anup.patel at wdc.com>
+ */
+
+#ifndef __ASM_RISCV_ARCH_CLK_H
+#define __ASM_RISCV_ARCH_CLK_H
+
+/* Note: This is a placeholder header for driver compilation. */
+
+#endif
--
2.17.1
More information about the U-Boot
mailing list