On 08/04/2011 12:36 PM, Sergei Shtylyov wrote: > On 03-08-2011 16:37, Valentin Longchamp wrote: > >> >> +#if defined(CONFIG_POST) >> + >> +#define KM_POST_EN_L 44 >> + >> +int post_hotkeys_pressed(void) >> +{ >> + int val = kw_gpio_get_value(KM_POST_EN_L); >> + return !val; > > WHy not just: > > return !kw_gpio_get_value(KM_POST_EN_L); > > WBR, Sergei
Yeah, you are right. I will change it for the next version of the series. -- Valentin Longchamp Embedded Software Engineer Hardware and Chip Integration ______________________________________ KEYMILE AG Schwarzenburgstr. 73 CH-3097 Liebefeld Phone +41 31 377 1318 Fax +41 31 377 1212 valentin.longch...@keymile.com www.keymile.com ______________________________________ KEYMILE: A Specialist as a Partner _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot