summaryrefslogtreecommitdiff
path: root/Core/EM/BoardInfo/AmiBoardInfo.sdl
blob: d9224fbdbb43b61c714bb6b79760bef8a48e6c23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
TOKEN
	Name  = "AmiBoardInfo_SUPPORT"
	Value  = "1"
	Help  = "Main switch to enable AMI Board Info support in Project"
	TokenType = Boolean
	TargetEQU = Yes
	TargetMAK = Yes
	TargetH = Yes
	Master = Yes
End

TOKEN
	Name  = "AMI_BOARD_INFO_MAJOR_VERSION"
	Value  = "2"
	Help  = "AMI Board Info Driver Major Version"
	TokenType = Integer
	TargetEQU = Yes
	TargetMAK = Yes
	TargetH = Yes
	Lock = Yes
End

TOKEN
	Name  = "AMI_BOARD_INFO_MINOR_VERSION"
	Value  = "1"
	Help  = "AMI Board Info Driver Mainor Version"
	TokenType = Integer
	TargetEQU = Yes
	TargetMAK = Yes
	TargetH = Yes
	Lock = Yes
End

TOKEN
	Name  = "AMI_BOARD_VER_COMBINED"
	Value  = "$(AMI_BOARD_INFO_MAJOR_VERSION)*100+ $(AMI_BOARD_INFO_MINOR_VERSION)*10"
	TokenType = Integer
	TargetEQU = Yes
	TargetMAK = Yes
	TargetH = Yes
	Lock = Yes
End

PATH
	Name  = "AmiBoardInfo_DIR"
	Help  = "Path to AMI Board Info Module in Project"
End

MODULE
	Help  = "Includes AmiBoardInfo.mak to Project"
	File  = "AmiBoardInfo.mak"
End

ELINK
	Name  = "$(BUILD_DIR)\AmiBoardInfo.ffs"
	Parent  = "FV_MAIN"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "ASL_EXP_INCLUDE_PATH"
	Help  = "Include passes for ASL expander"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "ASLPREPROCESS_FLAG"
	Help  = "Option override for preprocessing ASL files"
	InvokeOrder = ReplaceParent
End

OUTPUTREGISTER
	Name  = "BUSNUM_XLAT_C_v2"
	Path  = "Build"
	File  = "BusNumXlat.h"
	Token = "AMI_BOARD_INFO_MAJOR_VERSION" ">=" "1"
End

OUTPUTREGISTER
	Name  = "IRQ_C_APIC_v2"
	Path  = "Build"
	File  = "mppciirq.h"
	Token = "AMI_BOARD_INFO_MAJOR_VERSION" ">=" "1"
End

OUTPUTREGISTER
	Name  = "IRQ_C_v2"
	Path  = "Build"
	File  = "oempir.h"
	Token = "AMI_BOARD_INFO_MAJOR_VERSION" ">=" "1"
End

OUTPUTREGISTER
	Name  = "BUSNUM_XLAT"
	Path  = "Build"
	File  = "BusNumXlat.INC"
	Token = "AMI_BOARD_INFO_MAJOR_VERSION" "<" "1"
End

OUTPUTREGISTER
	Name  = "IRQ_ASM_APIC"
	Path  = "Build"
	File  = "mppciirq.inc"
	Token = "AMI_BOARD_INFO_MAJOR_VERSION" "<" "1"
End

OUTPUTREGISTER
	Name  = "IRQ_ASM"
	Path  = "Build"
	File  = "oempir.inc"
	Token = "AMI_BOARD_INFO_MAJOR_VERSION" "<" "1"
End