[coreboot-gerrit] Change in ...coreboot[master]: sb/via: Remove unused smbus_delay() function

HAOUAS Elyes (Code Review) gerrit at coreboot.org
Wed Dec 5 21:22:31 CET 2018


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 at 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 at 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);
-}

-- 
To view, visit https://review.coreboot.org/c/coreboot/+/30059
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1fa2aed4f1e1014989aaad4a4abcc10d00f6db12
Gerrit-Change-Number: 30059
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas at noos.fr>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181205/32d1f47e/attachment-0001.html>


More information about the coreboot-gerrit mailing list