From patchwork Fri Jan 17 12:46:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pragnesh Patel X-Patchwork-Id: 239729 List-Id: U-Boot discussion From: pragnesh.patel at sifive.com (Pragnesh Patel) Date: Fri, 17 Jan 2020 18:16:08 +0530 Subject: [PATCH v2 2/9] Sifive: FU540: Add place-holder for FU540 clk In-Reply-To: <20200117124616.24695-1-pragnesh.patel@sifive.com> References: <20200117124616.24695-1-pragnesh.patel@sifive.com> Message-ID: <20200117124616.24695-3-pragnesh.patel@sifive.com> Added FU540 place-holder so that SoC specific values will be kept here. Signed-off-by: Pragnesh Patel Reviewed-by: Anup Patel --- arch/riscv/include/asm/arch-fu540/clk.h | 14 ++++++++++++++ board/sifive/fu540/Kconfig | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 arch/riscv/include/asm/arch-fu540/clk.h diff --git a/arch/riscv/include/asm/arch-fu540/clk.h b/arch/riscv/include/asm/arch-fu540/clk.h new file mode 100644 index 0000000000..b39f5b55c9 --- /dev/null +++ b/arch/riscv/include/asm/arch-fu540/clk.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (c) 2019 SiFive, Inc. + * + * Authors: + * Pragnesh Patel + */ + +#ifndef _CLK_FU540_H +#define _CLK_FU540_H + +/* Note: This is a placeholder header for driver compilation. */ + +#endif diff --git a/board/sifive/fu540/Kconfig b/board/sifive/fu540/Kconfig index 5ca21474de..816a135b21 100644 --- a/board/sifive/fu540/Kconfig +++ b/board/sifive/fu540/Kconfig @@ -12,6 +12,9 @@ config SYS_CPU config SYS_CONFIG_NAME default "sifive-fu540" +config SYS_SOC + default "fu540" + config SYS_TEXT_BASE default 0x80000000 if !RISCV_SMODE default 0x80200000 if RISCV_SMODE