-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 339767 b: refs/heads/master c: 4cc3c84 h: refs/heads/master i: 339765: 3f570e0 339763: b3f5454 339759: 7836aff v: v3
- Loading branch information
Fabio Estevam
authored and
Shawn Guo
committed
Oct 19, 2012
1 parent
7ebf967
commit 37cf83b
Showing
11 changed files
with
104 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: eccfe8b75b09225187863ac9520a827b6400a8aa | ||
refs/heads/master: 4cc3c840cb71da9a8e458bf89677a78ea0d61532 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* | ||
* linux/arch/arm/boot/compressed/head-vt8500.S | ||
* | ||
* Copyright (C) 2010 Alexey Charkov <alchark@gmail.com> | ||
* | ||
* VIA VT8500 specific tweaks. This is merged into head.S by the linker. | ||
* | ||
*/ | ||
|
||
#include <linux/linkage.h> | ||
#include <asm/mach-types.h> | ||
|
||
.section ".start", "ax" | ||
|
||
__VT8500_start: | ||
@ Compare the SCC ID register against a list of known values | ||
ldr r1, .SCCID | ||
ldr r3, [r1] | ||
|
||
@ VT8500 override | ||
ldr r4, .VT8500SCC | ||
cmp r3, r4 | ||
ldreq r7, .ID_BV07 | ||
beq .Lendvt8500 | ||
|
||
@ WM8505 override | ||
ldr r4, .WM8505SCC | ||
cmp r3, r4 | ||
ldreq r7, .ID_8505 | ||
beq .Lendvt8500 | ||
|
||
@ Otherwise, leave the bootloader's machine id untouched | ||
|
||
.SCCID: | ||
.word 0xd8120000 | ||
.VT8500SCC: | ||
.word 0x34000102 | ||
.WM8505SCC: | ||
.word 0x34260103 | ||
|
||
.ID_BV07: | ||
.word MACH_TYPE_BV07 | ||
.ID_8505: | ||
.word MACH_TYPE_WM8505_7IN_NETBOOK | ||
|
||
.Lendvt8500: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* arch/arm/mach-vt8500/include/mach/hardware.h | ||
* | ||
* This software is licensed under the terms of the GNU General Public | ||
* License version 2, as published by the Free Software Foundation, and | ||
* may be copied, distributed, and modified under those terms. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* arch/arm/mach-vt8500/include/mach/i8042.h | ||
* | ||
* Copyright (C) 2010 Alexey Charkov <alchark@gmail.com> | ||
* | ||
* This software is licensed under the terms of the GNU General Public | ||
* License version 2, as published by the Free Software Foundation, and | ||
* may be copied, distributed, and modified under those terms. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
*/ | ||
|
||
extern unsigned long wmt_i8042_base __initdata; | ||
extern int wmt_i8042_kbd_irq; | ||
extern int wmt_i8042_aux_irq; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* linux/arch/arm/mach-vt8500/restart.h | ||
* | ||
* Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz> | ||
* | ||
* This software is licensed under the terms of the GNU General Public | ||
* License version 2, as published by the Free Software Foundation, and | ||
* may be copied, distributed, and modified under those terms. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
*/ | ||
|
||
void vt8500_setup_restart(void); | ||
void vt8500_restart(char mode, const char *cmd); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters