Pragnesh Patel | 25269c0 | 2020-05-29 11:33:34 +0530 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | # |
| 3 | # Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> |
| 4 | |
| 5 | config 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 Teki | e70ef90 | 2020-07-15 15:39:00 +0530 | [diff] [blame^] | 16 | |
| 17 | if ENV_IS_IN_SPI_FLASH |
| 18 | |
| 19 | config ENV_OFFSET |
| 20 | default 0x505000 |
| 21 | |
| 22 | config ENV_SIZE |
| 23 | default 0x20000 |
| 24 | |
| 25 | config ENV_SECT_SIZE |
| 26 | default 0x10000 |
| 27 | |
| 28 | endif # ENV_IS_IN_SPI_FLASH |