2009-10-12 09:32:00

by Mark A. Miller

[permalink] [raw]
Subject: [PATCH] Expose BOOT_RAW Kconfig Symbol

This is a trivial change, it allows you to enable the BOOT_RAW symbol
on systems that it isn't otherwise the default on.

--
Mark A. Miller
[email protected]


Attachments:
linux-bootraw-kconfig.patch (0.98 kB)

2009-10-12 17:53:05

by Rob Landley

[permalink] [raw]
Subject: Re: [PATCH] Expose BOOT_RAW Kconfig Symbol

From: Mark Miller <[email protected]>

This exposes the CONFIG_BOOT_RAW symbol in Kconfig. This is needed on
certain Broadcom chipsets running CFE in order to load the kernel.

Signed-off-by: Mark Miller <[email protected]>
Acked-by: Rob Landley <[email protected]>
---

arch/mips/Kconfig | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index f4af967..023604d 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -670,9 +670,6 @@ config ARC
config ARCH_MAY_HAVE_PC_FDC
bool

-config BOOT_RAW
- bool
-
config CEVT_BCM1480
bool

@@ -1887,6 +1884,18 @@ config SECCOMP

If unsure, say Y. Only embedded should say N here.

+config BOOT_RAW
+ bool "Enable the kernel to be executed from the load address"
+ default n
+ help
+ Allow the kernel to be executed from the load address for
+ bootloaders which cannot read the ELF format. This places
+ a jump to start_kernel at the load address.
+
+ If unsure, say N.
+
+
+
endmenu

config LOCKDEP_SUPPORT


--
Latency is more important than throughput. It's that simple. - Linus Torvalds