blob: 2dcad8e27f7f069e925d14641d1197c9bf73841d [file] [log] [blame]
Pragnesh Patel25269c02020-05-29 11:33:34 +05301# SPDX-License-Identifier: GPL-2.0+
2#
3# Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
4
5config SIFIVE_FU540
6 bool
7 select ARCH_EARLY_INIT_R
8 imply CPU
9 imply CPU_RISCV
10 imply RISCV_TIMER
11 imply SIFIVE_CLINT if (RISCV_MMODE || SPL_RISCV_MMODE)
12 imply CMD_CPU
13 imply SPL_CPU_SUPPORT
14 imply SPL_OPENSBI
15 imply SPL_LOAD_FIT
Jagan Tekie70ef902020-07-15 15:39:00 +053016
17if ENV_IS_IN_SPI_FLASH
18
19config ENV_OFFSET
20 default 0x505000
21
22config ENV_SIZE
23 default 0x20000
24
25config ENV_SECT_SIZE
26 default 0x10000
27
28endif # ENV_IS_IN_SPI_FLASH