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 | |
Kerry She | feed329 | 2011-08-18 18:03:44 +0800 | [diff] [blame] | 20 | subdirs-$(CONFIG_SOUTHBRIDGE_AMD_CIMX_SB800) += ../../../../../src/vendorcode/amd/cimx/sb800 |
Frank Vibrans | 63e62b0 | 2011-02-14 18:38:14 +0000 | [diff] [blame] | 21 | |
| 22 | # SB800 Platform Files |
| 23 | |
| 24 | romstage-y += cfg.c |
| 25 | romstage-y += early.c |
| 26 | romstage-y += smbus.c |
| 27 | |
| 28 | ramstage-y += cfg.c |
| 29 | ramstage-y += late.c |
| 30 | |
| 31 | driver-y += smbus.c |
| 32 | driver-y += lpc.c |
| 33 | |
Kerry Sheh | d4a0e7d | 2011-10-10 17:17:39 +0800 | [diff] [blame] | 34 | ifeq ($(CONFIG_SB800_SATA_AHCI), y) |
| 35 | ifdef CONFIG_SB800_AHCI_ROM |
| 36 | stripped_ahci_rom_id = $(call strip_quotes,$(CONFIG_AHCI_ROM_ID)) |
| 37 | cbfs-files-y += pci$(stripped_ahci_rom_id).rom |
| 38 | pci$(stripped_ahci_rom_id).rom-file := $(call strip_quotes,$(CONFIG_AHCI_ROM_FILE)) |
| 39 | pci$(stripped_ahci_rom_id).rom-type := optionrom |
| 40 | endif |
| 41 | endif |
Frank Vibrans | 63e62b0 | 2011-02-14 18:38:14 +0000 | [diff] [blame] | 42 | |
Kerry Sheh | d4a0e7d | 2011-10-10 17:17:39 +0800 | [diff] [blame] | 43 | ifeq ($(CONFIG_SB800_SATA_RAID), y) |
| 44 | stripped_raid_rom_id = $(call strip_quotes,$(CONFIG_RAID_ROM_ID)) |
| 45 | cbfs-files-y += pci$(stripped_raid_rom_id).rom |
| 46 | pci$(stripped_raid_rom_id).rom-file := $(call strip_quotes,$(CONFIG_RAID_ROM_FILE)) |
| 47 | pci$(stripped_raid_rom_id).rom-type := optionrom |
| 48 | |
| 49 | cbfs-files-y += raid/misc.bin |
| 50 | raid/misc.bin-file := $(call strip_quotes,$(CONFIG_RAID_MISC_ROM_FILE)) |
Kerry Sheh | 55437c5 | 2011-10-12 11:42:59 +0800 | [diff] [blame^] | 51 | raid/misc.bin-position := $(CONFIG_RAID_MISC_ROM_POSITION) |
Kerry Sheh | d4a0e7d | 2011-10-10 17:17:39 +0800 | [diff] [blame] | 52 | raid/misc.bin-type := raw |
| 53 | endif |