From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] ARM cleanup - was: [GIT PULL] [ARM] Please pull fromgit://denx.de/git/u-boot-arm.git
Date: Wed, 29 Aug 2007 00:59:49 +0200 [thread overview]
Message-ID: <20070828225949.3AF5B2474A@gemini.denx.de> (raw)
In-Reply-To: Your message of "Tue, 28 Aug 2007 17:14:58 BST." <000a01c7e98e$949af6c0$821ba8c0@Emea.Arm.com>
Dear Peter,
in message <000a01c7e98e$949af6c0$821ba8c0@Emea.Arm.com> you wrote:
>
> > > >> cpu/arm920t/start.S => I'm surprised to see a lot of intialization
> > > >> code has now been added to the "reset" entry point.
> > > >> Is this by accident, or am I missing something?
> > >
> > > The changes are there to allow you to boot from a dataflash.
> > > A bootstrap will initialize the SDRAM and copy from the
> > dataflash (or
> > > > NAND flash)
> > > IIRC: The code avoids reinitialization of stuff which will
> > crash U-Boot.
> > > (And sets the LED)
> >
> > I'm afraid I don't understand. We are not talking about any
> > startup code, but about the code of the "reset" function,
> > i. e. what casues the board to reset.
>
> The writers (and cut & pasters) of ARM code seem to have assumed that
>
> reset:
>
> is the entry to the code which runs immediately after the processor is reset,
> rather than the code which makes the processor reset.
Well, if that was the assumption, that all this code has obviously
never been tested on any real hardware. Which means it should have
never been submitted to the list.
> Could we accept Ulf's code whilst I give this more consideration?
It's so utterly wrong that I think we have to clean this up before
the next release. If nobody submits a better patch, we will have to
remove the bogus code.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
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
I know engineers. They love to change things. - Dr. McCoy
next prev parent reply other threads:[~2007-08-28 22:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-14 15:08 [U-Boot-Users] [GIT PULL] [ARM] Please pull from git://denx.de/git/u-boot-arm.git Peter Pearse
2007-08-14 16:09 ` Wolfgang Denk
2007-08-14 16:45 ` Peter Pearse
2007-08-14 18:39 ` Wolfgang Denk
2007-08-15 11:40 ` [U-Boot-Users] [GIT PULL] [ARM] Please pull fromgit://denx.de/git/u-boot-arm.git Ulf Samuelsson
2007-08-16 9:40 ` Wolfgang Denk
2007-08-28 16:14 ` Peter Pearse
2007-08-28 22:59 ` Wolfgang Denk [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-08-30 13:11 [U-Boot-Users] ARM cleanup - was: " Peter Pearse
2007-09-04 7:25 ` Ulf Samuelsson
2007-09-04 9:42 ` Wolfgang Denk
2007-09-04 10:24 ` Peter Pearse
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=20070828225949.3AF5B2474A@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox