From acb9d4459973627f3b082dafb3f184a56a5d4219 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 15 Apr 2013 19:45:10 -0700 Subject: snow: Fix the name of some constants in romstage.c. These names were inherited from chromeos.c where they've already been fixed. Change-Id: I7ad57b979b7b8f42f6bd68d1ecf887caba3fa3f1 Signed-off-by: Gabe Black Reviewed-on: http://review.coreboot.org/3095 Reviewed-by: David Hendricks Tested-by: build bot (Jenkins) --- src/mainboard/google/snow/romstage.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/snow/romstage.c b/src/mainboard/google/snow/romstage.c index dda4e7ca60..96e93dae5d 100644 --- a/src/mainboard/google/snow/romstage.c +++ b/src/mainboard/google/snow/romstage.c @@ -127,8 +127,8 @@ static void chromeos_gpios(void) enum { WP_GPIO = 6, - FORCE_RECOVERY_MODE = 0, - LID_OPEN = 5 + RECMODE_GPIO = 0, + LID_GPIO = 5 }; gpio_pt1 = (struct exynos5_gpio_part1 *)EXYNOS5_GPIO_PART1_BASE; @@ -137,12 +137,11 @@ static void chromeos_gpios(void) s5p_gpio_direction_input(&gpio_pt1->d1, WP_GPIO); s5p_gpio_set_pull(&gpio_pt1->d1, WP_GPIO, EXYNOS_GPIO_PULL_NONE); - s5p_gpio_direction_input(&gpio_pt1->y1, FORCE_RECOVERY_MODE); - s5p_gpio_set_pull(&gpio_pt1->y1, FORCE_RECOVERY_MODE, - EXYNOS_GPIO_PULL_NONE); + s5p_gpio_direction_input(&gpio_pt1->y1, RECMODE_GPIO); + s5p_gpio_set_pull(&gpio_pt1->y1, RECMODE_GPIO, EXYNOS_GPIO_PULL_NONE); - s5p_gpio_direction_input(&gpio_pt2->x3, LID_OPEN); - s5p_gpio_set_pull(&gpio_pt2->x3, LID_OPEN, EXYNOS_GPIO_PULL_NONE); + s5p_gpio_direction_input(&gpio_pt2->x3, LID_GPIO); + s5p_gpio_set_pull(&gpio_pt2->x3, LID_GPIO, EXYNOS_GPIO_PULL_NONE); } void main(void) -- cgit v1.2.3