blob: b7ac0dbf0281d94ae3919802cb24d435b105027d [file] [log] [blame]
Frank Vibrans63e62b02011-02-14 18:38:14 +00001##
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
efdesign9805a89ab2011-06-20 17:38:49 -070020config SOUTHBRIDGE_AMD_CIMX_SB800
Frank Vibrans63e62b02011-02-14 18:38:14 +000021 bool
Kerry Shefeed3292011-08-18 18:03:44 +080022 default n
Frank Vibrans63e62b02011-02-14 18:38:14 +000023 select IOAPIC
Kerry Shefeed3292011-08-18 18:03:44 +080024 select AMD_SB_CIMX
Frank Vibrans63e62b02011-02-14 18:38:14 +000025
efdesign9805a89ab2011-06-20 17:38:49 -070026if SOUTHBRIDGE_AMD_CIMX_SB800
Frank Vibrans63e62b02011-02-14 18:38:14 +000027config BOOTBLOCK_SOUTHBRIDGE_INIT
28 string
efdesign9805a89ab2011-06-20 17:38:49 -070029 default "southbridge/amd/cimx/sb800/bootblock.c"
Kerry She6209c822011-08-18 18:44:00 +080030
Kerry Shehd4a0e7d2011-10-10 17:17:39 +080031choice
32 prompt "SATA Mode"
33 default SB800_SATA_IDE
34 help
35 Select the mode in which SATA should be driven. NATIVE AHCI, or RAID.
36 The default is NATIVE.
37
38config SB800_SATA_IDE
39 bool "NATIVE"
40 help
41 NATIVE is the default mode and does not require a ROM.
42
43config SB800_SATA_AHCI
44 bool "AHCI"
45 help
46 AHCI may work with or without AHCI ROM. It depends on the payload support.
47 For example, seabios does not require the AHCI ROM.
48
49config SB800_SATA_RAID
50 bool "RAID"
51 help
52 sb800 RAID mode must have the two required ROM files.
53
54endchoice
55
56config SB800_SATA_MODE
57 hex
58 depends on (SB800_SATA_IDE || SB800_SATA_RAID || SB800_SATA_AHCI)
59 default "0x0" if SB800_SATA_IDE
60 default "0x1" if SB800_SATA_RAID
61 default "0x2" if SB800_SATA_AHCI
62
Kerry She6209c822011-08-18 18:44:00 +080063config SB_SUPERIO_HWM
64 bool
65 default n
Kerry Shehd4a0e7d2011-10-10 17:17:39 +080066
67if SB800_SATA_AHCI
68config AHCI_ROM_ID
69 string "AHCI device PCI IDs"
70 default "1002,4391"
71
72config SB800_AHCI_ROM
73 bool "Add a AHCI ROM"
74
75config AHCI_ROM_FILE
76 string "AHCI ROM path and filename"
77 depends on SB800_AHCI_ROM
78 default "site-local/sb800/ahci.bin"
79endif
80
81if SB800_SATA_RAID
82config RAID_ROM_ID
83 string "RAID device PCI IDs"
84 default "1002,4393"
85 help
86 1002,4392 for SATA NON-RAID5 module, 1002,4393 for SATA RAID5 mode
87
88config RAID_ROM_FILE
89 string "RAID ROM path and filename"
90 depends on SB800_SATA_RAID
91 default "site-local/sb800/raid.bin"
92
93config RAID_MISC_ROM_FILE
94 string "RAID Misc ROM path and filename"
95 default "site-local/sb800/misc.bin"
96 depends on SB800_SATA_RAID
97
98endif
99
efdesign9805a89ab2011-06-20 17:38:49 -0700100endif #SOUTHBRIDGE_AMD_CIMX_SB800
Frank Vibrans63e62b02011-02-14 18:38:14 +0000101