[coreboot] New patch to review for coreboot: 0bb7b21 sb800 raid/ahci site-local Makefile
Kerry Sheh (shekairui@gmail.com)
gerrit at coreboot.org
Thu Sep 22 12:48:39 CEST 2011
Kerry Sheh (shekairui at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/234
-gerrit
commit 0bb7b21eb22937b05f4dfa716092fb6251b8c5ec
Author: Kerry Sheh <shekairui at gmail.com>
Date: Thu Sep 22 19:01:46 2011 +0800
sb800 raid/ahci site-local Makefile
Site-local Makefile to add raid/ahci option rom
enable RAID0, RAID1, RAID10 and RAID5 feature with Promise Option ROM.
test on amd/persimmon and avalue/eax-785e mainboard.
Change-Id: Ia124fa8a132f7cb16d8d7864f7fcda6433f447f0
Signed-off-by: Kerry Sheh <kerry.she at amd.com>
Signed-off-by: Kerry Sheh <shekairui at gmail.com>
---
site-local/Makefile.inc | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/site-local/Makefile.inc b/site-local/Makefile.inc
new file mode 100644
index 0000000..324357f
--- /dev/null
+++ b/site-local/Makefile.inc
@@ -0,0 +1,33 @@
+#
+# This file is part of the coreboot project.
+#
+# Copyright (C) 2011 Advanced Micro Devices, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+
+stripped_ahci_rom_id = $(call strip_quotes,$(CONFIG_AHCI_ROM_ID))
+cbfs-files-$(CONFIG_SB800_SATA_AHCI) += pci$(stripped_ahci_rom_id).rom
+pci$(stripped_ahci_rom_id).rom-file := $(call strip_quotes,$(CONFIG_AHCI_ROM_FILE))
+pci$(stripped_ahci_rom_id).rom-type := optionrom
+
+stripped_raid_rom_id = $(call strip_quotes,$(CONFIG_RAID_ROM_ID))
+cbfs-files-$(CONFIG_SB800_SATA_RAID) += pci$(stripped_raid_rom_id).rom
+pci$(stripped_raid_rom_id).rom-file := $(call strip_quotes,$(CONFIG_RAID_ROM_FILE))
+pci$(stripped_raid_rom_id).rom-type := optionrom
+
+cbfs-files-$(CONFIG_RAID_MISC_ROM) += raid/misc.bin
+raid/misc.bin-file := $(call strip_quotes,$(CONFIG_RAID_MISC_ROM_FILE))
+raid/misc.bin-type := raw
+
More information about the coreboot
mailing list