Frank Vibrans | 63e62b0 | 2011-02-14 18:38:14 +0000 | [diff] [blame] | 1 | # |
| 2 | # This file is part of the coreboot project. |
| 3 | # |
| 4 | # Copyright (C) 2011 Advanced Micro Devices, Inc. |
| 5 | # |
| 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. |
| 9 | # |
| 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. |
| 14 | # |
| 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 |
| 18 | # |
| 19 | |
Frank Vibrans | 63e62b0 | 2011-02-14 18:38:14 +0000 | [diff] [blame] | 20 | |
| 21 | # SB800 Platform Files |
| 22 | |
| 23 | romstage-y += cfg.c |
| 24 | romstage-y += early.c |
| 25 | romstage-y += smbus.c |
| 26 | |
| 27 | ramstage-y += cfg.c |
| 28 | ramstage-y += late.c |
| 29 | |
zbao | 01bd79f | 2012-03-23 11:36:08 +0800 | [diff] [blame] | 30 | ramstage-$(CONFIG_HAVE_ACPI_RESUME) += spi.c |
Marc Jones | 76cfcbc | 2012-05-08 23:22:34 -0600 | [diff] [blame] | 31 | ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.c |
zbao | 01bd79f | 2012-03-23 11:36:08 +0800 | [diff] [blame] | 32 | |
Patrick Georgi | 23f38cd | 2012-11-16 14:50:32 +0100 | [diff] [blame^] | 33 | ramstage-y += smbus.c |
| 34 | ramstage-y += lpc.c |
Frank Vibrans | 63e62b0 | 2011-02-14 18:38:14 +0000 | [diff] [blame] | 35 | |
Kerry Sheh | d4a0e7d | 2011-10-10 17:17:39 +0800 | [diff] [blame] | 36 | ifeq ($(CONFIG_SB800_SATA_AHCI), y) |
| 37 | ifdef CONFIG_SB800_AHCI_ROM |
| 38 | stripped_ahci_rom_id = $(call strip_quotes,$(CONFIG_AHCI_ROM_ID)) |
| 39 | cbfs-files-y += pci$(stripped_ahci_rom_id).rom |
| 40 | pci$(stripped_ahci_rom_id).rom-file := $(call strip_quotes,$(CONFIG_AHCI_ROM_FILE)) |
| 41 | pci$(stripped_ahci_rom_id).rom-type := optionrom |
| 42 | endif |
| 43 | endif |
Frank Vibrans | 63e62b0 | 2011-02-14 18:38:14 +0000 | [diff] [blame] | 44 | |
Kerry Sheh | d4a0e7d | 2011-10-10 17:17:39 +0800 | [diff] [blame] | 45 | ifeq ($(CONFIG_SB800_SATA_RAID), y) |
| 46 | stripped_raid_rom_id = $(call strip_quotes,$(CONFIG_RAID_ROM_ID)) |
| 47 | cbfs-files-y += pci$(stripped_raid_rom_id).rom |
| 48 | pci$(stripped_raid_rom_id).rom-file := $(call strip_quotes,$(CONFIG_RAID_ROM_FILE)) |
| 49 | pci$(stripped_raid_rom_id).rom-type := optionrom |
| 50 | |
| 51 | cbfs-files-y += raid/misc.bin |
| 52 | raid/misc.bin-file := $(call strip_quotes,$(CONFIG_RAID_MISC_ROM_FILE)) |
Kerry Sheh | 55437c5 | 2011-10-12 11:42:59 +0800 | [diff] [blame] | 53 | raid/misc.bin-position := $(CONFIG_RAID_MISC_ROM_POSITION) |
Kerry Sheh | d4a0e7d | 2011-10-10 17:17:39 +0800 | [diff] [blame] | 54 | raid/misc.bin-type := raw |
| 55 | endif |