Remove unneeded 'startup-hacks' file
Removed the hacks file because there is no reason
for the UART at this point. Also no longer
need for the serial-stop. I did confirm that the
VUART is still functioning with these changes. I
also modified the top level Makefile to no longer
include the hacks directory.
Resolved openbmc/openbmc#586
Change-Id: I7c116b6736d35b1119564816df6ee6aa14616467
Signed-off-by: Josh King <jdking@us.ibm.com>
diff --git a/Makefile b/Makefile
index 8190633..405ea21 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,6 @@
rstbutton
SUBDIRS = fanctl \
- hacks \
ledctl \
libopenbmc_intf \
pychassisctl \
diff --git a/hacks/Makefile b/hacks/Makefile
deleted file mode 100644
index abb4ed3..0000000
--- a/hacks/Makefile
+++ /dev/null
@@ -1,7 +0,0 @@
-all:
-
-install:
- mkdir -p $(DESTDIR)/usr/sbin
- install startup_hacks.sh $(DESTDIR)/usr/sbin
-
-clean:
diff --git a/hacks/startup_hacks.sh b/hacks/startup_hacks.sh
deleted file mode 100644
index 7e96ccf..0000000
--- a/hacks/startup_hacks.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-systemctl stop serial-getty@ttyS0
-
-# Setup VUART
-VUART=/sys/devices/platform/ahb/ahb:apb/1e787000.vuart
-echo 4 > $VUART/sirq
-echo 0x3f8 > $VUART/lpc_address