From c5b30aa9f2fa726ec77a825a5bc04f985d584ec5 Mon Sep 17 00:00:00 2001 From: Alexandru M Stan Date: Wed, 1 Oct 2014 14:10:36 -0700 Subject: [PATCH] Renaming board veyron -> pinky Seems that all previous boards used the subvariant specific name, and had an alias from emerge-variant_subvariant to the ec subvariant folder. BUG=chrome-os-partner:32331 BRANCH=None TEST=cd board/pinky; make clean && make -j && ../../util/flash_ec --board=pinky Change-Id: Ie6e0c977b6659687357a1b5aa2915cf0e40a5da7 Signed-off-by: Alexandru M Stan Reviewed-on: https://chromium-review.googlesource.com/221904 Reviewed-by: Randall Spangler Reviewed-by: David Hendricks --- board/{veyron => pinky}/Makefile | 0 board/{veyron => pinky}/battery.c | 0 board/{veyron => pinky}/board.c | 0 board/{veyron => pinky}/board.h | 0 board/{veyron => pinky}/build.mk | 0 board/{veyron => pinky}/ec.tasklist | 0 board/{veyron => pinky}/gpio.inc | 0 board/{veyron => pinky}/led.c | 10 +++++----- util/flash_ec | 2 +- 9 files changed, 6 insertions(+), 6 deletions(-) rename board/{veyron => pinky}/Makefile (100%) rename board/{veyron => pinky}/battery.c (100%) rename board/{veyron => pinky}/board.c (100%) rename board/{veyron => pinky}/board.h (100%) rename board/{veyron => pinky}/build.mk (100%) rename board/{veyron => pinky}/ec.tasklist (100%) rename board/{veyron => pinky}/gpio.inc (100%) rename board/{veyron => pinky}/led.c (94%) diff --git a/board/veyron/Makefile b/board/pinky/Makefile similarity index 100% rename from board/veyron/Makefile rename to board/pinky/Makefile diff --git a/board/veyron/battery.c b/board/pinky/battery.c similarity index 100% rename from board/veyron/battery.c rename to board/pinky/battery.c diff --git a/board/veyron/board.c b/board/pinky/board.c similarity index 100% rename from board/veyron/board.c rename to board/pinky/board.c diff --git a/board/veyron/board.h b/board/pinky/board.h similarity index 100% rename from board/veyron/board.h rename to board/pinky/board.h diff --git a/board/veyron/build.mk b/board/pinky/build.mk similarity index 100% rename from board/veyron/build.mk rename to board/pinky/build.mk diff --git a/board/veyron/ec.tasklist b/board/pinky/ec.tasklist similarity index 100% rename from board/veyron/ec.tasklist rename to board/pinky/ec.tasklist diff --git a/board/veyron/gpio.inc b/board/pinky/gpio.inc similarity index 100% rename from board/veyron/gpio.inc rename to board/pinky/gpio.inc diff --git a/board/veyron/led.c b/board/pinky/led.c similarity index 94% rename from board/veyron/led.c rename to board/pinky/led.c index e33aa30677..c21948e189 100644 --- a/board/veyron/led.c +++ b/board/pinky/led.c @@ -2,7 +2,7 @@ * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * - * Battery LED and Power LED control for Veyron + * Battery LED and Power LED control for pinky */ #include "gpio.h" @@ -66,7 +66,7 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness) } -static void veyron_led_set_power(void) +static void pinky_led_set_power(void) { static int power_second; @@ -86,7 +86,7 @@ static void veyron_led_set_power(void) } -static void veyron_led_set_battery(void) +static void pinky_led_set_battery(void) { static int battery_second; @@ -131,9 +131,9 @@ static void veyron_led_set_battery(void) static void led_second(void) { if (led_auto_control_is_enabled(EC_LED_ID_POWER_LED)) - veyron_led_set_power(); + pinky_led_set_power(); if (led_auto_control_is_enabled(EC_LED_ID_BATTERY_LED)) - veyron_led_set_battery(); + pinky_led_set_battery(); } DECLARE_HOOK(HOOK_SECOND, led_second, HOOK_PRIO_DEFAULT); diff --git a/util/flash_ec b/util/flash_ec index ec35591481..56726cd6e4 100755 --- a/util/flash_ec +++ b/util/flash_ec @@ -72,7 +72,7 @@ BOARDS_STM32=( samus_pd snow spring - veyron + pinky zinger minimuffin )