soc/intel/baytrail/sd.c: Align with Braswell
This reduces the differences between Bay Trail and Braswell. Tested with BUILD_TIMELESS=1, Google Ninja remains identical. Change-Id: I08ccbc70744a17d589450e321a3ed77d9a56492f Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43196 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
41b1edf58b
commit
31929bf489
|
@ -22,10 +22,9 @@ static void sd_init(struct device *dev)
|
||||||
|
|
||||||
if (config->sdcard_cap_low != 0 || config->sdcard_cap_high != 0) {
|
if (config->sdcard_cap_low != 0 || config->sdcard_cap_high != 0) {
|
||||||
printk(BIOS_DEBUG, "Overriding SD Card controller caps.\n");
|
printk(BIOS_DEBUG, "Overriding SD Card controller caps.\n");
|
||||||
pci_write_config32(dev, CAP_OVERRIDE_LOW,
|
pci_write_config32(dev, CAP_OVERRIDE_LOW, config->sdcard_cap_low);
|
||||||
config->sdcard_cap_low);
|
pci_write_config32(dev, CAP_OVERRIDE_HIGH, config->sdcard_cap_high |
|
||||||
pci_write_config32(dev, CAP_OVERRIDE_HIGH,
|
USE_CAP_OVERRIDES);
|
||||||
config->sdcard_cap_high | USE_CAP_OVERRIDES);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config->scc_acpi_mode)
|
if (config->scc_acpi_mode)
|
||||||
|
|
Loading…
Reference in New Issue