From: Wolfgang Denk Date: Thu, 17 Dec 2009 22:36:38 +0100 Subject: [U-Boot] [PATCH 11/25] Blackfin: support boards with no external memory In-Reply-To: <1261017850-22802-12-git-send-email-vapier@gentoo.org> References: <1261017850-22802-1-git-send-email-vapier@gentoo.org> <1261017850-22802-12-git-send-email-vapier@gentoo.org> Message-ID: <20091217213638.88C1FD43F21@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <1261017850-22802-12-git-send-email-vapier@gentoo.org> you wrote: > Signed-off-by: Mike Frysinger > --- > cpu/blackfin/initcode.c | 16 +++++++++++++++- > cpu/blackfin/start.S | 6 ++++++ > include/asm-blackfin/config.h | 9 +++++++-- > lib_blackfin/board.c | 22 ++++++++++++---------- > lib_blackfin/u-boot.lds.S | 21 ++++++++++++++------- > 5 files changed, 54 insertions(+), 20 deletions(-) > > diff --git a/cpu/blackfin/initcode.c b/cpu/blackfin/initcode.c > index 9b0cfbc..b99f70c 100644 > --- a/cpu/blackfin/initcode.c > +++ b/cpu/blackfin/initcode.c > @@ -541,10 +541,18 @@ program_memory_controller(ADI_BOOT_DATA *bootstruct, bool put_into_srfs) > * self-refresh. So we have to pull it out before programming. > */ > #ifdef EBIU_RSTCTL > +# ifdef CONFIG_EBIU_RSTCTL_VAL > bfin_write_EBIU_RSTCTL(bfin_read_EBIU_RSTCTL() | 0x1 /*DDRSRESET*/ | CONFIG_EBIU_RSTCTL_VAL); ... > +# define CONFIG_SYS_MONITOR_BASE (CONFIG_SYS_MAX_RAM_SIZE - CONFIG_SYS_MONITOR_LEN) ... > + if ((CONFIG_SYS_MONITOR_BASE & CPLB_PAGE_MASK) != ((CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN) & CPLB_PAGE_MASK)) { > + icplb_add((CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN) & CPLB_PAGE_MASK, SDRAM_IKERNEL); > + dcplb_add((CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN) & CPLB_PAGE_MASK, SDRAM_DKERNEL); > + ++i; Lines too log, please fix globally. 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 "The combination of a number of things to make existence worthwhile." "Yes, the philosophy of 'none,' meaning 'all.'" -- Spock and Lincoln, "The Savage Curtain", stardate 5906.4