soc/intel/broadwell: Drop helper functions
Done for consistency with Haswell in order to ease unification. Change-Id: I445f086cfcb65a6001ced3326fb9f25a4188b888 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55527 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Paul Fagerburg
parent
863efe4545
commit
6672dff088
@@ -21,20 +21,6 @@ u8 systemagent_revision(void)
|
||||
return pci_read_config8(sa_dev, PCI_REVISION_ID);
|
||||
}
|
||||
|
||||
uintptr_t sa_get_tolud_base(void)
|
||||
{
|
||||
struct device *sa_dev = pcidev_path_on_root(SA_DEVFN_ROOT);
|
||||
/* Bit 0 is lock bit, not part of address */
|
||||
return pci_read_config32(sa_dev, TOLUD) & ~1;
|
||||
}
|
||||
|
||||
uintptr_t sa_get_gsm_base(void)
|
||||
{
|
||||
struct device *sa_dev = pcidev_path_on_root(SA_DEVFN_ROOT);
|
||||
/* Bit 0 is lock bit, not part of address */
|
||||
return pci_read_config32(sa_dev, BGSM) & ~1;
|
||||
}
|
||||
|
||||
static int get_pcie_bar(struct device *dev, unsigned int index, u32 *base,
|
||||
u32 *len)
|
||||
{
|
||||
|
Reference in New Issue
Block a user