From: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 1/2] ppc4xx: Add DU440 board support
Date: Mon, 14 Jan 2008 09:58:46 +0100 [thread overview]
Message-ID: <200801140958.46911.matthias.fuchs@esd-electronics.com> (raw)
In-Reply-To: <20080113220820.B3161247C1@gemini.denx.de>
Hi Wolfgang,
as you might have noticed the DU440 board is havily based on seuqoia code.
Nearly all of your comments apply to that board as well. I thought of the
sequoia code as exemplary reference code. And I prefer not to reformat comments
when copy and pasting from one board to another.
But if you really insist of these changes I will change the patch.
On Sunday 13 January 2008 23:08, Wolfgang Denk wrote:
>
> Ummm...
>
> #include <asm/bitops.h>
> ...
> size_val = ffs(gd->bd->bi_flashsize) - 21;
>
> seems more straigtforward to me...
>
Good idea. Thanks.
> > +#if 1
>
> Please remove the '#if 1' as it's redundant.
Ack.
>
> ...
> > +#if 0
> > +/*
> > + * test commands for SM722 2D acceleration
> > + */
> ...
> > +U_BOOT_CMD(
> > + gfxline, CFG_MAXARGS, 1, do_gfxline,
> > + "gfxline - draw line\n",
> > + "[color] [x1] [y1] [x2] [y2]\n"
> > + );
> > +#endif
>
> Please remove the dead code.
Please not. The DU440 board will get an updated smi_lynxem driver with support for the
SM722 soon. My current hack is to dirty for submission and I just got some more register
dumps from SM to support more videomodes. I will need this commented out code to test it.
I plan to remove it later.
>
>
> > diff --git a/board/esd/du440/init.S b/board/esd/du440/init.S
> > new file mode 100644
> > index 0000000..1e15e72
> > --- /dev/null
> > +++ b/board/esd/du440/init.S
> > @@ -0,0 +1,80 @@
> > +/*
> > + *
> > + * See file CREDITS for list of people who contributed to this
> > + * project.
> > + *
> > + * This program is free software; you can redistribute it and/or
> > + * modify it under the terms of the GNU General Public License as
> > + * published by the Free Software Foundation; either version 2 of
> > + * the License, or (at your option) any later version.
> > + *
> > + * This program is distributed in the hope that it will be useful,
> > + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> > + * GNU General Public License for more details.
> > + *
> > + * You should have received a copy of the GNU General Public License
> > + * along with this program; if not, write to the Free Software
> > + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
> > + * MA 02111-1307 USA
> > + */
>
> Copyright missing.
>
> You probably may want to adjust the (C) messages in some other files,
> too.
Ack. May I put my name on it? The source of this code has no copyright either.
>
> > diff --git a/board/esd/du440/u-boot.lds b/board/esd/du440/u-boot.lds
> > new file mode 100644
> > index 0000000..a423f98
> > --- /dev/null
> > +++ b/board/esd/du440/u-boot.lds
> ...
> > + __bss_start = .;
> > + .bss :
>
> NOLOAD attribute missing. Please fix.
This is new to me. But I just noticed that all other boards have been updated according to this. So will I.
I will update my patches. Perhaps you can comment on my comments above.
Matthias
next prev parent reply other threads:[~2008-01-14 8:58 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-13 21:11 [U-Boot-Users] [PATCH 1/2] ppc4xx: Add DU440 board support Matthias Fuchs
2008-01-13 22:08 ` Wolfgang Denk
2008-01-14 8:58 ` Matthias Fuchs [this message]
2008-01-14 9:45 ` Wolfgang Denk
2008-01-14 10:05 ` Matthias Fuchs
2008-01-14 10:35 ` Stefan Roese
2008-01-15 22:17 ` [U-Boot-Users] [PATCH] ppc4xx: Sequoia coding style cleanup and beautification Matthias Fuchs
2008-01-16 7:31 ` Stefan Roese
2008-01-16 9:33 ` [U-Boot-Users] [PATCH V2] " Matthias Fuchs
2008-01-16 10:33 ` Stefan Roese
2008-01-16 12:05 ` [U-Boot-Users] [PATCH 1/2] ppc4xx: Add DU440 board support Matthias Fuchs
2008-01-16 10:47 ` [U-Boot-Users] [PATCH V2] " Matthias Fuchs
[not found] ` <200801161219.08916.sr@denx.de>
2008-01-16 11:52 ` Matthias Fuchs
2008-01-16 15:23 ` Matthias Fuchs
2008-01-16 11:59 ` [U-Boot-Users] [PATCH V3] " Matthias Fuchs
2008-01-17 7:25 ` Stefan Roese
2008-01-17 9:52 ` [U-Boot-Users] [PATCH V4] " Matthias Fuchs
2008-01-17 10:40 ` Stefan Roese
2008-01-16 10:47 ` [U-Boot-Users] [PATCH V2] ppc4xx: Complete " Matthias Fuchs
2008-01-16 11:20 ` Stefan Roese
2008-01-16 12:00 ` [U-Boot-Users] [PATCH V3] " Matthias Fuchs
2008-01-17 7:28 ` Stefan Roese
2008-01-17 9:53 ` [U-Boot-Users] [PATCH V4] " Matthias Fuchs
2008-01-17 10:41 ` Stefan Roese
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=200801140958.46911.matthias.fuchs@esd-electronics.com \
--to=matthias.fuchs@esd-electronics.com \
--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