snow: Fix some comments in chromeos.c.
The comment about the lid switch was left over from when this file was copied from another board and was incorrect. Also fixed a capitalization inconsistency. Change-Id: Icefd19047971e13c08f615578e4a181e82a2997f Signed-off-by: Gabe Black <gabeblack@chromium.org> Reviewed-on: http://review.coreboot.org/3091 Reviewed-by: David Hendricks <dhendrix@chromium.org> Tested-by: build bot (Jenkins)
This commit is contained in:
parent
ed7e29e620
commit
a554e23723
|
@ -52,7 +52,7 @@ void fill_lb_gpios(struct lb_gpios *gpios)
|
||||||
gpio_pt1 = (struct exynos5_gpio_part1 *)EXYNOS5_GPIO_PART1_BASE;
|
gpio_pt1 = (struct exynos5_gpio_part1 *)EXYNOS5_GPIO_PART1_BASE;
|
||||||
gpio_pt2 = (struct exynos5_gpio_part2 *)EXYNOS5_GPIO_PART2_BASE;
|
gpio_pt2 = (struct exynos5_gpio_part2 *)EXYNOS5_GPIO_PART2_BASE;
|
||||||
|
|
||||||
/* Write Protect: active Low */
|
/* Write Protect: active low */
|
||||||
gpios->gpios[0].port = EXYNOS5_GPD1;
|
gpios->gpios[0].port = EXYNOS5_GPD1;
|
||||||
gpios->gpios[0].polarity = ACTIVE_LOW;
|
gpios->gpios[0].polarity = ACTIVE_LOW;
|
||||||
gpios->gpios[0].value = s5p_gpio_get_value(&gpio_pt1->d1, WP_GPIO);
|
gpios->gpios[0].value = s5p_gpio_get_value(&gpio_pt1->d1, WP_GPIO);
|
||||||
|
@ -65,7 +65,7 @@ void fill_lb_gpios(struct lb_gpios *gpios)
|
||||||
gpios->gpios[1].value = s5p_gpio_get_value(&gpio_pt1->y1, FORCE_RECOVERY_MODE);
|
gpios->gpios[1].value = s5p_gpio_get_value(&gpio_pt1->y1, FORCE_RECOVERY_MODE);
|
||||||
strncpy((char *)gpios->gpios[1].name,"recovery", GPIO_MAX_NAME_LENGTH);
|
strncpy((char *)gpios->gpios[1].name,"recovery", GPIO_MAX_NAME_LENGTH);
|
||||||
|
|
||||||
/* Lid: the "switch" comes from the EC */
|
/* Lid: active high */
|
||||||
gpios->gpios[2].port = EXYNOS5_GPX3;
|
gpios->gpios[2].port = EXYNOS5_GPX3;
|
||||||
gpios->gpios[2].polarity = ACTIVE_HIGH;
|
gpios->gpios[2].polarity = ACTIVE_HIGH;
|
||||||
gpios->gpios[2].value = s5p_gpio_get_value(&gpio_pt2->x3, LID_OPEN);
|
gpios->gpios[2].value = s5p_gpio_get_value(&gpio_pt2->x3, LID_OPEN);
|
||||||
|
|
Loading…
Reference in New Issue