On 22:25 Thu 04 Dec     , Remy Bohmer wrote:
> This patch fixes the hello_world example to be able to run it
> on a AT91SAM9261-EK board.
> 
> Signed-off-by: Remy Bohmer <[EMAIL PROTECTED]>
> ---
>  README            |    4 +++-
>  examples/Makefile |    4 ++++
>  2 files changed, 7 insertions(+), 1 deletion(-)
> 
> Index: u-boot-usb.new/examples/Makefile
> ===================================================================
> --- u-boot-usb.new.orig/examples/Makefile     2008-12-04 22:01:14.000000000 
> +0100
> +++ u-boot-usb.new/examples/Makefile  2008-12-04 22:01:20.000000000 +0100
> @@ -33,9 +33,13 @@ ifeq ($(ARCH),arm)
>  ifeq ($(BOARD),omap2420h4)
>  LOAD_ADDR = 0x80300000
>  else
> +ifeq ($(BOARD),at91sam9261ek)
> +LOAD_ADDR = 0x21400000
> +else
>  LOAD_ADDR = 0xc100000
>  endif
>  endif
> +endif
Honestly I'll prefer to remove all arch and board ifdef
and let the board ovewrite it or the arch if the board do not not already 
define it
and do here
LOAD_ADDR ?= <default addr>

Best Regards,
J.
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to