Change-Id: I9761a8a9a7cc708fe95169cb8b79b413b97ee523
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/598
Tested-by: build bot (Jenkins)
#include "chip.h"
#include <pc80/mc146818rtc.h>
#include "chip.h"
#include <pc80/mc146818rtc.h>
+static void h8_bluetooth_enable(int on)
+{
+ if (on)
+ ec_set_bit(0x3a, 4);
+ else
+ ec_clr_bit(0x3a, 4);
+}
+
void h8_trackpoint_enable(int on)
{
ec_write(H8_TRACKPOINT_CTRL,
void h8_trackpoint_enable(int on)
{
ec_write(H8_TRACKPOINT_CTRL,
ec_write(H8_VOLUME_CONTROL, val);
ec_write(H8_VOLUME_CONTROL, val);
+ if (!get_option(&val, "bluetooth"))
+ h8_bluetooth_enable(val);
+
if (!get_option(&val, "first_battery")) {
tmp = ec_read(H8_CONFIG3);
tmp &= ~(1 << 4);
if (!get_option(&val, "first_battery")) {
tmp = ec_read(H8_CONFIG3);
tmp &= ~(1 << 4);
1052 4 r 0 C1DRT1
1060 1 e 1 touchpad
1052 4 r 0 C1DRT1
1060 1 e 1 touchpad
1064 8 h 0 volume
1072 1 e 9 first_battery
# -----------------------------------------------------------------
1064 8 h 0 volume
1072 1 e 9 first_battery
# -----------------------------------------------------------------
1064 8 h 0 volume
1072 8 h 0 tft_brightness
1080 1 e 9 first_battery
1064 8 h 0 volume
1072 8 h 0 tft_brightness
1080 1 e 9 first_battery
# -----------------------------------------------------------------
enumerations
# -----------------------------------------------------------------
enumerations