07028a0d329aaefea610733df6dc44ec4ccb63d2
[coreboot.git] / src / southbridge / amd / sb600 / Kconfig
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright (C) 2008-2009 coresystems GmbH
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
20 config SOUTHBRIDGE_AMD_SB600
21         bool
22         select IOAPIC
23         select HAVE_USBDEBUG
24
25 if SOUTHBRIDGE_AMD_SB600
26 config BOOTBLOCK_SOUTHBRIDGE_INIT
27         string
28         default "southbridge/amd/sb600/bootblock.c"
29
30 config EHCI_BAR
31         hex
32         default 0xfef00000
33
34 config EHCI_DEBUG_OFFSET
35         hex
36         default 0xe0
37
38 config USBDEBUG_DEFAULT_PORT
39         int
40         default 0
41
42 choice
43         prompt "SATA Mode"
44         default SATA_MODE_IDE
45         help
46           Select the mode in which SATA should be driven. IDE or AHCI.
47           The default is IDE.
48
49         config SATA_MODE_IDE
50         bool "IDE"
51
52         config SATA_MODE_AHCI
53         bool "AHCI"
54 endchoice
55
56 config SATA_MODE
57         int
58         default 1 if SATA_MODE_IDE
59         default 0 if SATA_MODE_AHCI
60
61 endif