HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30059
Change subject: sb/via: Remove unused smbus_delay() function ......................................................................
sb/via: Remove unused smbus_delay() function
Change-Id: I1fa2aed4f1e1014989aaad4a4abcc10d00f6db12 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/northbridge/via/vx900/Makefile.inc D src/southbridge/via/common/early_smbus_delay.c 2 files changed, 0 insertions(+), 26 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/30059/1
diff --git a/src/northbridge/via/vx900/Makefile.inc b/src/northbridge/via/vx900/Makefile.inc index bbfe63b..111bd89 100644 --- a/src/northbridge/via/vx900/Makefile.inc +++ b/src/northbridge/via/vx900/Makefile.inc @@ -23,7 +23,6 @@ romstage-y += raminit_ddr3.c romstage-y += memmap.c romstage-y += ./../../../device/dram/ddr3.c -romstage-y += ./../../../southbridge/via/common/early_smbus_delay.c romstage-y += ./../../../southbridge/via/common/early_smbus_is_busy.c romstage-y += ./../../../southbridge/via/common/early_smbus_print_error.c romstage-y += ./../../../southbridge/via/common/early_smbus_reset.c diff --git a/src/southbridge/via/common/early_smbus_delay.c b/src/southbridge/via/common/early_smbus_delay.c deleted file mode 100644 index 0c04112..0000000 --- a/src/southbridge/via/common/early_smbus_delay.c +++ /dev/null @@ -1,25 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2011-2013 Alexandru Gagniuc mr.nuke.me@gmail.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - -#include "via_early_smbus.h" - -/** - * \brief Brief delay for SMBus transactions - */ -void smbus_delay(void) -{ - inb(0x80); -}