2 # This file is part of the coreboot project.
4 # Copyright (C) 2011 Advanced Micro Devices, Inc.
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; version 2 of the License.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 CIMX_ROOT = $(src)/vendorcode/amd/cimx
23 CIMX_INC = -I$(src)/mainboard/$(MAINBOARDDIR)
24 CIMX_INC += -I$(src)/southbridge/amd/cimx/sb800
25 CIMX_INC += -I$(CIMX_ROOT)/sb800
27 romstage-y += ACPILIB.c
28 romstage-y += AZALIA.c
29 romstage-y += DISPATCHER.c
30 romstage-y += ECfanc.c
31 romstage-y += ECfanLIB.c
34 romstage-y += PMIO2LIB.c
37 romstage-y += SBMAIN.c
39 romstage-y += MEMLIB.c
40 romstage-y += PCILIB.c
42 romstage-y += PMIOLIB.c
43 romstage-y += AMDLIB.c
44 romstage-y += SBPELIB.c
45 romstage-y += AMDSBLIB.c
51 ramstage-y += ACPILIB.c
52 ramstage-y += AZALIA.c
53 ramstage-y += DISPATCHER.c
54 ramstage-y += ECfanc.c
55 ramstage-y += ECfanLIB.c
58 ramstage-y += PMIO2LIB.c
61 ramstage-y += SBMAIN.c
63 ramstage-y += MEMLIB.c
64 ramstage-y += PCILIB.c
66 ramstage-y += PMIOLIB.c
67 ramstage-y += AMDLIB.c
68 ramstage-y += SBPELIB.c
69 ramstage-y += AMDSBLIB.c
74 #ramstage-y += LEGACY.c
75 #ramstage-y += SbModInf.c
81 CC := $(CC) $(CIMX_INC)
83 #######################################################################