blob: b7f9d928bc7c68c2a98c1f03656203792a3b15cb [file] [log] [blame]
efdesign98b0969d62011-06-16 16:35:54 -07001#*****************************************************************************
2#
3# Copyright (c) 2011, Advanced Micro Devices, Inc.
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are met:
8# * Redistributions of source code must retain the above copyright
9# notice, this list of conditions and the following disclaimer.
10# * Redistributions in binary form must reproduce the above copyright
11# notice, this list of conditions and the following disclaimer in the
12# documentation and/or other materials provided with the distribution.
13# * Neither the name of Advanced Micro Devices, Inc. nor the names of
14# its contributors may be used to endorse or promote products derived
15# from this software without specific prior written permission.
16#
17# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20# DISCLAIMED. IN NO EVENT SHALL ADVANCED MICRO DEVICES, INC. BE LIABLE FOR ANY
21# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27#
28#*****************************************************************************
29
30# AGESA V5 Files
31AGESA_ROOT = src/vendorcode/amd/agesa/f12
32
33AGESA_INC = -Isrc/mainboard/$(MAINBOARDDIR)
34AGESA_INC += -I$(AGESA_ROOT)
35AGESA_INC += -I$(AGESA_ROOT)/Proc/CPU
36AGESA_INC += -I$(AGESA_ROOT)/Proc/CPU/Family
37AGESA_INC += -I$(AGESA_ROOT)/Include
38AGESA_INC += -I$(AGESA_ROOT)/Proc/IDS
39AGESA_INC += -I$(AGESA_ROOT)/Lib
40AGESA_INC += -I$(AGESA_ROOT)/Proc/CPU/Feature
41AGESA_INC += -I$(AGESA_ROOT)/Proc/Common
42AGESA_INC += -I$(AGESA_ROOT)/Proc/Mem
43AGESA_INC += -I$(AGESA_ROOT)/Proc/Recovery/CPU
44AGESA_INC += -I$(AGESA_ROOT)/Proc/CPU/Family/0x12
45AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Nb
46AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Common
efdesign98b0969d62011-06-16 16:35:54 -070047AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Modules/GnbCommonLib
48AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB
49AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Gfx
50AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Gfx/Family
51AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Modules/GnbGfxConfig
52AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Modules/GnbGfxInitLibV1
53AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Modules/GnbSbLib
54AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieConfig
55AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Modules/GnbNbInitLibV1
56AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Nb/Family/LN
57AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Modules/GnbCableSafe
58AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieInitLibV1
59AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieAlibV1
60AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Modules/GnbPcieTrainingV1
61AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Nb/Family
62AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/Nb/Feature
63AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/PCIe/Family
64AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/PCIe
65AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/PCIe/Family/LN
66AGESA_INC += -I$(AGESA_ROOT)/Proc/GNB/PCIe/Feature
67AGESA_INC += -I$(AGESA_ROOT)/Proc/HT
68AGESA_INC += -I$(AGESA_ROOT)/Proc/HT/Fam12
efdesign98b0969d62011-06-16 16:35:54 -070069AGESA_INC += -I$(AGESA_ROOT)/Proc/Mem/Feat/CHINTLV
70AGESA_INC += -I$(AGESA_ROOT)/Proc/Mem/Feat/CSINTLV
71AGESA_INC += -I$(AGESA_ROOT)/Proc/Mem/Feat/ECC
72AGESA_INC += -I$(AGESA_ROOT)/Proc/Mem/Feat/IDENDIMM
73AGESA_INC += -I$(AGESA_ROOT)/Proc/Mem/Feat/INTLVRN
74AGESA_INC += -I$(AGESA_ROOT)/Proc/Mem/Feat/LVDDR3
75AGESA_INC += -I$(AGESA_ROOT)/Proc/Mem/Feat/ODTHERMAL
76AGESA_INC += -I$(AGESA_ROOT)/Proc/Mem/Main
77AGESA_INC += -I$(AGESA_ROOT)/Proc/Mem/NB/LN
78AGESA_INC += -I$(AGESA_ROOT)/Proc/Mem/Tech
79AGESA_INC += -I$(AGESA_ROOT)/Proc/Mem/Tech/DDR3
80
Patrick Georgi9f5af6a2014-05-18 23:30:56 +020081CFLAGS_x86_32 += -march=k8-sse3 -mtune=k8-sse3 -fno-zero-initialized-in-bss -fno-strict-aliasing
efdesign98b0969d62011-06-16 16:35:54 -070082
efdesign98b0969d62011-06-16 16:35:54 -070083export AGESA_INC := $(AGESA_INC)
Patrick Georgie3927432014-05-18 23:04:27 +020084CPPFLAGS_x86_32 += $(AGESA_INC)
Furquan Shaikh99ac98f2014-04-23 10:18:48 -070085#######################################################################