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/sb900
25 CIMX_INC += -I$(CIMX_ROOT)/sb900
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
52 ramstage-y += AcpiLib.c
53 ramstage-y += Azalia.c
54 ramstage-y += Dispatcher.c
55 ramstage-y += EcFanc.c
56 ramstage-y += EcFanLib.c
59 ramstage-y += Pmio2Lib.c
62 ramstage-y += SbMain.c
64 ramstage-y += MemLib.c
65 ramstage-y += PciLib.c
67 ramstage-y += PmioLib.c
68 ramstage-y += AmdLib.c
69 ramstage-y += SbPeLib.c
70 ramstage-y += AmdSbLib.c
75 #ramstage-y += Legacy.c
76 #ramstage-y += SbModInf.c
85 CC := $(CC) $(CIMX_INC)
87 #######################################################################