summaryrefslogtreecommitdiffstats
path: root/resources/libreboot/patch/kgpe-d16/0062-southbridge-amd-sb700-Add-option-to-disable-SATA-ALP.patch
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-10-18 19:12:53 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-10-18 21:32:36 (EDT)
commit0622df6194dbb1b2120743c0fd1cc5e72c380128 (patch)
tree4c858b8c5667fe001a9907ae0578b4ec28a8f513 /resources/libreboot/patch/kgpe-d16/0062-southbridge-amd-sb700-Add-option-to-disable-SATA-ALP.patch
parent5999dba5f71f1c05040a551d2420ab8c7f3a9da4 (diff)
downloadlibreboot-0622df6194dbb1b2120743c0fd1cc5e72c380128.zip
libreboot-0622df6194dbb1b2120743c0fd1cc5e72c380128.tar.gz
libreboot-0622df6194dbb1b2120743c0fd1cc5e72c380128.tar.bz2
KGPE-D16: update patch set (also update coreboot and vboot)
Also contains other fixes from coreboot, like: * 551cff0 Derive lvds_dual_channel from EDID timings. ^ makes single/dual channel LVDS selection on GM45 automatic * 26fc544 lenovo/t60: Enable native intel gfx init. ^ was being maintained in libreboot, now upstreamed so not needed Framebuffer mode was disabled for the KGPE-D16, because only text-mode works at the moment.
Diffstat (limited to 'resources/libreboot/patch/kgpe-d16/0062-southbridge-amd-sb700-Add-option-to-disable-SATA-ALP.patch')
-rw-r--r--resources/libreboot/patch/kgpe-d16/0062-southbridge-amd-sb700-Add-option-to-disable-SATA-ALP.patch84
1 files changed, 0 insertions, 84 deletions
diff --git a/resources/libreboot/patch/kgpe-d16/0062-southbridge-amd-sb700-Add-option-to-disable-SATA-ALP.patch b/resources/libreboot/patch/kgpe-d16/0062-southbridge-amd-sb700-Add-option-to-disable-SATA-ALP.patch
deleted file mode 100644
index 8bf3220..0000000
--- a/resources/libreboot/patch/kgpe-d16/0062-southbridge-amd-sb700-Add-option-to-disable-SATA-ALP.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-From 449d225e67724a4f1e0de116f1b37af0a07565fe Mon Sep 17 00:00:00 2001
-From: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Date: Thu, 18 Jun 2015 11:48:02 -0500
-Subject: [PATCH 062/146] southbridge/amd/sb700: Add option to disable SATA
- ALPM
-
----
- src/mainboard/asus/kgpe-d16/cmos.default | 1 +
- src/mainboard/asus/kgpe-d16/cmos.layout | 8 ++++----
- src/southbridge/amd/sb700/sata.c | 12 ++++++++++++
- 3 files changed, 17 insertions(+), 4 deletions(-)
-
-diff --git a/src/mainboard/asus/kgpe-d16/cmos.default b/src/mainboard/asus/kgpe-d16/cmos.default
-index 73f2a38..9b30b00 100644
---- a/src/mainboard/asus/kgpe-d16/cmos.default
-+++ b/src/mainboard/asus/kgpe-d16/cmos.default
-@@ -18,6 +18,7 @@ interleave_memory_channels = Enable
- cpu_c_states = Enable
- cpu_cc6_state = Enable
- sata_ahci_mode = Enable
-+sata_alpm = Disable
- maximum_p_state_limit = 0xf
- ieee1394 = Enable
- power_on_after_fail = On
-diff --git a/src/mainboard/asus/kgpe-d16/cmos.layout b/src/mainboard/asus/kgpe-d16/cmos.layout
-index e91568c..f705af2 100644
---- a/src/mainboard/asus/kgpe-d16/cmos.layout
-+++ b/src/mainboard/asus/kgpe-d16/cmos.layout
-@@ -46,11 +46,11 @@ entries
- 465 1 e 1 cpu_c_states
- 466 1 e 1 cpu_cc6_state
- 467 1 e 1 sata_ahci_mode
--468 4 h 0 maximum_p_state_limit
--472 2 e 13 dimm_spd_checksum
--474 1 r 0 allow_spd_nvram_cache_restore
-+468 1 e 1 sata_alpm
-+469 4 h 0 maximum_p_state_limit
-+473 2 e 13 dimm_spd_checksum
-+475 1 r 0 allow_spd_nvram_cache_restore
- 477 1 e 1 ieee1394
-->>>>>>> bed9a97... src/northbridge/amd/amdmct: Add option to override bad SPD checksum
- 728 256 h 0 user_data
- 984 16 h 0 check_sum
- # Reserve the extended AMD configuration registers
-diff --git a/src/southbridge/amd/sb700/sata.c b/src/southbridge/amd/sb700/sata.c
-index dda2fc3..10dbca2 100644
---- a/src/southbridge/amd/sb700/sata.c
-+++ b/src/southbridge/amd/sb700/sata.c
-@@ -108,6 +108,7 @@ static void sata_init(struct device *dev)
- int i, j;
- uint8_t nvram;
- uint8_t sata_ahci_mode;
-+ uint8_t sata_alpm_enable;
- uint8_t port_count;
- uint8_t max_port_count;
-
-@@ -115,6 +116,10 @@ static void sata_init(struct device *dev)
- if (get_option(&nvram, "sata_ahci_mode") == CB_SUCCESS)
- sata_ahci_mode = !!nvram;
-
-+ sata_alpm_enable = 0;
-+ if (get_option(&nvram, "sata_alpm") == CB_SUCCESS)
-+ sata_alpm_enable = !!nvram;
-+
- device_t sm_dev;
- /* SATA SMBus Disable */
- sm_dev = dev_find_slot(0, PCI_DEVFN(0x14, 0));
-@@ -233,6 +238,13 @@ static void sata_init(struct device *dev)
- dword &= ~(0x1 << i);
- write32(sata_bar5 + 0x0c, dword);
-
-+ /* Disable ALPM if ALPM support not requested */
-+ if (!sata_alpm_enable) {
-+ dword = read32(sata_bar5 + 0xfc);
-+ dword &= ~(0x1 << 11); /* Disable ALPM */
-+ write32(sata_bar5 + 0xfc, dword);
-+ }
-+
- /* Write protect Sub-Class Code */
- byte = pci_read_config8(dev, 0x40);
- byte &= ~(1 << 0);
---
-1.7.9.5
-