Path: blob/master/arch/arm/boot/compressed/head-vt8500.S
10819 views
/*1* linux/arch/arm/boot/compressed/head-vt8500.S2*3* Copyright (C) 2010 Alexey Charkov <[email protected]>4*5* VIA VT8500 specific tweaks. This is merged into head.S by the linker.6*7*/89#include <linux/linkage.h>10#include <asm/mach-types.h>1112.section ".start", "ax"1314__VT8500_start:15@ Compare the SCC ID register against a list of known values16ldr r1, .SCCID17ldr r3, [r1]1819@ VT8500 override20ldr r4, .VT8500SCC21cmp r3, r422ldreq r7, .ID_BV0723beq .Lendvt85002425@ WM8505 override26ldr r4, .WM8505SCC27cmp r3, r428ldreq r7, .ID_850529beq .Lendvt85003031@ Otherwise, leave the bootloader's machine id untouched3233.SCCID:34.word 0xd812000035.VT8500SCC:36.word 0x3400010237.WM8505SCC:38.word 0x342601033940.ID_BV07:41.word MACH_TYPE_BV0742.ID_8505:43.word MACH_TYPE_WM8505_7IN_NETBOOK4445.Lendvt8500:464748