linux: generic: add support for 3.1-rc1
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.1 / 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 @@ -853,9 +853,6 @@ config 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 @@ -2303,6 +2300,18 @@ config USE_OF
22 help
23 Include support for flattened device tree machine descriptions.
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