kernel: generic: add kernel 4.3
[openwrt.git] / target / linux / generic / patches-4.3 / 300-mips_expose_boot_raw.patch
1 From: Mark Miller <mark@mirell.org>
2
3 This exposes the CONFIG_BOOT_RAW symbol in Kconfig. This is needed on
4 certain Broadcom chipsets running CFE in order to load the kernel.
5
6 Signed-off-by: Mark Miller <mark@mirell.org>
7 Acked-by: Rob Landley <rob@landley.net>
8 ---
9 --- a/arch/mips/Kconfig
10 +++ b/arch/mips/Kconfig
11 @@ -1003,9 +1003,6 @@ config FW_ARC
12  config ARCH_MAY_HAVE_PC_FDC
13         bool
14  
15 -config BOOT_RAW
16 -       bool
17 -
18  config CEVT_BCM1480
19         bool
20  
21 @@ -2733,6 +2730,18 @@ choice
22                   if you don't intend to always append a DTB.
23  endchoice
24  
25 +config BOOT_RAW
26 +       bool "Enable the kernel to be executed from the load address"
27 +       default n
28 +       help
29 +        Allow the kernel to be executed from the load address for
30 +        bootloaders which cannot read the ELF format. This places
31 +        a jump to start_kernel at the load address.
32 +
33 +        If unsure, say N.
34 +
35 +
36 +
37  endmenu
38  
39  config LOCKDEP_SUPPORT