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 # SB800 Platform Files
33 ifeq ($(CONFIG_SB800_SATA_AHCI), y)
34 ifdef CONFIG_SB800_AHCI_ROM
35 stripped_ahci_rom_id = $(call strip_quotes,$(CONFIG_AHCI_ROM_ID))
36 cbfs-files-y += pci$(stripped_ahci_rom_id).rom
37 pci$(stripped_ahci_rom_id).rom-file := $(call strip_quotes,$(CONFIG_AHCI_ROM_FILE))
38 pci$(stripped_ahci_rom_id).rom-type := optionrom
42 ifeq ($(CONFIG_SB800_SATA_RAID), y)
43 stripped_raid_rom_id = $(call strip_quotes,$(CONFIG_RAID_ROM_ID))
44 cbfs-files-y += pci$(stripped_raid_rom_id).rom
45 pci$(stripped_raid_rom_id).rom-file := $(call strip_quotes,$(CONFIG_RAID_ROM_FILE))
46 pci$(stripped_raid_rom_id).rom-type := optionrom
48 cbfs-files-y += raid/misc.bin
49 raid/misc.bin-file := $(call strip_quotes,$(CONFIG_RAID_MISC_ROM_FILE))
50 raid/misc.bin-position := $(CONFIG_RAID_MISC_ROM_POSITION)
51 raid/misc.bin-type := raw