[coreboot-gerrit] New patch to review for coreboot: 231b0c4 YABEL: Drop IO stubs that are (by own admission) never used

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Fri Jul 4 13:27:31 CEST 2014


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6178

-gerrit

commit 231b0c41097e99f2a29cce52adc381c36afcd9ea
Author: Patrick Georgi <patrick.georgi at secunet.com>
Date:   Fri Jun 27 12:16:17 2014 +0200

    YABEL: Drop IO stubs that are (by own admission) never used
    
    Change-Id: I90a120e64a5062493f64e3e8b48a75dae9342ec4
    Signed-off-by: Patrick Georgi <patrick.georgi at secunet.com>
---
 src/device/oprom/yabel/io.c | 47 ---------------------------------------------
 1 file changed, 47 deletions(-)

diff --git a/src/device/oprom/yabel/io.c b/src/device/oprom/yabel/io.c
index 37beccb..08189a9 100644
--- a/src/device/oprom/yabel/io.c
+++ b/src/device/oprom/yabel/io.c
@@ -26,53 +26,6 @@
 
 #include <arch/io.h>
 
-// these are not used, only needed for linking,  must be overridden using X86emu_setupPioFuncs
-// with the functions and struct below
-void
-outb(u8 val, u16 port)
-{
-	printf("WARNING: outb not implemented!\n");
-	HALT_SYS();
-}
-
-void
-outw(u16 val, u16 port)
-{
-	printf("WARNING: outw not implemented!\n");
-	HALT_SYS();
-}
-
-void
-outl(u32 val, u16 port)
-{
-	printf("WARNING: outl not implemented!\n");
-	HALT_SYS();
-}
-
-u8
-inb(u16 port)
-{
-	printf("WARNING: inb not implemented!\n");
-	HALT_SYS();
-	return 0;
-}
-
-u16
-inw(u16 port)
-{
-	printf("WARNING: inw not implemented!\n");
-	HALT_SYS();
-	return 0;
-}
-
-u32
-inl(u16 port)
-{
-	printf("WARNING: inl not implemented!\n");
-	HALT_SYS();
-	return 0;
-}
-
 #if CONFIG_YABEL_DIRECTHW
 u8 my_inb(X86EMU_pioAddr addr)
 {



More information about the coreboot-gerrit mailing list