summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/bachmann/ot200/mainboard.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/bachmann/ot200/mainboard.c b/src/mainboard/bachmann/ot200/mainboard.c
index 0ea053aad0..d4b0b2daae 100644
--- a/src/mainboard/bachmann/ot200/mainboard.c
+++ b/src/mainboard/bachmann/ot200/mainboard.c
@@ -22,6 +22,7 @@
#include <smbios.h>
#include <console/console.h>
#include <cpu/x86/msr.h>
+#include <arch/io.h>
/* overwrite a weak function to fill SMBIOS table with a custom value */
static u8 hw_rev = 0;
@@ -52,6 +53,14 @@ static void init(struct device *dev)
return;
}
+ /* turn off all leds except led_ini */
+ outb(0x02, 0x5a); /* bit0 - led_run */
+ /* bit1 - led_ini */
+ /* bit2 - led_err */
+ /* bit3-bit7 - write has no effect */
+ outb(0x00, 0x49); /* bit0-bit6 - led_7-led_1 */
+ /* bit7 - write has no effect */
+
/* read the whole block and check if checksum is okay */
for (i = 0; i < 20; i++) {
block[i] = smbus_read_byte(eeprom_dev, i);