summaryrefslogtreecommitdiff
path: root/util/romcc/tests/simple_test24.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/romcc/tests/simple_test24.c')
-rw-r--r--util/romcc/tests/simple_test24.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/util/romcc/tests/simple_test24.c b/util/romcc/tests/simple_test24.c
deleted file mode 100644
index 01413c2dad..0000000000
--- a/util/romcc/tests/simple_test24.c
+++ /dev/null
@@ -1,16 +0,0 @@
-void smbus_read_byte(void)
-{
- unsigned char host_status_register;
- unsigned char byte;
- int result;
-
- host_status_register = __builtin_inb(0x1234);
-
- /* read results of transaction */
- byte = __builtin_inb(0x4567);
-
- result = byte;
- if (host_status_register != 0x02) {
- result = -1;
- }
-}