All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] powerpc, 8xx: Add support for MCR3000 board from CSSI
Date: Thu, 06 Jul 2017 13:12:05 +0200	[thread overview]
Message-ID: <20170706111205.E7EB61243D2@gemini.denx.de> (raw)
In-Reply-To: <20170706083955.0D92F69745@pc13941vm.idsi0.si.c-s.fr>

Dear Christophe,

In message <20170706083955.0D92F69745@pc13941vm.idsi0.si.c-s.fr> you wrote:
> 
> This patch adds support for the first board.
...

> diff --git a/board/cssi/MCR3000/u-boot.lds b/board/cssi/MCR3000/u-boot.lds
> new file mode 100644
> index 0000000000..2234bd8d1d
> --- /dev/null
> +++ b/board/cssi/MCR3000/u-boot.lds
...
> +OUTPUT_ARCH(powerpc)
> +SECTIONS
> +{
> +  /* Read-only sections, merged into text segment: */
> +  . = + SIZEOF_HEADERS;
> +  .text          :
> +  {
...

Like with C code, TABs should be used for indentation.


...
> diff --git a/include/configs/MCR3000.h b/include/configs/MCR3000.h
> new file mode 100644
> index 0000000000..53d4e9468a
> --- /dev/null
> +++ b/include/configs/MCR3000.h
...
> +#define CONFIG_IPADDR			192.168.0.3
> +#define CONFIG_SERVERIP			192.168.0.1
> +#define CONFIG_NETMASK			255.0.0.0

Static network configuration in board config files is strongly
discouraged.  Please remove.

> +#define CONFIG_SYS_BAUDRATE_TABLE	{9600, 19200, 38400, 57600, 115200}

Can you not use the standard baudrate table?


> +/*-----------------------------------------------------------------------
> + * Physical memory map of the MCR3000 board
> + */

Nitpick: illegal multiline comment style.  Please fix globally.


Reviewed-by: Wolfgang Denk <wd@denx.de>

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
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
"Whoever undertakes to set himself up as a judge of Truth  and  Know-
ledge is shipwrecked by the laughter of the gods."  - Albert Einstein

  parent reply	other threads:[~2017-07-06 11:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-06  8:39 [U-Boot] [PATCH v2] powerpc, 8xx: Add support for MCR3000 board from CSSI Christophe Leroy
2017-07-06 10:10 ` Heiko Schocher
2017-07-06 13:31   ` Christophe LEROY
2017-07-06 11:12 ` Wolfgang Denk [this message]
2017-07-06 13:58   ` Christophe LEROY
2017-07-06 14:13     ` Tom Rini

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=20170706111205.E7EB61243D2@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.