forked from OERV-BSP/u-boot
44 lines
643 B
Plaintext
44 lines
643 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (c) 2026, Hangfan Li <lihangfan@iscas.ac.cn>
|
|
|
|
# Due to limitation of Kconfig, the following symbols cannot be selected here:
|
|
# CONFIG_ARCH_RV64I
|
|
# CONFIG_RISCV_SMODE
|
|
|
|
config SPACEMIT_K3
|
|
bool
|
|
select ARCH_EARLY_INIT_R
|
|
select SUPPORT_SPL
|
|
select SPL
|
|
imply CPU
|
|
imply CPU_RISCV
|
|
imply SPL_CPU
|
|
imply RISCV_ISA_ZICBOM
|
|
|
|
if SPACEMIT_K3
|
|
|
|
config SYS_CPU
|
|
default "k3"
|
|
|
|
config SPL_SMP
|
|
default n
|
|
|
|
config SPL_TEXT_BASE
|
|
hex
|
|
default 0xc0801000
|
|
|
|
config SPL_MAX_SIZE
|
|
hex
|
|
default 0x6AF00
|
|
|
|
config SPL_BSS_START_ADDR
|
|
hex
|
|
default 0xc0874000
|
|
|
|
config SPL_BSS_MAX_SIZE
|
|
hex
|
|
default 0x3000
|
|
|
|
endif
|