2 # This file is part of the coreboot project.
\r
4 # Copyright (C) 2010 Advanced Micro Devices, Inc.
\r
6 # This program is free software; you can redistribute it and/or modify
\r
7 # it under the terms of the GNU General Public License as published by
\r
8 # the Free Software Foundation; version 2 of the License.
\r
10 # This program is distributed in the hope that it will be useful,
\r
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
13 # GNU General Public License for more details.
\r
15 # You should have received a copy of the GNU General Public License
\r
16 # along with this program; if not, write to the Free Software
\r
17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
\r
20 # CIMX Root directory
\r
21 CIMX_ROOT = src/vendorcode/amd/cimx
\r
23 CIMX_INC = -I$(src)/mainboard/$(MAINBOARDDIR)
\r
24 CIMX_INC += -I$(src)/southbridge/amd/cimx_wrapper/sb800
\r
25 CIMX_INC += -I$(CIMX_ROOT)/sb800
\r
26 #TODO merge withagesa lib functions
\r
27 CIMX_INC += -I$(CIMX_ROOT)/lib
\r
30 romstage-y += MEMLIB.c
\r
31 romstage-y += PCILIB.c
\r
32 romstage-y += IOLIB.c
\r
33 romstage-y += PMIOLIB.c
\r
34 romstage-y += AMDLIB.c
\r
35 romstage-y += SBPELIB.c
\r
36 romstage-y += AMDSBLIB.c
\r
37 romstage-y += SBPOR.c
\r
38 romstage-y += ECLIB.c
\r
40 ramstage-y += DISPATCHER.c
\r
42 ramstage-y += ACPILIB.c
\r
43 ramstage-y += AZALIA.c
\r
44 ramstage-y += DISPATCHER.c
\r
45 ramstage-y += ECfanc.c
\r
46 ramstage-y += ECfanLIB.c
\r
49 ramstage-y += PMIO2LIB.c
\r
50 ramstage-y += SATA.c
\r
51 ramstage-y += SBCMN.c
\r
52 ramstage-y += SBMAIN.c
\r
53 ramstage-y += SBPOR.c
\r
54 ramstage-y += MEMLIB.c
\r
55 ramstage-y += PCILIB.c
\r
56 ramstage-y += IOLIB.c
\r
57 ramstage-y += PMIOLIB.c
\r
58 ramstage-y += AMDLIB.c
\r
59 ramstage-y += SBPELIB.c
\r
60 ramstage-y += AMDSBLIB.c
\r
61 ramstage-y += ECLIB.c
\r
65 #ramstage-y += LEGACY.c
\r
66 #ramstage-y += SbModInf.c
\r
72 CC := $(CC) $(CIMX_INC)
\r
74 #######################################################################
\r