All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 10/11] arm/pxa: fix sdram memory layout for vpac270
Date: Thu, 26 Aug 2010 13:50:36 +0200	[thread overview]
Message-ID: <201008261350.36931.marek.vasut@gmail.com> (raw)
In-Reply-To: <1282820146-850-2-git-send-email-mikhail.kshevetskiy@gmail.com>

Dne ?t 26. srpna 2010 12:55:45 Mikhail Kshevetskiy napsal(a):
> The board have only 128 Mb of memory and only two first memory banks are
> used. Also remove unneeded CONFIG_SYS_DRAM_SIZE constant and set default
> load address to be in sdram.
> 
> PS: This patch should not go upstream at this point as it specific
>     to my revision of voipac

See my comment on previous patch. Does it work for you?
> 
> Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com>
> ---
>  include/configs/vpac270.h |   17 ++++++++++-------
>  1 files changed, 10 insertions(+), 7 deletions(-)
> 
> diff --git a/include/configs/vpac270.h b/include/configs/vpac270.h
> index c92eb40..b04d1e8 100644
> --- a/include/configs/vpac270.h
> +++ b/include/configs/vpac270.h
> @@ -166,19 +166,22 @@
>  /*
>   * DRAM Map
>   */
> -#define	CONFIG_NR_DRAM_BANKS		2		/* We have 2 
banks of DRAM */
> -#define	PHYS_SDRAM_1			0xa0000000	/* SDRAM Bank #1 
*/
> -#define	PHYS_SDRAM_1_SIZE		0x08000000	/* 128 MB */
> -#define	PHYS_SDRAM_2			0x80000000	/* SDRAM Bank #2 
*/
> -#define	PHYS_SDRAM_2_SIZE		0x08000000	/* 128 MB */
> +#define	CONFIG_NR_DRAM_BANKS	4		/* We have 2 banks of 
DRAM */
> +#define PHYS_SDRAM_1		0xa0000000	/* SDRAM Bank #1 */
> +#define PHYS_SDRAM_1_SIZE	0x04000000	/* 64 MB */
> +#define PHYS_SDRAM_2		0xa4000000	/* SDRAM Bank #2 */
> +#define PHYS_SDRAM_2_SIZE	0x04000000	/* 64 MB */
> +#define PHYS_SDRAM_3		0xa8000000	/* SDRAM Bank #3 */
> +#define PHYS_SDRAM_3_SIZE	0x00000000	/* 0 MB */
> +#define PHYS_SDRAM_4		0xac000000	/* SDRAM Bank #4 */
> +#define PHYS_SDRAM_4_SIZE	0x00000000	/* 0 MB */
> 
>  #define	CONFIG_SYS_DRAM_BASE		0xa0000000	/* CS0 */
> -#define	CONFIG_SYS_DRAM_SIZE		0x10000000	/* 256 MB DRAM 
*/
> 
>  #define CONFIG_SYS_MEMTEST_START	0xa0400000	/* memtest works on */
>  #define CONFIG_SYS_MEMTEST_END		0xa0800000	/* 4 ... 8 MB in 
DRAM */
> 
> -#define	CONFIG_SYS_LOAD_ADDR		(0x5c000000)
> +#define	CONFIG_SYS_LOAD_ADDR		0xa0000000
> 
>  /*
>   * NOR FLASH

  reply	other threads:[~2010-08-26 11:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-26 10:55 [U-Boot] [PATCH 09/11] arm/pxa: fix number of cfi flashes in vpac270 Mikhail Kshevetskiy
2010-08-26 10:55 ` [U-Boot] [PATCH 10/11] arm/pxa: fix sdram memory layout for vpac270 Mikhail Kshevetskiy
2010-08-26 11:50   ` Marek Vasut [this message]
2010-08-26 10:55 ` [U-Boot] [PATCH 11/11] arm/pxa: fix and cleanup of pxa_mem_setup macro v2 Mikhail Kshevetskiy
2010-08-26 12:18   ` Marek Vasut
2010-08-26 11:50 ` [U-Boot] [PATCH 09/11] arm/pxa: fix number of cfi flashes in vpac270 Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201008261350.36931.marek.vasut@gmail.com \
    --to=marek.vasut@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.