From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: Bogus machine-type from bootloader
Date: Fri, 24 Dec 2010 11:29:08 +0000 [thread overview]
Message-ID: <20101224112908.GF20587@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <BF43E57B-EE45-49B1-AE2A-96F8CBFD40FE@gmail.com>
On Fri, Dec 24, 2010 at 12:19:25PM +0100, Damjan Marion wrote:
> Is there any "proper" way if fixing bogus machine type sent by
> bootloader (ofcourse except fixing bootloader itself)?
>
> I'm looking into code where author did following:
>
>
> +++ a/arch/arm/boot/compressed/head-str9100.S 2009-01-20 04:26:26.000000000 +0100
> @@ -0,0 +1,7 @@
> +#include <asm/mach-types.h>
> +
> + .section ".start", "ax"
> +
> +__str9100_start:
> + mov r7, #(MACH_TYPE_STR9100 & 0xFF00)
> + orr r7, r7, #(MACH_TYPE_STR9100 & 0x00FF)
>
> I assume this is not something acceptable for having in official kernel source.
next prev parent reply other threads:[~2010-12-24 11:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-24 11:19 Bogus machine-type from bootloader Damjan Marion
2010-12-24 11:29 ` Russell King - ARM Linux [this message]
2010-12-24 13:17 ` Damjan Marion
2010-12-25 11:34 ` Alexander Clouter
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=20101224112908.GF20587@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/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