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 | d4a0e7d | 2011-10-10 17:17:39 +0800 | [diff] [blame^] | 31 | choice |
| 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 | |
| 38 | config SB800_SATA_IDE |
| 39 | bool "NATIVE" |
| 40 | help |
| 41 | NATIVE is the default mode and does not require a ROM. |
| 42 | |
| 43 | config 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 | |
| 49 | config SB800_SATA_RAID |
| 50 | bool "RAID" |
| 51 | help |
| 52 | sb800 RAID mode must have the two required ROM files. |
| 53 | |
| 54 | endchoice |
| 55 | |
| 56 | config 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 She | 6209c82 | 2011-08-18 18:44:00 +0800 | [diff] [blame] | 63 | config SB_SUPERIO_HWM |
| 64 | bool |
| 65 | default n |
Kerry Sheh | d4a0e7d | 2011-10-10 17:17:39 +0800 | [diff] [blame^] | 66 | |
| 67 | if SB800_SATA_AHCI |
| 68 | config AHCI_ROM_ID |
| 69 | string "AHCI device PCI IDs" |
| 70 | default "1002,4391" |
| 71 | |
| 72 | config SB800_AHCI_ROM |
| 73 | bool "Add a AHCI ROM" |
| 74 | |
| 75 | config AHCI_ROM_FILE |
| 76 | string "AHCI ROM path and filename" |
| 77 | depends on SB800_AHCI_ROM |
| 78 | default "site-local/sb800/ahci.bin" |
| 79 | endif |
| 80 | |
| 81 | if SB800_SATA_RAID |
| 82 | config 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 | |
| 88 | config RAID_ROM_FILE |
| 89 | string "RAID ROM path and filename" |
| 90 | depends on SB800_SATA_RAID |
| 91 | default "site-local/sb800/raid.bin" |
| 92 | |
| 93 | config 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 | |
| 98 | endif |
| 99 | |
efdesign98 | 05a89ab | 2011-06-20 17:38:49 -0700 | [diff] [blame] | 100 | endif #SOUTHBRIDGE_AMD_CIMX_SB800 |
Frank Vibrans | 63e62b0 | 2011-02-14 18:38:14 +0000 | [diff] [blame] | 101 | |