From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/4] arm: add Cygnus and NSP boards
Date: Sun, 20 Jul 2014 09:54:34 +0200 [thread overview]
Message-ID: <20140720075434.48C31380316@gemini.denx.de> (raw)
In-Reply-To: <1405733854-20194-5-git-send-email-srae@broadcom.com>
Dear Steve Rae,
In message <1405733854-20194-5-git-send-email-srae@broadcom.com> you wrote:
>
> The bcm_ep board configuration is used by a number of boards
> including Cygnus and NSP.
> Add builds for the bcm958300k and the bcm958622hr boards.
...
> +/* uArchitecture specifics */
...
> +#define CONFIG_CONS_INDEX 3
> +#define CONFIG_SYS_NS16550_COM3 0x18023000
Is the console inex really architecture specific and identical for all
boards based on this? I would expect to find this in the board config
header.
> +/* uArchitecture specifics */
...
> +#define CONFIG_CONS_INDEX 1
> +#define CONFIG_SYS_NS16550_COM1 0x18000300
Ditto here.
...
> + /* Address of boot parameters passed to kernel
> + * Use default offset 0x100
> + */
Incorrect multiline comment style. Please check (and fix, if needed)
globally.
> +/*
> + * misc_init_r - miscellaneous platform dependent initializations
> + */
> +int misc_init_r(void)
> +{
> + return 0;
> +}
It makes no sense to add an empty function here. Just do not define
CONFIG_MISC_INIT_R
> +#define CONFIG_SYS_MALLOC_LEN SZ_4M /* see armv7/start.S. */
> +#define CONFIG_STACKSIZE SZ_256K
Please do not use the SZ_ defines. They are deprecated.
> +/* Init functions */
> +#define CONFIG_MISC_INIT_R /* board's misc_init_r function */
Unused, so remove.
> +#define CONFIG_ENV_SIZE 0x10000
Do you really, really need 64 kB of environmnt? I doubt that.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The moral of the story is: "Don't stop to tighten your shoe laces
during the Olympics 100m finals".
- Kevin Jones in <DEJo68.K1t@bri.hp.com>
next prev parent reply other threads:[~2014-07-20 7:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-19 1:37 [U-Boot] [PATCH 0/4] Introducing the Broadcom Cygnus and NSP boards Steve Rae
2014-07-19 1:37 ` [U-Boot] [PATCH 1/4] arm: iproc: Initial commit of iproc architecture code Steve Rae
2014-07-20 7:46 ` Wolfgang Denk
2014-07-22 0:27 ` Steve Rae
2014-07-19 1:37 ` [U-Boot] [PATCH 2/4] arm: bcmcygnus: Add bcmcygnus u-architecture Steve Rae
2014-07-19 1:37 ` [U-Boot] [PATCH 3/4] arm: bcmnsp: Add bcmnsp u-architecture Steve Rae
2014-07-19 1:37 ` [U-Boot] [PATCH 4/4] arm: add Cygnus and NSP boards Steve Rae
2014-07-20 7:54 ` Wolfgang Denk [this message]
2014-07-22 0:02 ` Steve Rae
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=20140720075434.48C31380316@gemini.denx.de \
--to=wd@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