From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/13] imx31_litekit: Remove dram_init_banksize()
Date: Fri, 23 Sep 2011 10:52:53 +0200 [thread overview]
Message-ID: <4E7C48E5.4070901@denx.de> (raw)
In-Reply-To: <1316714842-18271-4-git-send-email-fabio.estevam@freescale.com>
On 09/22/2011 08:07 PM, Fabio Estevam wrote:
> As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> board/logicpd/imx31_litekit/imx31_litekit.c | 6 ------
> include/configs/imx31_litekit.h | 2 +-
> 2 files changed, 1 insertions(+), 7 deletions(-)
>
> diff --git a/board/logicpd/imx31_litekit/imx31_litekit.c b/board/logicpd/imx31_litekit/imx31_litekit.c
> index 09cc9c5..0402a0b 100644
> --- a/board/logicpd/imx31_litekit/imx31_litekit.c
> +++ b/board/logicpd/imx31_litekit/imx31_litekit.c
> @@ -37,12 +37,6 @@ int dram_init(void)
> return 0;
> }
>
> -void dram_init_banksize(void)
> -{
> - gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
> - gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
> -}
> -
> int board_early_init_f(void)
> {
> __REG(CSCR_U(0)) = 0x0000cf03; /* CS0: Nor Flash */
> diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h
> index b7f1cb3..2a02b3d 100644
> --- a/include/configs/imx31_litekit.h
> +++ b/include/configs/imx31_litekit.h
> @@ -150,7 +150,7 @@
> #define PHYS_SDRAM_1_SIZE (128 * 1024 * 1024)
> #define CONFIG_BOARD_EARLY_INIT_F
>
> -#define CONFIG_SYS_SDRAM_BASE CSD0_BASE
> +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
> #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
> #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE
> #define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2011-09-23 8:52 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 18:07 [U-Boot] [PATCH 1/13] mx31pdk: Remove dram_init_banksize() Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 2/13] mx25pdk: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 3/13] mx31ads: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 4/13] imx31_litekit: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 5/13] mx31pdk: Place machine ID into board config Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 6/13] mx25pdk: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 7/13] mx31ads: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 8/13] imx31_litekit: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 9/13] mx51evk: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 10/13] mx53loco: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 11/13] mx53smd: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 12/13] mx53ard: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 13/13] mx53evk: " Fabio Estevam
2011-09-23 8:31 ` Stefano Babic
2011-09-23 8:37 ` Jason Hui
2011-09-23 8:54 ` Stefano Babic
2011-09-23 8:54 ` [U-Boot] [PATCH 12/13] mx53ard: " Stefano Babic
2011-09-23 8:54 ` [U-Boot] [PATCH 11/13] mx53smd: " Stefano Babic
2011-09-23 8:30 ` [U-Boot] [PATCH 10/13] mx53loco: " Stefano Babic
2011-09-23 8:42 ` Jason Hui
2011-09-23 8:54 ` Stefano Babic
2011-09-23 8:53 ` [U-Boot] [PATCH 9/13] mx51evk: " Stefano Babic
2011-09-23 8:53 ` [U-Boot] [PATCH 8/13] imx31_litekit: " Stefano Babic
2011-09-23 8:53 ` [U-Boot] [PATCH 7/13] mx31ads: " Stefano Babic
2011-09-23 8:53 ` [U-Boot] [PATCH 6/13] mx25pdk: " Stefano Babic
2011-09-23 8:53 ` [U-Boot] [PATCH 5/13] mx31pdk: " Stefano Babic
2011-09-23 8:52 ` Stefano Babic [this message]
2011-09-23 8:52 ` [U-Boot] [PATCH 3/13] mx31ads: Remove dram_init_banksize() Stefano Babic
2011-09-23 8:52 ` [U-Boot] [PATCH 2/13] mx25pdk: " Stefano Babic
2011-09-23 8:52 ` [U-Boot] [PATCH 1/13] mx31pdk: " Stefano Babic
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=4E7C48E5.4070901@denx.de \
--to=sbabic@denx.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox