diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-07 16:33:01 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-10 03:06:18 +0000 |
commit | dfd4ec2dbbb8ad7e8cf1a7d1a424b6407b959994 (patch) | |
tree | af840390debb3e3b14e835e1b7397fc6c87c5f7a /src/southbridge/amd/cimx/sb900 | |
parent | a96e66a76f21c41b0c15db8d9df1d721f4a8a9af (diff) |
southbridge/amd/cimx: Drop unused functions
Leftovers from attempts of using these with
native (non-AGESA) amdfam10/15 support code.
Change-Id: I8eaed338438e1de5baee462376e339e1439f72f1
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/30728
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/southbridge/amd/cimx/sb900')
-rw-r--r-- | src/southbridge/amd/cimx/sb900/early.c | 19 | ||||
-rw-r--r-- | src/southbridge/amd/cimx/sb900/sb_cimx.h | 7 |
2 files changed, 0 insertions, 26 deletions
diff --git a/src/southbridge/amd/cimx/sb900/early.c b/src/southbridge/amd/cimx/sb900/early.c index 96f5e33fa7..6fe133b083 100644 --- a/src/southbridge/amd/cimx/sb900/early.c +++ b/src/southbridge/amd/cimx/sb900/early.c @@ -25,25 +25,6 @@ #include <commonlib/loglevel.h> #include "smbus.h" -/** - * @brief Get SouthBridge device number - * @param[in] bus target bus number - * @return southbridge device number - */ -u32 get_sbdn(u32 bus) -{ - pci_devfn_t dev; - - printk(BIOS_SPEW, "SB900 - Early.c - get_sbdn - Start.\n"); - - dev = pci_locate_device_on_bus(PCI_ID(PCI_VENDOR_ID_AMD, - PCI_DEVICE_ID_AMD_SB900_SM), bus); - - printk(BIOS_SPEW, "SB900 - Early.c - get_sbdn - End.\n"); - - return (dev >> 15) & 0x1f; -} - /** * @brief South Bridge CIMx romstage entry, diff --git a/src/southbridge/amd/cimx/sb900/sb_cimx.h b/src/southbridge/amd/cimx/sb900/sb_cimx.h index 99b246ed6d..d13c79dc80 100644 --- a/src/southbridge/amd/cimx/sb900/sb_cimx.h +++ b/src/southbridge/amd/cimx/sb900/sb_cimx.h @@ -33,13 +33,6 @@ #define REV_SB900_A12 0x12 /** - * @brief Get SouthBridge device number, called by finalize_node_setup() - * @param[in] bus target bus number - * @return southbridge device number - */ -u32 get_sbdn(u32 bus); - -/** * South Bridge CIMx romstage entry, sbPowerOnInit entry point wrapper. */ void sb_poweron_init(void); |