From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 4 Dec 2008 22:41:10 +0100 Subject: [U-Boot] [patch] make hello world example work for at91sam9261ek and make readme clearer about this In-Reply-To: <49384d2e.2805420a.5c7b.ffff8d3b@mx.google.com> References: <49384d2e.2805420a.5c7b.ffff8d3b@mx.google.com> Message-ID: <20081204214110.GE7336@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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 ?= Best Regards, J.