summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2013-04-15 16:25:02 -0700
committerGabe Black <gabeblack@chromium.org>2013-04-16 07:04:23 +0200
commita554e237231ad12c8dc23d1173f55fb4e1d100b3 (patch)
treee693a3b761de90533ade426f794d392f91ded07d /src/mainboard
parented7e29e6202485ba7b4f27bd415c891abdbb9f1d (diff)
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)
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/snow/chromeos.c4
1 files 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);