From: Sascha Hauer <s.hauer@pengutronix.de>
To: Alexander Shiyan <shc_work@mail.ru>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/5] ARM: ccmx51: Remove SDRAM size settings
Date: Wed, 23 Jan 2013 08:35:04 +0100 [thread overview]
Message-ID: <20130123073504.GR1906@pengutronix.de> (raw)
In-Reply-To: <1358852915-17983-1-git-send-email-shc_work@mail.ru>
On Tue, Jan 22, 2013 at 03:08:31PM +0400, Alexander Shiyan wrote:
> This patch removes SDRAM memory size setting from board due
> to auto detect last one by ESDCTL.
>
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Applied, thanks
Sascha
> ---
> arch/arm/boards/ccxmx51/ccxmx51.c | 42 +++++++++++++++++-------------------
> arch/arm/boards/ccxmx51/ccxmx51.h | 1 -
> 2 files changed, 20 insertions(+), 23 deletions(-)
>
> diff --git a/arch/arm/boards/ccxmx51/ccxmx51.c b/arch/arm/boards/ccxmx51/ccxmx51.c
> index b3173a4..acd2aef 100644
> --- a/arch/arm/boards/ccxmx51/ccxmx51.c
> +++ b/arch/arm/boards/ccxmx51/ccxmx51.c
> @@ -50,26 +50,26 @@
> #include "ccxmx51.h"
>
> static struct ccxmx51_ident ccxmx51_ids[] = {
> -/* 0x00 */ { "Unknown", 0, 0, 0, 0, 0 },
> -/* 0x01 */ { "Not supported", 0, 0, 0, 0, 0 },
> -/* 0x02 */ { "i.MX515@800MHz, Wireless, PHY, Ext. Eth, Accel", SZ_512M, 0, 1, 1, 1 },
> -/* 0x03 */ { "i.MX515@800MHz, PHY, Ext. Eth, Accel", SZ_512M, 0, 1, 1, 0 },
> -/* 0x04 */ { "i.MX515@600MHz, Wireless, PHY, Ext. Eth, Accel", SZ_512M, 1, 1, 1, 1 },
> -/* 0x05 */ { "i.MX515@600MHz, PHY, Ext. Eth, Accel", SZ_512M, 1, 1, 1, 0 },
> -/* 0x06 */ { "i.MX515@800MHz, Wireless, PHY, Accel", SZ_512M, 0, 1, 0, 1 },
> -/* 0x07 */ { "i.MX515@800MHz, PHY, Accel", SZ_512M, 0, 1, 0, 0 },
> -/* 0x08 */ { "i.MX515@800MHz, Wireless, PHY, Accel", SZ_256M, 0, 1, 0, 1 },
> -/* 0x09 */ { "i.MX515@800MHz, PHY, Accel", SZ_256M, 0, 1, 0, 0 },
> -/* 0x0a */ { "i.MX515@600MHz, Wireless, PHY, Accel", SZ_256M, 1, 1, 0, 1 },
> -/* 0x0b */ { "i.MX515@600MHz, PHY, Accel", SZ_256M, 1, 1, 0, 0 },
> -/* 0x0c */ { "i.MX515@800MHz, Wireless, PHY, Accel", SZ_128M, 0, 1, 0, 1 },
> -/* 0x0d */ { "i.MX512@800MHz", SZ_128M, 0, 0, 0, 0 },
> -/* 0x0e */ { "i.MX515@800MHz, Wireless, PHY, Accel", SZ_512M, 0, 1, 0, 1 },
> -/* 0x0f */ { "i.MX515@600MHz, PHY, Accel", SZ_128M, 1, 1, 0, 0 },
> -/* 0x10 */ { "i.MX515@600MHz, Wireless, PHY, Accel", SZ_128M, 1, 1, 0, 1 },
> -/* 0x11 */ { "i.MX515@800MHz, PHY, Accel", SZ_128M, 0, 1, 0, 0 },
> -/* 0x12 */ { "i.MX515@600MHz, Wireless, PHY, Accel", SZ_512M, 1, 1, 0, 1 },
> -/* 0x13 */ { "i.MX515@800MHz, PHY, Accel", SZ_512M, 0, 1, 0, 0 },
> +/* 0x00 */ { "Unknown", 0, 0, 0, 0 },
> +/* 0x01 */ { "Not supported", 0, 0, 0, 0 },
> +/* 0x02 */ { "i.MX515@800MHz, Wireless, PHY, Ext. Eth, Accel", 0, 1, 1, 1 },
> +/* 0x03 */ { "i.MX515@800MHz, PHY, Ext. Eth, Accel", 0, 1, 1, 0 },
> +/* 0x04 */ { "i.MX515@600MHz, Wireless, PHY, Ext. Eth, Accel", 1, 1, 1, 1 },
> +/* 0x05 */ { "i.MX515@600MHz, PHY, Ext. Eth, Accel", 1, 1, 1, 0 },
> +/* 0x06 */ { "i.MX515@800MHz, Wireless, PHY, Accel", 0, 1, 0, 1 },
> +/* 0x07 */ { "i.MX515@800MHz, PHY, Accel", 0, 1, 0, 0 },
> +/* 0x08 */ { "i.MX515@800MHz, Wireless, PHY, Accel", 0, 1, 0, 1 },
> +/* 0x09 */ { "i.MX515@800MHz, PHY, Accel", 0, 1, 0, 0 },
> +/* 0x0a */ { "i.MX515@600MHz, Wireless, PHY, Accel", 1, 1, 0, 1 },
> +/* 0x0b */ { "i.MX515@600MHz, PHY, Accel", 1, 1, 0, 0 },
> +/* 0x0c */ { "i.MX515@800MHz, Wireless, PHY, Accel", 0, 1, 0, 1 },
> +/* 0x0d */ { "i.MX512@800MHz", 0, 0, 0, 0 },
> +/* 0x0e */ { "i.MX515@800MHz, Wireless, PHY, Accel", 0, 1, 0, 1 },
> +/* 0x0f */ { "i.MX515@600MHz, PHY, Accel", 1, 1, 0, 0 },
> +/* 0x10 */ { "i.MX515@600MHz, Wireless, PHY, Accel", 1, 1, 0, 1 },
> +/* 0x11 */ { "i.MX515@800MHz, PHY, Accel", 0, 1, 0, 0 },
> +/* 0x12 */ { "i.MX515@600MHz, Wireless, PHY, Accel", 1, 1, 0, 1 },
> +/* 0x13 */ { "i.MX515@800MHz, PHY, Accel", 0, 1, 0, 0 },
> };
>
> struct ccxmx51_ident *ccxmx51_id;
> @@ -408,8 +408,6 @@ static int ccxmx51_devices_init(void)
> break;
> }
> printf("Module Serial : %c%d\n", manloc, ((hwid[2] & 0x3f) << 24) | (hwid[3] << 16) | (hwid[4] << 8) | hwid[5]);
> - if ((ccxmx51_id->mem_sz - SZ_128M) > 0)
> - arm_add_mem_device("ram1", MX51_CSD0_BASE_ADDR + SZ_128M, ccxmx51_id->mem_sz - SZ_128M);
> }
>
> imx51_add_uart1();
> diff --git a/arch/arm/boards/ccxmx51/ccxmx51.h b/arch/arm/boards/ccxmx51/ccxmx51.h
> index 3feacac..ef40b7f 100644
> --- a/arch/arm/boards/ccxmx51/ccxmx51.h
> +++ b/arch/arm/boards/ccxmx51/ccxmx51.h
> @@ -23,7 +23,6 @@ struct ccxmx51_hwid {
>
> struct ccxmx51_ident {
> const char *id_string;
> - const int mem_sz;
> const char industrial;
> const char eth0;
> const char eth1;
> --
> 1.7.3.4
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2013-01-23 7:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-22 11:08 Alexander Shiyan
2013-01-22 11:08 ` [PATCH 2/5] ARM: ccmx51: Fix ethernet devices control by MC13892 GPOs Alexander Shiyan
2013-01-22 11:08 ` [PATCH 3/5] ARM: ccmx51: Set MAC address before FEC device registration Alexander Shiyan
2013-01-22 11:08 ` [PATCH 4/5] ARM: ccmx51js: Define reset pin for USB Host1 Alexander Shiyan
2013-01-22 11:08 ` [PATCH 5/5] ARM: ccmx51: Update defconfig Alexander Shiyan
2013-01-23 7:35 ` Sascha Hauer [this message]
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=20130123073504.GR1906@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=shc_work@mail.ru \
/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