All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [GIT PULL] [ARM] Please pull fromgit://denx.de/git/u-boot-arm.git
Date: Wed, 15 Aug 2007 13:40:12 +0200	[thread overview]
Message-ID: <002c01c7dfdb$280ab250$dcc4af0a@atmel.com> (raw)
In-Reply-To: 000101c7de92$7fb2e350$821ba8c0@Emea.Arm.com

> 
>> -----Original Message-----
>> From: wd at denx.de [mailto:wd at denx.de] 
>> Sent: 14 August 2007 17:10
>> To: Peter Pearse
>> Cc: u-boot-users at lists.sourceforge.net; Ulf Samuelsson
>> Subject: Re: [GIT PULL] [ARM] Please pull from 
>> git://denx.de/git/u-boot-arm.git
>> 
>> Dear Peter,
>> 
>> in message <000001c7de84$ee21a460$821ba8c0@Emea.Arm.com> you wrote:
>> > 
>> > Please pull from git://denx.de/git/u-boot-arm.git
>> > 
>> > It (actually) contains the following changes from Ulf - 
>> next time the 
>> > commit messages will match the CHANGELOG entries......
>> > 
>> >   Add MACH_TYPE records for several AT91 boards
>> >   Merge to two at45.c files into a common file and split to 
>> at45.c and spi.c
>> >   Fix spelling error in DM9161 PHY Support
>> >   Initialize at91rm9200 board (and set LED)
>> >   Add PIO control for at91rm9200dk LEDs and Mux.
>> >   Change dataflash partition boundaries to be compatible with Linux 
>> > 2.6
>> > 
>> >   Signed-off-by: Peter Pearse <peter.pearse@arm.com>
>> >   Signed-off-by: Ulf Samuelsson <ulf@atmel.com>
>> > 

<snip>

>> The following issues need to be addressed:
>> 
>> 
>> include/led.h => seems specific to the at91rm9200dk board only,
>>                  please move to board directory. Also, the calls to
>>                  these functions should be handled without #ifdef's
>>                  in common code. Either use existing functions hooks,
>>                  or weak references.

Please explain further.
What is a weak reference?
Which hooks?

>> 
>> drivers/at45.c => has coding style issues - indentation of long,
>>                   wrapped around lines is broken.
>> 
>> 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)

>> include/config_cmd_all.h: "CONFIG_CMD_MUX" is a pretty generic name,
>>                 while here it is used for a board or CPU specific
>>                 feature only. I suggest you rename this into
>>                 something which has a "AT91" in the name, like
>>                 "CONFIG_CMD_AT91_SPIMUX" or so.
>> 
>> Thanks again.
>> 
>> Best regards,
>> 
>> Wolfgang Denk
>> 


Best Regards
Ulf Samuelsson

  parent reply	other threads:[~2007-08-15 11:40 UTC|newest]

Thread overview: 8+ 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     ` Ulf Samuelsson [this message]
2007-08-16  9:40       ` [U-Boot-Users] [GIT PULL] [ARM] Please pull fromgit://denx.de/git/u-boot-arm.git Wolfgang Denk
2007-08-28 16:14         ` Peter Pearse
2007-08-28 22:59           ` [U-Boot-Users] ARM cleanup - was: " 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='002c01c7dfdb$280ab250$dcc4af0a@atmel.com' \
    --to=ulf@atmel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.