public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Matthias Weißer" <weisserm@arcor.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/5] imx: Add support for zmx25 board
Date: Thu, 30 Jun 2011 15:44:37 +0200	[thread overview]
Message-ID: <4E0C7DC5.3060908@arcor.de> (raw)
In-Reply-To: <20110630104408.C6D7415AEB8D@gemini.denx.de>

Am 30.06.2011 12:44, schrieb Wolfgang Denk:
> Dear Matthias Weisser,
>
> In message<1309427865-17531-6-git-send-email-weisserm@arcor.de>  you wrote:
>> zmx25 is a board based on imx25 SoC, 64 Megs of LPDDR, 32 Megs of NOR flash, an
>> optional NAND flash.
>>
>> Signed-off-by: Matthias Weisser<weisserm@arcor.de>
>> ---
>>   MAINTAINERS                        |    1 +
>>   board/syteco/zmx25/Makefile        |   51 +++++++++
>>   board/syteco/zmx25/lowlevel_init.S |  136 +++++++++++++++++++++++
>>   board/syteco/zmx25/zmx25.c         |  209 ++++++++++++++++++++++++++++++++++++
>>   boards.cfg                         |    1 +
>>   include/configs/zmx25.h            |  182 +++++++++++++++++++++++++++++++
>>   6 files changed, 580 insertions(+), 0 deletions(-)
>>   create mode 100644 board/syteco/zmx25/Makefile
>>   create mode 100644 board/syteco/zmx25/lowlevel_init.S
>>   create mode 100644 board/syteco/zmx25/zmx25.c
>>   create mode 100644 include/configs/zmx25.h
>
> checkpatch says:
>
> please, no space before tabs

I see. The checkpatch.pl I was using (0.28) didn't catch this. That one 
from latest kernel (0.31) does. So this will be fixed in v2.

> ...
>> diff --git a/board/syteco/zmx25/zmx25.c b/board/syteco/zmx25/zmx25.c
>> new file mode 100644
>> index 0000000..c27ad20
>> --- /dev/null
>> +++ b/board/syteco/zmx25/zmx25.c
>> @@ -0,0 +1,209 @@
>> +/*
>> + * (c) 2011 Graf-Syteco, Matthias Weisser
>> + *<weisserm@arcor.de>
>
> Are you absolutely sure that this code was wriiten by you from
> scratch, without re-using any existing code?

Well, actually not. But as the changes where that big (there are only 
two handful of identical lines without comments and common function 
names) that I thought that it will be the right way to do it so. That 
may be wrong. I (re)add the copyright from tx25.c in v2.

>> +void tx25_fec_init(void)
> ...
>> +#define tx25_fec_init()
>
> etc.
>
> This looks suspiciously as if the code was copied from the TX25 board,
> and then adapted.  If so then what gives you the right to claim
> exclusive ownership of this code and remove/omit oall existing
> copyright entries???

See above. Will (re)add. It was not my intention to offend someone.

> ...
>> +#define CONFIG_CMDLINE_TAG	1	/* enable passing of ATAGs	*/
>> +#define CONFIG_SETUP_MEMORY_TAGS 1
>> +#define CONFIG_INITRD_TAG	1
>> +#define BOARD_LATE_INIT		1
>
> Please omit values from #defines that enable features only.
>
>> +#define CONFIG_BOOTP_BOOTFILESIZE	1
>> +#define CONFIG_BOOTP_BOOTPATH		1
>> +#define CONFIG_BOOTP_GATEWAY		1
>> +#define CONFIG_BOOTP_HOSTNAME		1
>
> Ditto. Please fix globally.

OK

>> +#include<config_cmd_default.h>
>> +#define CONFIG_CMD_NET
>> +#define CONFIG_CMD_CACHE
>> +#undef CONFIG_CMD_FPGA
>> +#undef CONFIG_CMD_IMLS
>> +#undef CONFIG_CMD_LOADS
>> +#undef CONFIG_CMD_SOURCE
>> +#undef CONFIG_CMD_NFS
>> +#undef CONFIG_CMD_XIMG
>
> Is there any specific reason for sisabling these commands?
> You don't appear to be very short on resources, so this makes no sense
> to me.

Well, mainly copy+paste from our other board "jadecpu". I will remove 
these undefs in v2 as it only saves about 10k of image size, some of 
them may be useful and, as you have noticed, we are not short on flash.

Thanks for your review.

Matthias

  reply	other threads:[~2011-06-30 13:44 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-30  9:57 [U-Boot] [PATCH 0/5] Add support for zmx25 board Matthias Weisser
2011-06-30  9:57 ` [U-Boot] [PATCH 1/5] imx: Add get_tbclk() function for imx25 Matthias Weisser
2011-06-30 15:38   ` Stefano Babic
2011-07-04  5:56     ` Matthias Weißer
2011-06-30  9:57 ` [U-Boot] [PATCH 2/5] imx: Use correct imx25 reset.c Matthias Weisser
2011-06-30 10:46   ` Wolfgang Denk
2011-06-30 11:35     ` Matthias Weißer
2011-06-30 10:49   ` Wolfgang Denk
2011-06-30 11:30     ` Matthias Weißer
2011-06-30  9:57 ` [U-Boot] [PATCH 3/5] imx: Add support for USB EHCI on imx25 Matthias Weisser
2011-06-30 15:48   ` Stefano Babic
2011-07-05 20:07     ` Marek Vasut
2011-06-30  9:57 ` [U-Boot] [PATCH 4/5] imx: Add auto generation of asm-offsets.h for imx25 Matthias Weisser
2011-06-30  9:57 ` [U-Boot] [PATCH 5/5] imx: Add support for zmx25 board Matthias Weisser
2011-06-30 10:44   ` Wolfgang Denk
2011-06-30 13:44     ` Matthias Weißer [this message]
2011-06-30 15:36   ` Stefano Babic
2011-07-04  6:28     ` Matthias Weißer
2011-07-06 10:28 ` [U-Boot] [PATCH v2 0/6] " Matthias Weisser
2011-07-06 10:28 ` [U-Boot] [PATCH v2 1/6] imx: Add get_tbclk() function for imx25 Matthias Weisser
2011-07-13 11:33   ` Stefano Babic
2011-07-06 10:28 ` [U-Boot] [PATCH v2 2/6] imx: Use correct imx25 reset.c Matthias Weisser
2011-07-13 11:33   ` Stefano Babic
2011-07-06 10:28 ` [U-Boot] [PATCH v2 3/6] imx: Add support for USB EHCI on imx25 Matthias Weisser
2011-07-13 11:34   ` Stefano Babic
2011-07-06 10:28 ` [U-Boot] [PATCH v2 4/6] imx: Add auto generation of asm-offsets.h for imx25 Matthias Weisser
2011-07-13 11:35   ` Stefano Babic
2011-07-06 10:28 ` [U-Boot] [PATCH v2 5/6] imx: Make imx25 compatible to mxc_gpio driver and fix in tx25 Matthias Weisser
2011-07-13 11:35   ` Stefano Babic
2011-07-06 10:28 ` [U-Boot] [PATCH v2 6/6] imx: Add support for zmx25 board Matthias Weisser
2011-07-13 11:36   ` Stefano Babic

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=4E0C7DC5.3060908@arcor.de \
    --to=weisserm@arcor.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