diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2016-12-06 17:59:23 -0600 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2016-12-08 14:25:31 +0100 |
commit | 7c6951b059b9a7c36486a73f656ad8a88f648626 (patch) | |
tree | 0e2339ff21872ea9bafad0e255fb73aa82ee92cd /src/mainboard/google/tidus/romstage.c | |
parent | f5dd23f954d0de1295bd403f641223e1f79af153 (diff) |
google/beltino, tidus: simplify led_power_on() function
Simplify set_power_led() by consolidating switch and setting values
as needed inline based on LED state. Remove unnecesary function
param, includes for Tidus.
Change-Id: I28e6fac5f8d7e2ff419002db714ce88697895faf
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/17744
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/google/tidus/romstage.c')
-rw-r--r-- | src/mainboard/google/tidus/romstage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/tidus/romstage.c b/src/mainboard/google/tidus/romstage.c index 351fc6162e..703eaeae88 100644 --- a/src/mainboard/google/tidus/romstage.c +++ b/src/mainboard/google/tidus/romstage.c @@ -56,6 +56,6 @@ void mainboard_pre_console_init(void) ite_enable_serial(IT8772F_SERIAL_DEV, CONFIG_TTYS0_BASE); /* Turn On GPIO10.LED */ - set_power_led(SIO_GPIO_BLINK_GPIO10, LED_ON); + set_power_led(LED_ON); } |