On 04/30/2014 06:01 AM, Valentin Longchamp wrote: > From: Stefan Bigler <stefan.big...@keymile.com>
<snip> > diff --git a/board/keymile/kmp204x/qrio.c b/board/keymile/kmp204x/qrio.c > index 11949f4..c4f8dfd 100644 > --- a/board/keymile/kmp204x/qrio.c > +++ b/board/keymile/kmp204x/qrio.c > @@ -158,3 +158,16 @@ void qrio_set_leds(void) > ctrlh |= (CTRLH_WRL_BOOT | CTRLH_WRL_UNITRUN); > out_8(qrio_base + CTRLH_OFF, ctrlh); > } > + > +#define CTRLL_OFF 0x03 > +#define CTRLL_WRB_BUFENA 0x20 > + > +void qrio_enable_app_buffer(void) > +{ > + u8 ctrll; > + void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; You need a blank line here. > + /* enable application buffer */ > + ctrll = in_8(qrio_base + CTRLL_OFF); > + ctrll |= (CTRLL_WRB_BUFENA); > + out_8(qrio_base + CTRLL_OFF, ctrll); > +} > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot