[U-Boot] [PATCH 8/8] km_arm: enable POST for these boards

Valentin Longchamp
2011-08-15T09:11:56Z

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.longchamp at keymile.com
www.keymile.com
______________________________________
KEYMILE: A Specialist as a Partner