From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/2] ARM: lacie_kw: add support for WIRELESS_SPACE
Date: Sat, 27 Oct 2012 14:11:23 +0200 [thread overview]
Message-ID: <20121027141123.60e9f178@lilith> (raw)
In-Reply-To: <20121020001723.GI28384@kw.sim.vm.gnt>
Hi Simon,
On Sat, 20 Oct 2012 02:17:23 +0200, Simon Guinot
<simon.guinot@sequanux.org> wrote:
> I think you missed here a couple of 'defined()' for the boards ns2lite
> and ns2mini.
Correct. However:
> Moreover, don't you think that the Wireless Space could have his own
> board files ? I mean, there is almost no common hardware between ws and
> ns2 boards. I think it is confusing to have NETSPACE_V2_ macros to
> designate MPP and GPIO configuration for both ns2 and ws.
Well, I'd tried to keep as much in common as possible between
lacie_kw-based boards which seem to differ only in gpio and eth
settings, and in the type of FLASH they use. But I'm ok with
duplicating the few functions in netspace_v2.* if you prefer.
> > +#if defined(CONFIG_WIRELESS_SPACE)
> > +#define CONFIG_ENV_IS_IN_NAND
> > +#define CONFIG_ENV_SECT_SIZE 0x10000 /* 64KB */
> > +#define CONFIG_ENV_SIZE 0x1000 /* 4KB */
> > +#define CONFIG_ENV_ADDR 0x70000
> > +#define CONFIG_ENV_OFFSET 0x70000 /* env starts here */
> > +#else
> > #define CONFIG_ENV_IS_IN_SPI_FLASH
> > #define CONFIG_ENV_SECT_SIZE 0x10000 /* 64KB */
> > #define CONFIG_ENV_SIZE 0x1000 /* 4KB */
> > #define CONFIG_ENV_ADDR 0x70000
> > #define CONFIG_ENV_OFFSET 0x70000 /* env starts here */
> > +#endif
>
> There is some reason for the duplicate lines here ?
Yes: overlook. :)
But this, as well as the missed defined() cases above, does not matter
much, as I'll duplicate the config in V3 and the whole if/else
constructs are thus going away.
> Regards,
>
> Simon
Thanks for your feedback!
Amicalement,
--
Albert.
next prev parent reply other threads:[~2012-10-27 12:11 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-16 18:08 [U-Boot] [PATCH] ARM: lacie_kw: add support for WIRELESS_SPACE Albert ARIBAUD
2012-08-17 7:59 ` Prafulla Wadaskar
2012-08-17 17:37 ` Albert ARIBAUD
2012-08-17 17:55 ` Tom Rini
2012-08-17 21:28 ` Albert ARIBAUD
2012-08-21 7:16 ` Prafulla Wadaskar
2012-08-22 15:16 ` Simon Guinot
2012-09-22 8:51 ` Albert ARIBAUD
2012-09-22 17:38 ` Tom Rini
2012-10-05 20:40 ` Albert ARIBAUD
2012-10-19 21:38 ` [U-Boot] [PATCH v2 1/2] mvgbe: allow non-sequential PHY addresses Albert ARIBAUD
2012-10-19 21:38 ` [U-Boot] [PATCH v2 2/2] ARM: lacie_kw: add support for WIRELESS_SPACE Albert ARIBAUD
2012-10-19 22:57 ` Albert ARIBAUD
2012-10-20 0:17 ` Simon Guinot
2012-10-27 12:11 ` Albert ARIBAUD [this message]
2012-10-19 23:57 ` [U-Boot] [PATCH v3 1/2] mvgbe: allow non-sequential PHY addresses Albert ARIBAUD
2012-10-19 23:57 ` [U-Boot] [PATCH v3 2/2] ARM: lacie_kw: add support for WIRELESS_SPACE Albert ARIBAUD
2012-11-04 23:32 ` [U-Boot] [PATCH v4 1/4] mvgbe: allow non-sequential PHY addresses Albert ARIBAUD
2012-11-04 23:32 ` [U-Boot] [PATCH v4 2/4] mv88e61xx: refactor PHY and SWITCH level-code Albert ARIBAUD
2012-11-04 23:32 ` [U-Boot] [PATCH v4 3/4] kirkwood: make MPP arrays static const Albert ARIBAUD
2012-11-04 23:32 ` [U-Boot] [PATCH v4 4/4] ARM: lacie_kw: add support for WIRELESS_SPACE Albert ARIBAUD
2012-11-10 7:09 ` Prafulla Wadaskar
2012-11-25 3:21 ` Albert ARIBAUD
2012-11-25 6:41 ` Prafulla Wadaskar
2012-11-10 7:02 ` [U-Boot] [PATCH v4 3/4] kirkwood: make MPP arrays static const Prafulla Wadaskar
2012-11-10 6:56 ` [U-Boot] [PATCH v4 2/4] mv88e61xx: refactor PHY and SWITCH level-code Prafulla Wadaskar
2012-11-10 6:41 ` [U-Boot] [PATCH v4 1/4] mvgbe: allow non-sequential PHY addresses Prafulla Wadaskar
2012-11-26 21:27 ` [U-Boot] [PATCH v5 0/3] Add support for the LaCie Wireless Space Albert ARIBAUD
2012-11-26 21:27 ` [U-Boot] [PATCH v5 1/3] mv88e61xx: refactor PHY and SWITCH level-code Albert ARIBAUD
2012-11-26 21:27 ` [U-Boot] [PATCH v5 2/3] kirkwood: make MPP arrays static const Albert ARIBAUD
2012-11-26 21:27 ` [U-Boot] [PATCH v5 3/3] ARM: lacie_kw: add support for WIRELESS_SPACE Albert ARIBAUD
2012-12-20 6:51 ` [U-Boot] [PATCH v5 0/3] Add support for the LaCie Wireless Space 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=20121027141123.60e9f178@lilith \
--to=albert.u.boot@aribaud.net \
--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