amd/lpc: Remove the weak function
BUG=b:140165023 Change-Id: Idb4613dc08c8dee6c92b4dabb39c2f5c189471aa Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58770 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
parent
72e76676fc
commit
19b3102910
|
@ -141,8 +141,6 @@
|
||||||
/* Clear all decoding to the LPC bus and erase any range registers associated
|
/* Clear all decoding to the LPC bus and erase any range registers associated
|
||||||
* with the enable bits. */
|
* with the enable bits. */
|
||||||
void lpc_disable_decodes(void);
|
void lpc_disable_decodes(void);
|
||||||
/* LPC is typically enabled very early, but this function is last opportunity */
|
|
||||||
void soc_late_lpc_bridge_enable(void);
|
|
||||||
void lpc_enable_port80(void);
|
void lpc_enable_port80(void);
|
||||||
void lpc_enable_pci_port80(void);
|
void lpc_enable_pci_port80(void);
|
||||||
void lpc_enable_decode(uint32_t decodes);
|
void lpc_enable_decode(uint32_t decodes);
|
||||||
|
|
|
@ -20,9 +20,6 @@
|
||||||
#include <soc/lpc.h>
|
#include <soc/lpc.h>
|
||||||
#include <soc/southbridge.h>
|
#include <soc/southbridge.h>
|
||||||
|
|
||||||
/* Most systems should have already enabled the bridge */
|
|
||||||
void __weak soc_late_lpc_bridge_enable(void) { }
|
|
||||||
|
|
||||||
static void setup_serirq(void)
|
static void setup_serirq(void)
|
||||||
{
|
{
|
||||||
u8 byte;
|
u8 byte;
|
||||||
|
@ -41,8 +38,6 @@ static void lpc_init(struct device *dev)
|
||||||
{
|
{
|
||||||
u8 byte;
|
u8 byte;
|
||||||
|
|
||||||
soc_late_lpc_bridge_enable();
|
|
||||||
|
|
||||||
/* Initialize isa dma */
|
/* Initialize isa dma */
|
||||||
isa_dma_init();
|
isa_dma_init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue