]> git.proxmox.com Git - mirror_edk2.git/blame - ArmEbPkg/Debugger_scripts/rvi_hw_setup.inc
Report correct MediaPresentSupported value from Nt32 SNP mode data.
[mirror_edk2.git] / ArmEbPkg / Debugger_scripts / rvi_hw_setup.inc
CommitLineData
b76848cb 1//
2// Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
3//
4// This program and the accompanying materials
5// are licensed and made available under the terms and conditions of the BSD License
6// which accompanies this distribution. The full text of the license may be found at
7// http://opensource.org/licenses/bsd-license.php
8//
9// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11//
12
13error = continue
14unload
15error = abort
16
17setreg @CP15_CONTROL = 0x0005107E
18setreg @cpsr=0x000000D3
19
20; General clock settings.
21setmem /32 0x48307270=0x00000080
22setmem /32 0x48306D40=0x00000003
23setmem /32 0x48005140=0x03020A50
24
25;Clock configuration
26setmem /32 0x48004A40=0x0000030A
27setmem /32 0x48004C40=0x00000015
28
29;DPLL3 (Core) settings
30setmem /32 0x48004D00=0x00370037
31setmem /32 0x48004D30=0x00000000
32setmem /32 0x48004D40=0x094C0C00
33
34;DPLL4 (Peripheral) settings
35setmem /32 0x48004D00=0x00370037
36setmem /32 0x48004D30=0x00000000
37setmem /32 0x48004D44=0x0001B00C
38setmem /32 0x48004D48=0x00000009
39
40;DPLL1 (MPU) settings
41setmem /32 0x48004904=0x00000037
42setmem /32 0x48004934=0x00000000
43setmem /32 0x48004940=0x0011F40C
44setmem /32 0x48004944=0x00000001
45setmem /32 0x48004948=0x00000000
46
47;RAM setup.
48setmem /16 0x6D000010=0x0000
49setmem /16 0x6D000040=0x0001
50setmem /16 0x6D000044=0x0100
51setmem /16 0x6D000048=0x0000
52setmem /32 0x6D000060=0x0000000A
53setmem /32 0x6D000070=0x00000081
54setmem /16 0x6D000040=0x0003
55setmem /32 0x6D000080=0x02D04011
56setmem /16 0x6D000084=0x0032
57setmem /16 0x6D00008C=0x0000
58setmem /32 0x6D00009C=0xBA9DC4C6
59setmem /32 0x6D0000A0=0x00012522
60setmem /32 0x6D0000A4=0x0004E201
61setmem /16 0x6D000040=0x0003
62setmem /32 0x6D0000B0=0x02D04011
63setmem /16 0x6D0000B4=0x0032
64setmem /16 0x6D0000BC=0x0000
65setmem /32 0x6D0000C4=0xBA9DC4C6
66setmem /32 0x6D0000C8=0x00012522
67setmem /32 0x6D0000D4=0x0004E201