summaryrefslogtreecommitdiff
path: root/board/atlas/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atlas/board.c')
-rw-r--r--board/atlas/board.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/atlas/board.c b/board/atlas/board.c
index 5725e1f14e..2a07ddd525 100644
--- a/board/atlas/board.c
+++ b/board/atlas/board.c
@@ -26,6 +26,7 @@
#include "host_command.h"
#include "i2c.h"
#include "keyboard_8042_sharedlib.h"
+#include "keyboard_backlight.h"
#include "keyboard_scan.h"
#include "lid_switch.h"
#include "motion_sense.h"
@@ -450,6 +451,13 @@ static void board_init(void)
}
DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);
+static void board_keyboard_backlight(void)
+{
+ kblight_enable(1);
+ kblight_set(100);
+}
+DECLARE_HOOK(HOOK_INIT, board_keyboard_backlight, HOOK_PRIO_LAST);
+
static void board_extpower(void)
{
gpio_set_level(GPIO_PCH_ACOK, extpower_is_present());