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 | |
efdesign98 | 05a89ab | 2011-06-20 17:38:49 -0700 | [diff] [blame] | 20 | config SOUTHBRIDGE_AMD_CIMX_SB800 |
Frank Vibrans | 63e62b0 | 2011-02-14 18:38:14 +0000 | [diff] [blame] | 21 | bool |
Kerry She | feed329 | 2011-08-18 18:03:44 +0800 | [diff] [blame] | 22 | default n |
Frank Vibrans | 63e62b0 | 2011-02-14 18:38:14 +0000 | [diff] [blame] | 23 | select IOAPIC |
Kerry She | feed329 | 2011-08-18 18:03:44 +0800 | [diff] [blame] | 24 | select AMD_SB_CIMX |
Frank Vibrans | 63e62b0 | 2011-02-14 18:38:14 +0000 | [diff] [blame] | 25 | |
efdesign98 | 05a89ab | 2011-06-20 17:38:49 -0700 | [diff] [blame] | 26 | if SOUTHBRIDGE_AMD_CIMX_SB800 |
Frank Vibrans | 63e62b0 | 2011-02-14 18:38:14 +0000 | [diff] [blame] | 27 | config BOOTBLOCK_SOUTHBRIDGE_INIT |
| 28 | string |
efdesign98 | 05a89ab | 2011-06-20 17:38:49 -0700 | [diff] [blame] | 29 | default "southbridge/amd/cimx/sb800/bootblock.c" |
Kerry She | 6209c82 | 2011-08-18 18:44:00 +0800 | [diff] [blame] | 30 | |
Kerry Sheh | d7e856b9 | 2011-10-11 17:27:06 +0800 | [diff] [blame^] | 31 | config ENABLE_IDE_COMBINED_MODE |
| 32 | bool "Enable SATA IDE combined mode" |
| 33 | default n |
| 34 | help |
| 35 | If Combined Mode is enabled. IDE controller is exposed and |
| 36 | SATA controller has control over Port0 through Port3, |
| 37 | IDE controller has control over Port4 and Port5. |
| 38 | |
| 39 | If Combined Mode is disabled, IDE controller is hidden and |
| 40 | SATA controller has full control of all 6 Ports when operating in non-IDE mode. |
| 41 | |
| 42 | config IDE_COMBINED_MODE |
| 43 | hex |
| 44 | default "0x0" if ENABLE_IDE_COMBINED_MODE |
| 45 | default "0x1" if !ENABLE_IDE_COMBINED_MODE |
| 46 | |
Kerry Sheh | d4a0e7d | 2011-10-10 17:17:39 +0800 | [diff] [blame] | 47 | choice |
| 48 | prompt "SATA Mode" |
| 49 | default SB800_SATA_IDE |
| 50 | help |
| 51 | Select the mode in which SATA should be driven. NATIVE AHCI, or RAID. |
| 52 | The default is NATIVE. |
| 53 | |
| 54 | config SB800_SATA_IDE |
| 55 | bool "NATIVE" |
| 56 | help |
| 57 | NATIVE is the default mode and does not require a ROM. |
| 58 | |
| 59 | config SB800_SATA_AHCI |
| 60 | bool "AHCI" |
| 61 | help |
| 62 | AHCI may work with or without AHCI ROM. It depends on the payload support. |
| 63 | For example, seabios does not require the AHCI ROM. |
| 64 | |
| 65 | config SB800_SATA_RAID |
| 66 | bool "RAID" |
| 67 | help |
| 68 | sb800 RAID mode must have the two required ROM files. |
| 69 | |
| 70 | endchoice |
| 71 | |
| 72 | config SB800_SATA_MODE |
| 73 | hex |
| 74 | depends on (SB800_SATA_IDE || SB800_SATA_RAID || SB800_SATA_AHCI) |
| 75 | default "0x0" if SB800_SATA_IDE |
| 76 | default "0x1" if SB800_SATA_RAID |
| 77 | default "0x2" if SB800_SATA_AHCI |
| 78 | |
Kerry She | 6209c82 | 2011-08-18 18:44:00 +0800 | [diff] [blame] | 79 | config SB_SUPERIO_HWM |
| 80 | bool |
| 81 | default n |
Kerry Sheh | d4a0e7d | 2011-10-10 17:17:39 +0800 | [diff] [blame] | 82 | |
| 83 | if SB800_SATA_AHCI |
| 84 | config AHCI_ROM_ID |
| 85 | string "AHCI device PCI IDs" |
| 86 | default "1002,4391" |
| 87 | |
| 88 | config SB800_AHCI_ROM |
| 89 | bool "Add a AHCI ROM" |
| 90 | |
| 91 | config AHCI_ROM_FILE |
| 92 | string "AHCI ROM path and filename" |
| 93 | depends on SB800_AHCI_ROM |
| 94 | default "site-local/sb800/ahci.bin" |
| 95 | endif |
| 96 | |
| 97 | if SB800_SATA_RAID |
| 98 | config RAID_ROM_ID |
| 99 | string "RAID device PCI IDs" |
| 100 | default "1002,4393" |
| 101 | help |
| 102 | 1002,4392 for SATA NON-RAID5 module, 1002,4393 for SATA RAID5 mode |
| 103 | |
| 104 | config RAID_ROM_FILE |
| 105 | string "RAID ROM path and filename" |
| 106 | depends on SB800_SATA_RAID |
| 107 | default "site-local/sb800/raid.bin" |
| 108 | |
| 109 | config RAID_MISC_ROM_FILE |
| 110 | string "RAID Misc ROM path and filename" |
| 111 | default "site-local/sb800/misc.bin" |
| 112 | depends on SB800_SATA_RAID |
| 113 | |
| 114 | endif |
| 115 | |
efdesign98 | 05a89ab | 2011-06-20 17:38:49 -0700 | [diff] [blame] | 116 | endif #SOUTHBRIDGE_AMD_CIMX_SB800 |
Frank Vibrans | 63e62b0 | 2011-02-14 18:38:14 +0000 | [diff] [blame] | 117 | |