blob: 6d0d812ddb55654d664385f378c8d9bea910477e [file] [log] [blame]
Bin Meng117a4332018-09-26 06:55:06 -07001menu "RISC-V architecture"
Rick Chenf94c44e2017-12-26 13:55:52 +08002 depends on RISCV
3
4config SYS_ARCH
5 default "riscv"
6
7choice
8 prompt "Target select"
9 optional
10
Randolphb68bf222023-09-25 17:24:51 +080011config TARGET_ANDES_AE350
12 bool "Support Andes ae350"
Rick Chenf94c44e2017-12-26 13:55:52 +080013
Padmarao Begari39494822019-05-28 15:47:51 +053014config TARGET_MICROCHIP_ICICLE
15 bool "Support Microchip PolarFire-SoC Icicle Board"
16
Samuel Hollanda6a77e42023-10-31 00:32:12 -050017config TARGET_OPENPITON_RISCV64
18 bool "Support RISC-V cores on OpenPiton SoC"
19
Bin Meng510e3792018-09-26 06:55:21 -070020config TARGET_QEMU_VIRT
21 bool "Support QEMU Virt Board"
22
Bin Mengae2d9502021-03-17 11:10:58 +080023config TARGET_SIFIVE_UNLEASHED
24 bool "Support SiFive Unleashed Board"
Anup Patel3fda0262019-02-25 08:15:19 +000025
Green Wan70415e12021-05-27 06:52:13 -070026config TARGET_SIFIVE_UNMATCHED
27 bool "Support SiFive Unmatched Board"
Tom Riniab92b382021-08-26 11:47:59 -040028 select SYS_CACHE_SHIFT_6
Green Wan70415e12021-05-27 06:52:13 -070029
Samuel Hollanda6a77e42023-10-31 00:32:12 -050030config TARGET_SIPEED_MAIX
31 bool "Support Sipeed Maix Board"
32 select SYS_CACHE_SHIFT_6
33
Yanhong Wang331ad932023-03-29 11:42:20 +080034config TARGET_STARFIVE_VISIONFIVE2
35 bool "Support StarFive VisionFive2 Board"
Heinrich Schuchardt16dbe3d2023-09-07 13:21:28 +020036 select BOARD_LATE_INIT
Yanhong Wang331ad932023-03-29 11:42:20 +080037
Yixun Lan5f3a7fd2023-07-08 19:24:32 +080038config TARGET_TH1520_LPI4A
39 bool "Support Sipeed's TH1520 Lichee PI 4A Board"
40 select SYS_CACHE_SHIFT_6
41
Rick Chenf94c44e2017-12-26 13:55:52 +080042endchoice
43
Trevor Woernera0aba8a2019-05-03 09:40:59 -040044config SYS_ICACHE_OFF
45 bool "Do not enable icache"
Trevor Woernera0aba8a2019-05-03 09:40:59 -040046 help
47 Do not enable instruction cache in U-Boot.
48
Trevor Woerner10015022019-05-03 09:41:00 -040049config SPL_SYS_ICACHE_OFF
50 bool "Do not enable icache in SPL"
51 depends on SPL
52 default SYS_ICACHE_OFF
53 help
54 Do not enable instruction cache in SPL.
55
Trevor Woernera0aba8a2019-05-03 09:40:59 -040056config SYS_DCACHE_OFF
57 bool "Do not enable dcache"
Trevor Woernera0aba8a2019-05-03 09:40:59 -040058 help
59 Do not enable data cache in U-Boot.
60
Trevor Woerner10015022019-05-03 09:41:00 -040061config SPL_SYS_DCACHE_OFF
62 bool "Do not enable dcache in SPL"
63 depends on SPL
64 default SYS_DCACHE_OFF
65 help
66 Do not enable data cache in SPL.
67
Shengyu Qud365f662023-08-09 21:11:31 +080068config SPL_ZERO_MEM_BEFORE_USE
69 bool "Zero memory before use"
70 depends on SPL
Shengyu Qud365f662023-08-09 21:11:31 +080071 help
72 Zero stack/GD/malloc area in SPL before using them, this is needed for
73 Sifive core devices that uses L2 cache to store SPL.
74
Rick Chen52923c62018-11-07 09:34:06 +080075# board-specific options below
Leo Yu-Chi Liang8900e2b2023-02-14 20:42:49 +080076source "board/AndesTech/ae350/Kconfig"
Bin Meng510e3792018-09-26 06:55:21 -070077source "board/emulation/qemu-riscv/Kconfig"
Padmarao Begari39494822019-05-28 15:47:51 +053078source "board/microchip/mpfs_icicle/Kconfig"
Samuel Hollanda6a77e42023-10-31 00:32:12 -050079source "board/openpiton/riscv64/Kconfig"
Bin Mengae2d9502021-03-17 11:10:58 +080080source "board/sifive/unleashed/Kconfig"
Green Wan70415e12021-05-27 06:52:13 -070081source "board/sifive/unmatched/Kconfig"
Sean Andersona7c81fc2020-06-24 06:41:25 -040082source "board/sipeed/maix/Kconfig"
Yanhong Wang331ad932023-03-29 11:42:20 +080083source "board/starfive/visionfive2/Kconfig"
Samuel Hollanda6a77e42023-10-31 00:32:12 -050084source "board/thead/th1520_lpi4a/Kconfig"
Rick Chenf94c44e2017-12-26 13:55:52 +080085
Rick Chen52923c62018-11-07 09:34:06 +080086# platform-specific options below
Leo Yu-Chi Liang8900e2b2023-02-14 20:42:49 +080087source "arch/riscv/cpu/andesv5/Kconfig"
Pragnesh Patel7c45fc92020-05-29 11:33:34 +053088source "arch/riscv/cpu/fu540/Kconfig"
Green Wana74e9d82021-05-27 06:52:07 -070089source "arch/riscv/cpu/fu740/Kconfig"
Anup Patelfdff1f92019-02-25 08:14:10 +000090source "arch/riscv/cpu/generic/Kconfig"
Yanhong Wang331ad932023-03-29 11:42:20 +080091source "arch/riscv/cpu/jh7110/Kconfig"
Rick Chen52923c62018-11-07 09:34:06 +080092
93# architecture-specific options below
94
Rick Chenf94c44e2017-12-26 13:55:52 +080095choice
Lukas Auer862e2e72018-11-22 11:26:12 +010096 prompt "Base ISA"
97 default ARCH_RV32I
Rick Chenf94c44e2017-12-26 13:55:52 +080098
Lukas Auer862e2e72018-11-22 11:26:12 +010099config ARCH_RV32I
100 bool "RV32I"
Rick Chenf94c44e2017-12-26 13:55:52 +0800101 select 32BIT
102 help
Lukas Auer862e2e72018-11-22 11:26:12 +0100103 Choose this option to target the RV32I base integer instruction set.
Rick Chenf94c44e2017-12-26 13:55:52 +0800104
Lukas Auer862e2e72018-11-22 11:26:12 +0100105config ARCH_RV64I
106 bool "RV64I"
Rick Chenf94c44e2017-12-26 13:55:52 +0800107 select 64BIT
Lukas Auer71158562018-11-22 11:26:13 +0100108 select PHYS_64BIT
Rick Chenf94c44e2017-12-26 13:55:52 +0800109 help
Lukas Auer862e2e72018-11-22 11:26:12 +0100110 Choose this option to target the RV64I base integer instruction set.
Rick Chenf94c44e2017-12-26 13:55:52 +0800111
112endchoice
113
Lukas Auer8176ea42018-12-12 06:12:23 -0800114choice
115 prompt "Code Model"
116 default CMODEL_MEDLOW
117
118config CMODEL_MEDLOW
119 bool "medium low code model"
120 help
121 U-Boot and its statically defined symbols must lie within a single 2 GiB
122 address range and must lie between absolute addresses -2 GiB and +2 GiB.
123
124config CMODEL_MEDANY
125 bool "medium any code model"
126 help
127 U-Boot and its statically defined symbols must be within any single 2 GiB
128 address range.
129
130endchoice
131
Anup Patel3cfc8252018-12-12 06:12:29 -0800132choice
133 prompt "Run Mode"
134 default RISCV_MMODE
135
136config RISCV_MMODE
137 bool "Machine"
138 help
139 Choose this option to build U-Boot for RISC-V M-Mode.
140
141config RISCV_SMODE
142 bool "Supervisor"
Heinrich Schuchardte637e452023-09-23 01:35:26 +0200143 imply DEBUG_UART
Anup Patel3cfc8252018-12-12 06:12:29 -0800144 help
145 Choose this option to build U-Boot for RISC-V S-Mode.
146
147endchoice
148
Lukas Auerfbfd92b2019-08-21 21:14:43 +0200149choice
150 prompt "SPL Run Mode"
151 default SPL_RISCV_MMODE
152 depends on SPL
153
154config SPL_RISCV_MMODE
155 bool "Machine"
156 help
157 Choose this option to build U-Boot SPL for RISC-V M-Mode.
158
159config SPL_RISCV_SMODE
160 bool "Supervisor"
161 help
162 Choose this option to build U-Boot SPL for RISC-V S-Mode.
163
164endchoice
165
Lukas Auerd57ffa62018-11-22 11:26:14 +0100166config RISCV_ISA_C
167 bool "Emit compressed instructions"
168 default y
169 help
170 Adds "C" to the ISA subsets that the toolchain is allowed to emit
171 when building U-Boot, which results in compressed instructions in the
172 U-Boot binary.
173
Heinrich Schuchardte67f34f2022-10-12 14:59:51 +0200174config RISCV_ISA_F
175 bool "Standard extension for Single-Precision Floating Point"
176 default y
177 help
178 Adds "F" to the ISA string passed to the compiler.
179
180config RISCV_ISA_D
181 bool "Standard extension for Double-Precision Floating Point"
182 depends on RISCV_ISA_F
183 default y
184 help
185 Adds "D" to the ISA string passed to the compiler and changes the
186 riscv32 ABI from ilp32 to ilp32d and the riscv64 ABI from lp64 to
187 lp64d.
188
Yu Chien Peter Linbc5a5042023-08-09 18:49:30 +0800189config RISCV_ISA_ZBB
190 bool "Zbb extension support for bit manipulation instructions"
191 help
192 Adds ZBB extension (basic bit manipulation) to the ISA subsets
193 that the toolchain is allowed to emit when building U-Boot.
194 The Zbb extension provides instructions to accelerate a number
195 of bit-specific operations (count bit population, sign extending,
196 bitrotation, etc) and enables optimized string routines.
197
198menu "Use assembly optimized implementation of string routines"
199
200config USE_ARCH_STRLEN
201 bool "Use an assembly optimized implementation of strlen"
202 default y
203 depends on RISCV_ISA_ZBB
204 help
205 Enable the generation of an optimized version of strlen using
206 Zbb extension.
207
208config SPL_USE_ARCH_STRLEN
209 bool "Use an assembly optimized implementation of strlen for SPL"
210 default y if USE_ARCH_STRLEN
211 depends on RISCV_ISA_ZBB
212 depends on SPL
213 help
214 Enable the generation of an optimized version of strlen using
215 Zbb extension.
216
217config TPL_USE_ARCH_STRLEN
218 bool "Use an assembly optimized implementation of strlen for TPL"
219 default y if USE_ARCH_STRLEN
220 depends on RISCV_ISA_ZBB
221 depends on TPL
222 help
223 Enable the generation of an optimized version of strlen using
224 Zbb extension.
225
226config USE_ARCH_STRCMP
227 bool "Use an assembly optimized implementation of strcmp"
228 default y
229 depends on RISCV_ISA_ZBB
230 help
231 Enable the generation of an optimized version of strcmp using
232 Zbb extension.
233
234config SPL_USE_ARCH_STRCMP
235 bool "Use an assembly optimized implementation of strcmp for SPL"
236 default y if USE_ARCH_STRCMP
237 depends on RISCV_ISA_ZBB
238 depends on SPL
239 help
240 Enable the generation of an optimized version of strcmp using
241 Zbb extension.
242
243config TPL_USE_ARCH_STRCMP
244 bool "Use an assembly optimized implementation of strcmp for TPL"
245 default y if USE_ARCH_STRCMP
246 depends on RISCV_ISA_ZBB
247 depends on TPL
248 help
249 Enable the generation of an optimized version of strcmp using
250 Zbb extension.
251
252config USE_ARCH_STRNCMP
253 bool "Use an assembly optimized implementation of strncmp"
254 default y
255 depends on RISCV_ISA_ZBB
256 help
257 Enable the generation of an optimized version of strncmp using
258 Zbb extension.
259
260config SPL_USE_ARCH_STRNCMP
261 bool "Use an assembly optimized implementation of strncmp for SPL"
262 default y if USE_ARCH_STRNCMP
263 depends on RISCV_ISA_ZBB
264 depends on SPL
265 help
266 Enable the generation of an optimized version of strncmp using
267 Zbb extension.
268
269config TPL_USE_ARCH_STRNCMP
270 bool "Use an assembly optimized implementation of strncmp for TPL"
271 default y if USE_ARCH_STRNCMP
272 depends on RISCV_ISA_ZBB
273 depends on TPL
274 help
275 Enable the generation of an optimized version of strncmp using
276 Zbb extension.
277
278endmenu
279
Lukas Auerd57ffa62018-11-22 11:26:14 +0100280config RISCV_ISA_A
281 def_bool y
282
Rick Chenf94c44e2017-12-26 13:55:52 +0800283config 32BIT
284 bool
285
286config 64BIT
287 bool
288
Padmarao Begari5af35742021-01-15 08:20:35 +0530289config DMA_ADDR_T_64BIT
290 bool
291 default y if 64BIT
292
Bin Meng9675d922023-06-21 23:11:46 +0800293config RISCV_ACLINT
Bin Meng644a3cd2018-12-12 06:12:30 -0800294 bool
Bin Menga6d7e8c2021-05-11 20:04:12 +0800295 depends on RISCV_MMODE
Bin Meng7f1a30f2023-06-21 23:11:45 +0800296 select REGMAP
297 select SYSCON
Bin Menga6d7e8c2021-05-11 20:04:12 +0800298 help
Bin Meng9675d922023-06-21 23:11:46 +0800299 The RISC-V ACLINT block holds memory-mapped control and status registers
Bin Menga6d7e8c2021-05-11 20:04:12 +0800300 associated with software and timer interrupts.
301
Bin Meng9675d922023-06-21 23:11:46 +0800302config SPL_RISCV_ACLINT
Bin Menga6d7e8c2021-05-11 20:04:12 +0800303 bool
304 depends on SPL_RISCV_MMODE
Bin Meng7f1a30f2023-06-21 23:11:45 +0800305 select SPL_REGMAP
306 select SPL_SYSCON
Bin Meng644a3cd2018-12-12 06:12:30 -0800307 help
Bin Meng9675d922023-06-21 23:11:46 +0800308 The RISC-V ACLINT block holds memory-mapped control and status registers
Bin Meng644a3cd2018-12-12 06:12:30 -0800309 associated with software and timer interrupts.
310
Zong Li213ed172021-09-01 15:01:41 +0800311config SIFIVE_CACHE
312 bool
313 help
314 This enables the operations to configure SiFive cache
315
Yu Chien Peter Lina5dfa3b2022-10-25 23:03:50 +0800316config ANDES_PLICSW
Rick Chen0d389462019-04-02 15:56:39 +0800317 bool
Lukas Auerfbfd92b2019-08-21 21:14:43 +0200318 depends on RISCV_MMODE || SPL_RISCV_MMODE
Rick Chen0d389462019-04-02 15:56:39 +0800319 select REGMAP
320 select SYSCON
Lukas Auerfbfd92b2019-08-21 21:14:43 +0200321 select SPL_REGMAP if SPL
322 select SPL_SYSCON if SPL
Rick Chen0d389462019-04-02 15:56:39 +0800323 help
Yu Chien Peter Lina5dfa3b2022-10-25 23:03:50 +0800324 The Andes PLICSW block holds memory-mapped claim and pending
325 registers associated with software interrupt.
Rick Chen0d389462019-04-02 15:56:39 +0800326
Lukas Auerfa33f082019-03-17 19:28:32 +0100327config SMP
328 bool "Symmetric Multi-Processing"
Bin Meng6fa022e2020-04-16 08:09:31 -0700329 depends on SBI_V01 || !RISCV_SMODE
Lukas Auerfa33f082019-03-17 19:28:32 +0100330 help
331 This enables support for systems with more than one CPU. If
332 you say N here, U-Boot will run on single and multiprocessor
333 machines, but will use only one CPU of a multiprocessor
334 machine. If you say Y here, U-Boot will run on many, but not
335 all, single processor machines.
336
Bin Meng191636e2020-04-16 08:09:30 -0700337config SPL_SMP
338 bool "Symmetric Multi-Processing in SPL"
339 depends on SPL && SPL_RISCV_MMODE
340 default y
341 help
342 This enables support for systems with more than one CPU in SPL.
343 If you say N here, U-Boot SPL will run on single and multiprocessor
344 machines, but will use only one CPU of a multiprocessor
345 machine. If you say Y here, U-Boot SPL will run on many, but not
346 all, single processor machines.
347
Lukas Auerfa33f082019-03-17 19:28:32 +0100348config NR_CPUS
349 int "Maximum number of CPUs (2-32)"
350 range 2 32
Bin Meng191636e2020-04-16 08:09:30 -0700351 depends on SMP || SPL_SMP
Lukas Auerfa33f082019-03-17 19:28:32 +0100352 default 8
353 help
354 On multiprocessor machines, U-Boot sets up a stack for each CPU.
355 Stack memory is pre-allocated. U-Boot must therefore know the
356 maximum number of CPUs that may be present.
357
Bin Mengf58fc342020-03-09 19:35:28 -0700358config SBI
359 bool
360 default y if RISCV_SMODE || SPL_RISCV_SMODE
361
Bin Mengff0fa6c2020-04-16 08:09:32 -0700362choice
363 prompt "SBI support"
Bin Mengfa16ec22020-04-16 08:09:33 -0700364 default SBI_V02
Bin Mengff0fa6c2020-04-16 08:09:32 -0700365
Bin Meng1b3c8d62020-03-09 19:35:30 -0700366config SBI_V01
367 bool "SBI v0.1 support"
Bin Meng1b3c8d62020-03-09 19:35:30 -0700368 depends on SBI
369 help
370 This config allows kernel to use SBI v0.1 APIs. This will be
371 deprecated in future once legacy M-mode software are no longer in use.
372
Bin Mengff0fa6c2020-04-16 08:09:32 -0700373config SBI_V02
Heinrich Schuchardt5c894672022-11-08 15:53:12 +0100374 bool "SBI v0.2 or later support"
Bin Mengff0fa6c2020-04-16 08:09:32 -0700375 depends on SBI
376 help
Heinrich Schuchardt5c894672022-11-08 15:53:12 +0100377 The SBI specification introduced the concept of extensions in version
378 v0.2. With this configuration option U-Boot can detect and use SBI
379 extensions. With the HSM extension introduced in SBI 0.2, only a
380 single hart needs to boot and enter the operating system. The booting
381 hart can bring up secondary harts one by one afterwards.
Bin Mengff0fa6c2020-04-16 08:09:32 -0700382
Heinrich Schuchardt5c894672022-11-08 15:53:12 +0100383 Choose this option if OpenSBI release v0.7 or above is used together
Bin Mengff0fa6c2020-04-16 08:09:32 -0700384 with U-Boot.
385
386endchoice
387
Lukas Auerf152feb2019-03-17 19:28:34 +0100388config SBI_IPI
389 bool
Bin Mengf58fc342020-03-09 19:35:28 -0700390 depends on SBI
Lukas Auerfbfd92b2019-08-21 21:14:43 +0200391 default y if RISCV_SMODE || SPL_RISCV_SMODE
Lukas Auerf152feb2019-03-17 19:28:34 +0100392 depends on SMP
393
Rick Chenbdce3892019-04-30 13:49:33 +0800394config XIP
395 bool "XIP mode"
396 help
397 XIP (eXecute In Place) is a method for executing code directly
398 from a NOR flash memory without copying the code to ram.
399 Say yes here if U-Boot boots from flash directly.
400
Nikita Shubinc2bdf022022-09-02 11:47:39 +0300401config SPL_XIP
402 bool "Enable XIP mode for SPL"
403 help
404 If SPL starts in read-only memory (XIP for example) then we shouldn't
405 rely on lock variables (for example hart_lottery and available_harts_lock),
406 this affects only SPL, other stages should proceed as non-XIP.
407
Rick Chene0465f82022-09-21 14:34:54 +0800408config AVAILABLE_HARTS
409 bool "Send IPI by available harts"
410 default y
411 help
412 By default, IPI sending mechanism will depend on available_harts.
413 If disable this, it will send IPI by CPUs node numbers of device tree.
414
Sean Andersonfd1f6e92019-12-25 00:27:44 -0500415config SHOW_REGS
416 bool "Show registers on unhandled exception"
417
Sean Andersonb8bc1202020-06-24 06:41:19 -0400418config RISCV_PRIV_1_9
419 bool "Use version 1.9 of the RISC-V priviledged specification"
420 help
421 Older versions of the RISC-V priviledged specification had
422 separate counter enable CSRs for each privilege mode. Writing
423 to the unified mcounteren CSR on a processor implementing the
424 old specification will result in an illegal instruction
425 exception. In addition to counter CSR changes, the way virtual
426 memory is configured was also changed.
427
Lukas Auer3dea63c2019-03-17 19:28:37 +0100428config STACK_SIZE_SHIFT
429 int
Lukas Auer6b20dc12019-10-20 20:53:47 +0200430 default 14
Lukas Auer3dea63c2019-03-17 19:28:37 +0100431
Bin Meng1c17e552020-06-25 18:16:08 -0700432config OF_BOARD_FIXUP
Sean Anderson32cef692020-09-05 09:22:11 -0400433 default y if OF_SEPARATE && RISCV_SMODE
Bin Meng1c17e552020-06-25 18:16:08 -0700434
Bin Meng89419272021-05-13 16:46:18 +0800435menu "Use assembly optimized implementation of memory routines"
436
Heinrich Schuchardt8f0dc4c2021-03-27 12:37:04 +0100437config USE_ARCH_MEMCPY
438 bool "Use an assembly optimized implementation of memcpy"
439 default y
440 help
441 Enable the generation of an optimized version of memcpy.
442 Such an implementation may be faster under some conditions
443 but may increase the binary size.
444
445config SPL_USE_ARCH_MEMCPY
446 bool "Use an assembly optimized implementation of memcpy for SPL"
447 default y if USE_ARCH_MEMCPY
448 depends on SPL
449 help
450 Enable the generation of an optimized version of memcpy.
451 Such an implementation may be faster under some conditions
452 but may increase the binary size.
453
454config TPL_USE_ARCH_MEMCPY
455 bool "Use an assembly optimized implementation of memcpy for TPL"
456 default y if USE_ARCH_MEMCPY
457 depends on TPL
458 help
459 Enable the generation of an optimized version of memcpy.
460 Such an implementation may be faster under some conditions
461 but may increase the binary size.
462
463config USE_ARCH_MEMMOVE
464 bool "Use an assembly optimized implementation of memmove"
465 default y
466 help
467 Enable the generation of an optimized version of memmove.
468 Such an implementation may be faster under some conditions
469 but may increase the binary size.
470
471config SPL_USE_ARCH_MEMMOVE
472 bool "Use an assembly optimized implementation of memmove for SPL"
473 default y if USE_ARCH_MEMCPY
474 depends on SPL
475 help
476 Enable the generation of an optimized version of memmove.
477 Such an implementation may be faster under some conditions
478 but may increase the binary size.
479
480config TPL_USE_ARCH_MEMMOVE
481 bool "Use an assembly optimized implementation of memmove for TPL"
482 default y if USE_ARCH_MEMCPY
483 depends on TPL
484 help
485 Enable the generation of an optimized version of memmove.
486 Such an implementation may be faster under some conditions
487 but may increase the binary size.
488
489config USE_ARCH_MEMSET
490 bool "Use an assembly optimized implementation of memset"
491 default y
492 help
493 Enable the generation of an optimized version of memset.
494 Such an implementation may be faster under some conditions
495 but may increase the binary size.
496
497config SPL_USE_ARCH_MEMSET
498 bool "Use an assembly optimized implementation of memset for SPL"
499 default y if USE_ARCH_MEMSET
500 depends on SPL
501 help
502 Enable the generation of an optimized version of memset.
503 Such an implementation may be faster under some conditions
504 but may increase the binary size.
505
506config TPL_USE_ARCH_MEMSET
507 bool "Use an assembly optimized implementation of memset for TPL"
508 default y if USE_ARCH_MEMSET
509 depends on TPL
510 help
511 Enable the generation of an optimized version of memset.
512 Such an implementation may be faster under some conditions
513 but may increase the binary size.
514
Rick Chenf94c44e2017-12-26 13:55:52 +0800515endmenu
Bin Meng89419272021-05-13 16:46:18 +0800516
Randolphe09a2282023-10-12 14:35:04 +0800517config SPL_LOAD_FIT_OPENSBI_OS_BOOT
518 bool "Enable SPL (OpenSBI OS boot mode) applying linux from FIT"
519 depends on SPL_LOAD_FIT
520 help
521 Use fw_dynamic from the FIT image, and u-boot SPL will invoke it directly.
522 This is a shortcut boot flow, from u-boot SPL -> OpenSBI -> u-boot proper
523 -> linux to u-boot SPL -> OpenSBI -> linux.
524
Bin Meng89419272021-05-13 16:46:18 +0800525endmenu