[U-Boot] [PATCH 03/10] microblaze: Support flashes on lower addresses

Wolfgang Denk wd at denx.de
Wed Sep 7 23:01:17 CEST 2011


Dear Michal Simek,

In message <1314779721-1113-4-git-send-email-monstr at monstr.eu> you wrote:
> Signed-off-by: Michal Simek <monstr at monstr.eu>
> ---
>  arch/microblaze/lib/board.c |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c
> index 5510c12..ab1cbab 100644
> --- a/arch/microblaze/lib/board.c
> +++ b/arch/microblaze/lib/board.c
> @@ -84,6 +84,10 @@ init_fnc_t *init_sequence[] = {
>  	NULL,
>  };
>  
> +unsigned long monitor_flash_len;
> +extern char *__end;
> +extern char *__text_start;

WARNING: externs should be avoided in .c files


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Q: Why do PCs have a reset button on the front?
A: Because they are expected to run Microsoft operating systems.


More information about the U-Boot mailing list