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 <gabeblack@chromium.org>
Reviewed-on: http://review.coreboot.org/3095
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Tested-by: build bot (Jenkins)
This commit is contained in:
Gabe Black 2013-04-15 19:45:10 -07:00
parent 88beef0a8e
commit acb9d44599
1 changed files with 6 additions and 7 deletions

View File

@ -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)