diff options
author | Petr Stetiar <ynezz@true.cz> | 2007-09-06 08:16:40 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-09-06 08:16:40 +0000 |
commit | 69be25f5d1e83ee279cc286e67ace024a2a30665 (patch) | |
tree | 5801eb6a228de34fe0403e5be0d51887f7dc71b9 /packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-machine-id-fix.patch | |
parent | 1230cf4ecda8de9a1d974ddc12ddcadf190d4072 (diff) |
linux: add ts72xx support to 2.6.22.6 and 2.6.22+2.6.23-rc5 (see version policy for the renaming reason), closes #2918
Diffstat (limited to 'packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-machine-id-fix.patch')
-rw-r--r-- | packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-machine-id-fix.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-machine-id-fix.patch b/packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-machine-id-fix.patch new file mode 100644 index 0000000000..47a07e64e1 --- /dev/null +++ b/packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-machine-id-fix.patch @@ -0,0 +1,17 @@ + +Fix wrong machine ID passed from RedBoot + +Signed-off-by: Petr Stetiar <ynezz@true.cz> + +Index: linux-2.6.23-rc5/arch/arm/kernel/head.S +=================================================================== +--- linux-2.6.23-rc5.orig/arch/arm/kernel/head.S 2007-09-04 02:25:36.000000000 +0200 ++++ linux-2.6.23-rc5/arch/arm/kernel/head.S 2007-09-04 02:26:57.000000000 +0200 +@@ -86,6 +86,7 @@ + bl __lookup_processor_type @ r5=procinfo r9=cpuid + movs r10, r5 @ invalid processor (r5=0)? + beq __error_p @ yes, error 'p' ++ ldr r1, =0x000002a1 @ mach-type = TS-7250 + bl __lookup_machine_type @ r5=machinfo + movs r8, r5 @ invalid machine (r5=0)? + beq __error_a @ yes, error 'a' |