Patchwork [U-Boot] omap3_beagle.h: Fix comment for true/false return value.

login
register
mail settings
Submitter Robert P. J. Day
Date Nov. 12, 2012, 9:20 a.m.
Message ID <alpine.DEB.2.02.1211120419130.21108@oneiric>
Download mbox | patch
Permalink /patch/198339/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Robert P. J. Day - Nov. 12, 2012, 9:20 a.m.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

  pretty sure that comment is inaccurate, but i'm willing to be
corrected.
Tom Rini - Dec. 10, 2012, 8:15 p.m.
On Sun, Nov 11, 2012 at 11:20:58PM -0000, Robert P. J. Day wrote:

> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
> 
> ---
> pretty sure that comment is inaccurate, but i'm willing to be
> corrected.

Applied to u-boot-ti/master, thanks!

Patch

diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index 7a3cc16..741cbd9 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -287,7 +287,7 @@ 
 		"else run userbutton_nonxm; fi;\0" \
 	"userbutton_xm=gpio input 4;\0" \
 	"userbutton_nonxm=gpio input 7;\0"
-/* "run userbutton" will return 1 (false) if is pressed and 0 (false) if not */
+/* "run userbutton" will return 1 (false) if pressed and 0 (true) if not */
 #define CONFIG_BOOTCOMMAND \
 	"mmc dev ${mmcdev}; if mmc rescan; then " \
 		"if run userbutton; then " \