summaryrefslogtreecommitdiff
path: root/src/drivers/ti/tps65913/tps65913rtc.c
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2020-09-13 17:05:04 +0530
committerSubrata Banik <subrata.banik@intel.com>2020-09-14 12:07:04 +0000
commit7ad46df850516217a4c63e73c2d42f44819c2833 (patch)
tree4fd109219fc3ef7782818884bc67aa7dfa58139f /src/drivers/ti/tps65913/tps65913rtc.c
parent9fec889e823430304e620adbcd5a11b45f5b8ee5 (diff)
soc/intel/common/block: Use pci_dev_request_bus_master for BM enabling
Enabling Bus Master isn't required by the hardware, so we shouldn't need to enable it at all. However, some payloads do not set this bit before attempting DMA transfers, which results in boot failures. Replace static sata_final() implementation for BM enabling with generic pci_dev_request_bus_master() function. This allows the user to control through Kconfig whether Bus Master should be enabled. TEST=Able to boot to OS from SATA device on CML platform. Signed-off-by: Subrata Banik <subrata.banik@intel.com> Change-Id: Icd086184fd6fa9c03c806c857f13fad5a9e78a3e Reviewed-on: https://review.coreboot.org/c/coreboot/+/45320 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/drivers/ti/tps65913/tps65913rtc.c')
0 files changed, 0 insertions, 0 deletions