Hello.

On 13-04-2011 7:02, Fabio Estevam wrote:

> Signed-off-by: Fabio Estevam<fabio.este...@freescale.com>
> ---
>   board/freescale/mx51evk/mx51evk.c |    6 +++++-
>   1 files changed, 5 insertions(+), 1 deletions(-)

> diff --git a/board/freescale/mx51evk/mx51evk.c 
> b/board/freescale/mx51evk/mx51evk.c
> index 02a765d..3f2217c 100644
> --- a/board/freescale/mx51evk/mx51evk.c
> +++ b/board/freescale/mx51evk/mx51evk.c
> @@ -431,6 +431,10 @@ int board_late_init(void)
>
>   int checkboard(void)
>   {
> +     u32 reset;
> +     struct src *src_regs = (struct src *)SRC_BASE_ADDR;

    Should be an emoty line here\.

> +     reset = src_regs->srsr;

    Why not declare this variable later than 'src_regs' and just initialize it?

WBR, Sergei
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to