From: Michal Simek <monstr@monstr.eu>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] xilinx_emaclite.c ping-pong macro names
Date: Thu, 25 Aug 2011 12:06:42 +0200 [thread overview]
Message-ID: <4E561EB2.1010207@monstr.eu> (raw)
In-Reply-To: <20110430203900.CA707D5270F@gemini.denx.de>
Wolfgang Denk wrote:
> Dear alain.peteut at space.unibe.ch,
>
> In message <20110415144908.16476jnz1wxcpps4@mail.unibe.ch> you wrote:
>> Please find attached the checked patch. Sorry for the inconvenience.
>
> Please send patches inline. No attachments!
>
> And please stick to the rules with updated versions - mark the
> version in the Subject, and provide a Changelog. See
> http://www.denx.de/wiki/view/U-Boot/Patches#Sending_updated_patch_versions
>
> Also, please provide a meaningful Subject: and commit message - I have
> to admit that I have no idea what this patch is suposed to be about.
>
>> /*
>> - * TX - TX_PING & TX_PONG initialization
>> + TX - TX_PING & TX_PONG initialization
>> */
>
> Why are you messing up a previously correct multinine comment into an
> incorrect one?
>
> Please undo.
>
>> out_be32 (emaclite.baseaddress + XEL_TSR_OFFSET, 0);
>> @@ -155,12 +157,13 @@ static int emaclite_init(struct eth_device *dev, bd_t > *bis)
>> while ((in_be32 (emaclite.baseaddress + XEL_TSR_OFFSET) &
>> XEL_TSR_PROG_MAC_ADDR) != 0) ;
>>
>> -#ifdef CONFIG_XILINX_EMACLITE_TX_PING_PONG
>> +#ifdef XILINX_EMACLITE_TX_PING_PONG
>
> Why are you making this change? Configurable parameteres are supposed
> to start with CONFIG_ resp. CONFIG_SYS_ ?
>
>> - out_be32 (emaclite.baseaddress + XEL_TPLR_OFFSET, ENET_ADDR_LENGTH);
>> + out_be32 (emaclite.baseaddress + XEL_TPLR_OFFSET + XEL_BUFFER_OFFSET,
>> + ENET_ADDR_LENGTH);
>
> This change appears to be unrelated to macro names. Please split
> into separate patches, and provde information what you change and why.
I have found this old post.
Just some my comments.
1. Wolfgang if you see any patches for xilinx fpga and microblaze and I don't reply
that posts for a while, please ping me. I am more focus on other things and not checking
u-boot malling list so often - it will be better soon.
2. This change is caused by misunderstanding of xparameters.h for microblaze/xilinx ppc boards.
If someone wants to use looong xilinx xparameters from EDK/SDK project, not the correct one generated by u-boot bsp,
reach problems like this and wants to rename it.
The reason why I decided several years ago to use u-boot BSP was that new xparameters.h in board contains
just minimum parameters which are important for u-boot. It wasn't and I believe it is unacceptable to
add hundreds line with unimportant macros which are totally unrelated to u-boot.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
next prev parent reply other threads:[~2011-08-25 10:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-15 10:48 [U-Boot] [PATCH] xilinx_emaclite.c ping-pong macro names alain.peteut at space.unibe.ch
2011-04-15 11:05 ` Wolfgang Denk
2011-04-15 12:49 ` alain.peteut at space.unibe.ch
2011-04-16 9:44 ` Albert ARIBAUD
2011-04-30 20:39 ` Wolfgang Denk
2011-08-25 10:06 ` Michal Simek [this message]
2011-08-25 10:12 ` Wolfgang Denk
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=4E561EB2.1010207@monstr.eu \
--to=monstr@monstr.eu \
--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