kernel: bump 4.9 to 4.9.153
[openwrt/staging/dedeckeh.git] / target / linux / generic / pending-4.9 / 300-mips_expose_boot_raw.patch
1 From: Mark Miller <mark@mirell.org>
2 Subject: mips: expose CONFIG_BOOT_RAW
3
4 This exposes the CONFIG_BOOT_RAW symbol in Kconfig. This is needed on
5 certain Broadcom chipsets running CFE in order to load the kernel.
6
7 Signed-off-by: Mark Miller <mark@mirell.org>
8 Acked-by: Rob Landley <rob@landley.net>
9 ---
10 --- a/arch/mips/Kconfig
11 +++ b/arch/mips/Kconfig
12 @@ -1068,9 +1068,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 @@ -2967,6 +2964,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