Thread (4 messages) 4 messages, 3 authors, 2010-12-25

Bogus machine-type from bootloader

From: Damjan Marion <hidden>
Date: 2010-12-24 11:19:25

hi,

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.


Damjan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help