forked from OERV-BSP/u-boot
Select PINCTRL_TH1520 in CPU Kconfig entry and update defconfig for existing TH1520-based boards to ensure PINCTRL is enabled. Signed-off-by: Yao Zi <ziyao@disroot.org> Acked-by: Leo Yu-Chi Liang <ycliang@andestech.com>
24 lines
559 B
Plaintext
24 lines
559 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
|
|
select PINCTRL_TH1520
|
|
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
|