mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Expose BOOT_RAW Kconfig Symbol
       [not found] <31014a580910120227j3023d3f0t947f6feeba427487@mail.gmail.com>
@ 2009-10-12  9:31 ` Mark A. Miller
  2009-10-12 17:51   ` Rob Landley
  0 siblings, 1 reply; 2+ messages in thread
From: Mark A. Miller @ 2009-10-12  9:31 UTC (permalink / raw)
  To: linux-kernel; +Cc: Rob Landley

[-- Attachment #1: Type: text/plain, Size: 156 bytes --]

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
mark@mirell.org

[-- Attachment #2: linux-bootraw-kconfig.patch --]
[-- Type: application/octet-stream, Size: 1001 bytes --]

From: Mark Miller <mark@mirell.org>

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 <mark@mirell.org>
---

 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Expose BOOT_RAW Kconfig Symbol
  2009-10-12  9:31 ` [PATCH] Expose BOOT_RAW Kconfig Symbol Mark A. Miller
@ 2009-10-12 17:51   ` Rob Landley
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Landley @ 2009-10-12 17:51 UTC (permalink / raw)
  To: Mark A. Miller; +Cc: linux-kernel

From: Mark Miller <mark@mirell.org>

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 <mark@mirell.org>
Acked-by: Rob Landley <rob@landley.net>
---

 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-12 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <31014a580910120227j3023d3f0t947f6feeba427487@mail.gmail.com>
2009-10-12  9:31 ` [PATCH] Expose BOOT_RAW Kconfig Symbol Mark A. Miller
2009-10-12 17:51   ` Rob Landley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®