blob: b8a9018b00d09887832db84957d079fe84beb19c [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From: Mark Miller <mark@mirell.org>
2Subject: mips: expose CONFIG_BOOT_RAW
3
4This exposes the CONFIG_BOOT_RAW symbol in Kconfig. This is needed on
5certain Broadcom chipsets running CFE in order to load the kernel.
6
7Signed-off-by: Mark Miller <mark@mirell.org>
8Acked-by: Rob Landley <rob@landley.net>
9---
10--- a/arch/mips/Kconfig
11+++ b/arch/mips/Kconfig
12@@ -1072,9 +1072,6 @@ config FW_ARC
13 config ARCH_MAY_HAVE_PC_FDC
14 bool
15
16-config BOOT_RAW
17- bool
18-
19 config CEVT_BCM1480
20 bool
21
22@@ -3048,6 +3045,18 @@ choice
23 bool "Extend builtin kernel arguments with bootloader arguments"
24 endchoice
25
26+config BOOT_RAW
27+ bool "Enable the kernel to be executed from the load address"
28+ default n
29+ help
30+ Allow the kernel to be executed from the load address for
31+ bootloaders which cannot read the ELF format. This places
32+ a jump to start_kernel at the load address.
33+
34+ If unsure, say N.
35+
36+
37+
38 endmenu
39
40 config LOCKDEP_SUPPORT