[U-Boot] [PATCH 11/25] Blackfin: support boards with no external memory

Wolfgang Denk wd at denx.de
Thu Dec 17 22:36:38 CET 2009


Dear Mike Frysinger,

In message <1261017850-22802-12-git-send-email-vapier at gentoo.org> you wrote:
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  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


More information about the U-Boot mailing list