From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valentin Longchamp Date: Mon, 15 Aug 2011 11:11:56 +0200 Subject: [U-Boot] [PATCH 8/8] km_arm: enable POST for these boards In-Reply-To: <4E3A764A.4030700@mvista.com> References: <1312375027-27693-1-git-send-email-valentin.longchamp@keymile.com> <1312375027-27693-9-git-send-email-valentin.longchamp@keymile.com> <4E3A764A.4030700@mvista.com> Message-ID: <4E48E2DC.4060906@keymile.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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