mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mark A. Miller" <mark@mirell.org>
To: linux-kernel@vger.kernel.org
Cc: Rob Landley <rob@landley.net>
Subject: [PATCH] Expose BOOT_RAW Kconfig Symbol
Date: Mon, 12 Oct 2009 04:31:02 -0500	[thread overview]
Message-ID: <31014a580910120231p58c4f4ebi122c9232a7c288f3@mail.gmail.com> (raw)
In-Reply-To: <31014a580910120227j3023d3f0t947f6feeba427487@mail.gmail.com>

[-- 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

       reply	other threads:[~2009-10-12  9:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <31014a580910120227j3023d3f0t947f6feeba427487@mail.gmail.com>
2009-10-12  9:31 ` Mark A. Miller [this message]
2009-10-12 17:51   ` Rob Landley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=31014a580910120231p58c4f4ebi122c9232a7c288f3@mail.gmail.com \
    --to=mark@mirell.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rob@landley.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®