forked from OERV-BSP/u-boot
The clock driver is essential for TH1520 SoCs to operate. Select the driver in SoC Kconfig entry. Signed-off-by: Yao Zi <ziyao@disroot.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
23 lines
536 B
Plaintext
23 lines
536 B
Plaintext
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
|
|
# Copyright (C) 2025, Yao Zi <ziyao@disroot.org>
|
|
|
|
config THEAD_TH1520
|
|
bool
|
|
select ARCH_EARLY_INIT_R
|
|
select SYS_CACHE_SHIFT_6
|
|
select SUPPORT_SPL
|
|
select BINMAN if SPL
|
|
select SYS_CACHE_THEAD_CMO
|
|
select CLK_THEAD
|
|
imply CPU
|
|
imply CPU_RISCV
|
|
imply RISCV_TIMER if (RISCV_SMODE || SPL_RISCV_SMODE)
|
|
imply RISCV_ACLINT if RISCV_MMODE
|
|
imply SPL_RISCV_ACLINT if SPL_RISCV_MMODE
|
|
imply CMD_CPU
|
|
imply SPL_CPU
|
|
imply SPL_OPENSBI
|
|
imply SPL_LOAD_FIT
|