From: Simon Guinot <simon.guinot@sequanux.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 2/3] ARM: add support for Network Space v2 Lite and Mini
Date: Fri, 7 Sep 2012 11:27:42 +0200 [thread overview]
Message-ID: <20120907092742.GC24797@kw.sim.vm.gnt> (raw)
In-Reply-To: <F766E4F80769BD478052FB6533FA745D235CD648D3@SC-VEXCH4.marvell.com>
On Thu, Sep 06, 2012 at 04:19:16PM -0700, Prafulla Wadaskar wrote:
>
>
> > -----Original Message-----
> > From: Simon Guinot [mailto:simon.guinot at sequanux.org]
> > Sent: 06 September 2012 13:52
> > To: Prafulla Wadaskar; Albert ARIBAUD
> > Cc: u-boot at lists.denx.de; Simon Guinot
> > Subject: [PATCH v4 2/3] ARM: add support for Network Space v2 Lite and
> > Mini
> >
> > This patch adds support for the LaCie boards Network Space v2 (Lite
> > and
> > Mini). This two boards are derived from the Network Space v2 and a lot
> > of hardware caracteristics are shared.
> >
> > - CPU: Marvell 88F6192 800Mhz
> > - SDRAM memory: 128MB DDR2 200Mhz
> > - 1 SATA port: internal
> > - Gigabit ethernet: PHY Marvell 88E1318
> > - Flash memory: SPI NOR 512KB (Macronix MX25L4005A)
> > - i2c EEPROM: 512 bytes (24C04 type)
> > - 2 USB2 ports (Lite only): host and host/device
> > - 1 push button
> > - 1 SATA LED (bi-color, blue and red)
> >
> > Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
> > ---
> > Changes for v4:
> > - Include missing MACH_TYPE_ in configs/lacie_kw.h.
> >
> > No changes for v3.
> >
> > Changes for v2:
> > - Move mach-types update into a separate patch.
> >
> > board/LaCie/common/common.c | 36 ++++++-
> > board/LaCie/common/common.h | 1 +
> > board/LaCie/netspace_v2/kwbimage-ns2l.cfg | 162
> > +++++++++++++++++++++++++++++
>
> Hi Simon,
>
> You have added one more cfg file in this patch
> Now you have three cfg files in this folder that just diff from each other for DRAM configuration.
>
> Whereas you can delete two of them, use maximum dram setting in cfg file, and then in board specific file you can tune the configuration for required size.
>
> You may look for this optimization.
> FYI: pls see the captured log of diff
OK I will look at this but are you sure it is safe to update the DDR
settings at run time (even only the size) ?
>
> [prafulla at pe-dt061 u-boot-marvell.git (master)]$ diff board/LaCie/netspace_v2/kwbimage-ns2l.cfg board/LaCie/netspace_v2/kwbimage.cfg
> 44c44
> < DATA 0xFFD01404 0x34143000 # DDR Controller Control Low
> ---
> > DATA 0xFFD01404 0x35143000 # DDR Controller Control Low
> 72c72
> < DATA 0xFFD01410 0x0000DDDD # DDR Address Control
> ---
> > DATA 0xFFD01410 0x0000000C # DDR Address Control
> 74c74
For example, here we have a different SDRAM width configuration
configuration for CS0: x8 against x16. It looks like it can't be merged.
> < # bit3-2: 10, Cs0size=512Mb
> ---
> > # bit3-2: 11, Cs0size=1Gb
> 133c133
> < DATA 0xFFD01504 0x07FFFFF1 # CS[0]n Size
> ---
> > DATA 0xFFD01504 0x0FFFFFF1 # CS[0]n Size
> [prafulla at pe-dt061 u-boot-marvell.git (master)]$ diff board/LaCie/netspace_v2/kwbimage-ns2l.cfg board/LaCie/netspace_v2/kwbimage
> kwbimage.cfg kwbimage-is2.cfg kwbimage-ns2l.cfg
> [prafulla at pe-dt061 u-boot-marvell.git (master)]$ diff board/LaCie/netspace_v2/kwbimage-ns2l.cfg board/LaCie/netspace_v2/kwbimage-is2.cfg
> 44c44
> < DATA 0xFFD01404 0x34143000 # DDR Controller Control Low
> ---
> > DATA 0xFFD01404 0x35143000 # DDR Controller Control Low
> 72c72
> < DATA 0xFFD01410 0x0000DDDD # DDR Address Control
> ---
> > DATA 0xFFD01410 0x00000008 # DDR Address Control
Same comment as before.
> [prafulla at pe-dt061 u-boot-marvell.git (master)]$ diff board/LaCie/netspace_v2/kwbimage-is2.cfg board/LaCie/netspace_v2/kwbimage.cfg
> 72c72
> < DATA 0xFFD01410 0x00000008 # DDR Address Control
> ---
> > DATA 0xFFD01410 0x0000000C # DDR Address Control
> 74c74
> < # bit3-2: 10, Cs0size=512Mb
> ---
> > # bit3-2: 11, Cs0size=1Gb
> 133c133
> < DATA 0xFFD01504 0x07FFFFF1 # CS[0]n Size
> ---
> > DATA 0xFFD01504 0x0FFFFFF1 # CS[0]n Size
Ok. Here, the only difference is the size. So, this two configurations
could probably be merged. Thanks for pointing this out.
Considering this merge is rather optimisation than fix, is that good
enough for you if I schedule this task for the next U-Boot release ?
Regards,
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120907/fb2c541d/attachment.pgp>
next prev parent reply other threads:[~2012-09-07 9:27 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <DCB55AE5D43FB64FA6D3F5573FA2D42B19FD1E0BDE@SC-VEXCH4.marvell.com>
2012-02-08 9:57 ` [U-Boot] Pull request for u-boot-marvell.git Prafulla Wadaskar
2012-02-10 19:58 ` Albert ARIBAUD
2012-03-02 7:29 ` Prafulla Wadaskar
2012-03-05 12:38 ` Albert ARIBAUD
2012-04-20 6:10 ` Prafulla Wadaskar
2012-04-20 6:46 ` Albert ARIBAUD
2012-07-03 11:59 ` Prafulla Wadaskar
2012-07-05 8:40 ` Albert ARIBAUD
2012-07-05 9:37 ` [U-Boot] Pull request for u-boot-marvell.git - PLEASE HOLD ON Albert ARIBAUD
2012-07-05 9:44 ` [U-Boot] Pull request for u-boot-marvell.git - go ahead Albert ARIBAUD
2012-07-05 11:29 ` [U-Boot] Pull request for u-boot-marvell.git Prafulla Wadaskar
2012-07-05 11:50 ` Albert ARIBAUD
2012-07-05 17:38 ` Prafulla Wadaskar
2012-07-06 21:30 ` Albert ARIBAUD
2012-09-03 9:20 ` Prafulla Wadaskar
2012-09-03 18:59 ` Albert ARIBAUD
2012-09-05 19:56 ` Simon Guinot
2012-09-06 1:21 ` Prafulla Wadaskar
2012-09-06 8:22 ` Albert ARIBAUD
2012-09-06 9:25 ` [U-Boot] [PATCH v3 0/4] Board support and feature for LaCie devices Simon Guinot
2012-09-06 9:25 ` [U-Boot] [PATCH v3 1/4] lacie_kw: add support for EFI partitions Simon Guinot
2012-09-06 9:25 ` [U-Boot] [PATCH v3 2/4] ARM: add netspace_mini_v2 to mach-types.h Simon Guinot
2012-09-06 9:25 ` [U-Boot] [PATCH v3 3/4] ARM: add support for Network Space v2 Lite and Mini Simon Guinot
2012-09-06 9:25 ` [U-Boot] [PATCH v3 4/4] ARM: add support for d2 Network v2 Simon Guinot
2012-09-06 11:27 ` [U-Boot] [PATCH v3 0/4] Board support and feature for LaCie devices Simon Guinot
2012-09-06 15:06 ` Albert ARIBAUD
2012-09-06 18:17 ` Prafulla Wadaskar
2012-09-06 20:51 ` [U-Boot] [PATCH v4 0/3] " Simon Guinot
2012-09-06 20:51 ` [U-Boot] [PATCH v4 1/3] lacie_kw: add support for EFI partitions Simon Guinot
2012-09-06 20:51 ` [U-Boot] [PATCH v4 2/3] ARM: add support for Network Space v2 Lite and Mini Simon Guinot
2012-09-06 23:19 ` Prafulla Wadaskar
2012-09-07 9:27 ` Simon Guinot [this message]
2012-09-07 15:52 ` Prafulla Wadaskar
2012-09-06 20:51 ` [U-Boot] [PATCH v4 3/3] ARM: add support for d2 Network v2 Simon Guinot
2012-09-06 22:56 ` [U-Boot] [PATCH v4 0/3] Board support and feature for LaCie devices Prafulla Wadaskar
2012-10-03 9:01 ` [U-Boot] Pull request for u-boot-marvell.git Prafulla Wadaskar
2012-10-03 16:06 ` Albert ARIBAUD
2012-12-20 6:56 ` Prafulla Wadaskar
2012-12-20 10:05 ` Prafulla Wadaskar
2012-12-23 15:10 ` Albert ARIBAUD
2013-01-07 12:26 ` Prafulla Wadaskar
2013-01-08 11:35 ` Andreas Bießmann
2013-01-08 15:03 ` Albert ARIBAUD
2013-01-08 17:21 ` Prafulla Wadaskar
2013-01-08 19:14 ` Albert ARIBAUD
2013-01-08 19:51 ` Albert ARIBAUD
2013-01-10 7:54 ` Albert ARIBAUD
[not found] ` <DCB55AE5D43FB64FA6D3F5573FA2D42B1A3B957247@SC-VEXCH4.marvell.com>
2013-04-12 13:54 ` Prafulla Wadaskar
2013-04-12 15:12 ` Albert ARIBAUD
2013-06-20 5:38 ` Prafulla Wadaskar
2013-06-20 8:44 ` Albert ARIBAUD
2013-09-25 11:20 ` Prafulla Wadaskar
2013-10-02 12:51 ` Albert ARIBAUD
2013-10-07 7:18 ` Holger Brunck
2013-10-07 12:58 ` Prafulla Wadaskar
2013-10-10 17:06 ` Holger Brunck
2013-10-14 10:46 ` Prafulla Wadaskar
2013-11-28 13:01 ` Holger Brunck
2013-11-29 3:32 ` Prafulla Wadaskar
2013-12-01 16:00 ` Luka Perkov
2014-01-06 12:38 ` Prafulla Wadaskar
2014-01-08 16:00 ` Albert ARIBAUD
2014-10-06 13:22 ` Prafulla Wadaskar
2014-10-08 19:06 ` Albert ARIBAUD
2012-07-03 12:00 ` Prafulla Wadaskar
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=20120907092742.GC24797@kw.sim.vm.gnt \
--to=simon.guinot@sequanux.org \
--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