From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] PULL REQUEST (for "next"): please pull u-boot-mpc5xxx
Date: Fri, 23 Apr 2010 10:28:09 +0200 [thread overview]
Message-ID: <20100423102809.5afa8f3e@wker> (raw)
In-Reply-To: <20100321223444.B57734C022@gemini.denx.de>
Hello Wolfgang,
On Sun, 21 Mar 2010 23:34:44 +0100
Wolfgang Denk <wd@denx.de> wrote:
> Dear Anatolij,
>
> In message <20100321214723.74B904C022@gemini.denx.de> you wrote:
> > In message <20100321214009.827FF4C022@gemini.denx.de> you wrote:
> > > The following changes since commit 67c7189dd35cb368ef665126fd17816581bd2e92:
> > > Renato Andreola (1):
> > > nios2: Added support to YANU UART
> > >
> > > are available in the git repository at:
> > >
> > > git://git.denx.de/u-boot-mpc5xxx.git master
> > >
> > > Anatolij Gustschin (4):
> > > mpc512x: make MEM IO Control configuration a board config option
> > > mpc512x: add multi serial PSC support
> > > mpc5121: add PSC serial communication routines
> > > mpc5121: add common post_word_load/store code
> > >
> > > common/serial.c | 23 +++
> > > cpu/mpc512x/Makefile | 1 +
> > > cpu/mpc512x/commproc.c | 25 +++
> > > cpu/mpc512x/fixed_sdram.c | 2 +-
> > > cpu/mpc512x/serial.c | 353 ++++++++++++++++++++++++++++++++++++++----
> > > include/asm-ppc/immap_512x.h | 112 +++++++-------
> > > include/configs/aria.h | 2 +
> > > include/configs/mecp5123.h | 2 +
> > > include/configs/mpc5121ads.h | 2 +
> > > include/serial.h | 15 ++
> > > 10 files changed, 451 insertions(+), 86 deletions(-)
> > > create mode 100644 cpu/mpc512x/commproc.c
> >
> > Applied.
>
> And reverted again.
>
> Your commit:
>
> commit d774442c60756a8dd5d75de85574120ce375bd72
> Author: Anatolij Gustschin <agust@denx.de>
> Date: Tue Mar 16 17:10:03 2010 +0100
>
> mpc512x: add multi serial PSC support
>
> breaks a large number of boards really hard because it adds a new
> entry (uninit()) to "struct serial_device" in "include/serial.h",
> without fixing all the places where such a struct gets initialized;
> this results in tons of warnings like these:
>
> serial.c:321: warning: initialization from incompatible pointer type
> serial.c:321: warning: initialization from incompatible pointer type
> serial.c:321: warning: initialization from incompatible pointer type
> serial.c:321: warning: initialization from incompatible pointer type
> serial.c:324: warning: initialization from incompatible pointer type
> serial.c:324: warning: initialization from incompatible pointer type
> serial.c:324: warning: initialization from incompatible pointer type
> serial.c:324: warning: initialization from incompatible pointer type
> serial.c:327: warning: initialization from incompatible pointer type
> serial.c:327: warning: initialization from incompatible pointer type
> serial.c:327: warning: initialization from incompatible pointer type
> serial.c:327: warning: initialization from incompatible pointer type
> serial.c:330: warning: initialization from incompatible pointer type
> serial.c:330: warning: initialization from incompatible pointer type
> serial.c:330: warning: initialization from incompatible pointer type
> serial.c:330: warning: initialization from incompatible pointer type
>
> and (even worse) in bricking all these boards.
>
>
> Please make sure to run MAKEALL when submitting patches!!!
I'm sorry for this.
> [I'll leave this code as is in the u-boot-mpc5xxx repo for now, but I
> will rebase this as soon as you submit a fix.]
What would be the best way to proceed here? I submitted separate
patch to fix this, "serial: fix struct serial_device initialisation".
It is based on u-boot-mpc5xxx repo. But since the directory structure
has been changed now I think that better would be to revert these
four patches in the u-boot-mpc5xxx repo. I can submit rebased
patches which also address this breakage. I also noticed that
adding post_word_load/store to cpu/mpc512x/commproc.c as one patch
does, is actually wrong. So I need to address this, too.
Best regards,
Anatolij
next prev parent reply other threads:[~2010-04-23 8:28 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-21 21:40 [U-Boot] PULL REQUEST (for "next"): please pull u-boot-mpc5xxx Wolfgang Denk
2010-03-21 21:47 ` Wolfgang Denk
2010-03-21 22:34 ` Wolfgang Denk
2010-04-13 14:31 ` [U-Boot] [PATCH] serial: fix struct serial_device initialisation Anatolij Gustschin
2010-04-24 19:23 ` Anatolij Gustschin
2010-04-23 8:28 ` Anatolij Gustschin [this message]
2010-04-23 9:56 ` [U-Boot] PULL REQUEST (for "next"): please pull u-boot-mpc5xxx Wolfgang Denk
2010-04-24 17:27 ` [U-Boot] [PATCH v4 0/8] Add support for PDM360NG board Anatolij Gustschin
2010-04-24 17:27 ` [U-Boot] [PATCH v4 1/8] serial: struct serial_device: add uninit() entry for drivers Anatolij Gustschin
2010-04-24 17:27 ` [U-Boot] [PATCH v4 2/8] mpc512x: add multi serial PSC support Anatolij Gustschin
2010-04-24 17:27 ` [U-Boot] [PATCH v4 3/8] mpc5121: add PSC serial communication routines Anatolij Gustschin
2010-04-24 17:27 ` [U-Boot] [PATCH v4 4/8] mpc512x: make MEM IO Control configuration a board config option Anatolij Gustschin
2010-04-24 17:27 ` [U-Boot] [PATCH v4 5/8] mpc5121: determine RAM size using get_ram_size() Anatolij Gustschin
2010-04-24 17:27 ` [U-Boot] [PATCH v4 6/8] mpc5121: add support for PDM360NG board Anatolij Gustschin
2010-04-24 17:27 ` [U-Boot] [PATCH v4 7/8] mpc5121: add common post_word_load/store code Anatolij Gustschin
2010-04-24 17:27 ` [U-Boot] [PATCH v4 8/8] mpc5121: pdm360ng: add coprocessor POST Anatolij Gustschin
2010-05-09 8:01 ` [U-Boot] [PATCH v4 6/8] mpc5121: add support for PDM360NG board Michael Zaidman
2010-05-10 10:41 ` Anatolij Gustschin
2010-04-24 20:32 ` [U-Boot] [PATCH v4 1/8] serial: struct serial_device: add uninit() entry for drivers Wolfgang Denk
2010-04-24 21:58 ` [U-Boot] [PATCH v4 0/8] Add support for PDM360NG board Wolfgang Denk
2010-04-24 22:23 ` Anatolij Gustschin
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=20100423102809.5afa8f3e@wker \
--to=agust@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