From a554e237231ad12c8dc23d1173f55fb4e1d100b3 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 15 Apr 2013 16:25:02 -0700 Subject: [PATCH] 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 Reviewed-on: http://review.coreboot.org/3091 Reviewed-by: David Hendricks Tested-by: build bot (Jenkins) --- src/mainboard/google/snow/chromeos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/snow/chromeos.c b/src/mainboard/google/snow/chromeos.c index 015b71ecb6..e74df6d5cf 100644 --- a/src/mainboard/google/snow/chromeos.c +++ b/src/mainboard/google/snow/chromeos.c @@ -52,7 +52,7 @@ void fill_lb_gpios(struct lb_gpios *gpios) gpio_pt1 = (struct exynos5_gpio_part1 *)EXYNOS5_GPIO_PART1_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].polarity = ACTIVE_LOW; 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); 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].polarity = ACTIVE_HIGH; gpios->gpios[2].value = s5p_gpio_get_value(&gpio_pt2->x3, LID_OPEN);