public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [GIT PULL] [ARM] Please pull from git://denx.de/git/u-boot-arm.git
@ 2007-08-14 15:08 Peter Pearse
  2007-08-14 16:09 ` Wolfgang Denk
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Pearse @ 2007-08-14 15:08 UTC (permalink / raw)
  To: u-boot

Wolfgang

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>

Unfortunately I shall not have time to request any more pulls before 17th
August 2007.

Regards

Peter

---

The following changes since commit 4ef35e53c693556c54b0c22d6f873de87bade253:
  Wolfgang Denk (1):
        Coding style cleanup, update CHANGELOG

are found in the git repository at:

  git://denx.de/git/u-boot-arm.git  

Peter Pearse (6):
      Add MACH_TYPE records for several AT91 boards.
      Add the files.
      Delete the merged files.
      Update Makefiles for merged and split at45.c.
      Replace lost end of at45.c.
      Supply spi interface in at45.c

 board/at91rm9200dk/Makefile                  |    2 +-
 board/at91rm9200dk/at45.c                    |  621
--------------------------
 board/at91rm9200dk/led.c                     |   80 ++++
 board/at91rm9200dk/mux.c                     |   39 ++
 board/cmc_pu2/Makefile                       |    2 +-
 board/cmc_pu2/at45.c                         |  621
--------------------------
 common/soft_i2c.c                            |    2 +-
 cpu/arm920t/at91rm9200/Makefile              |    2 +-
 cpu/arm920t/at91rm9200/dm9161.c              |   11 +-
 cpu/arm920t/at91rm9200/spi.c                 |  153 +++++++
 cpu/arm920t/start.S                          |   93 ++++-
 drivers/Makefile                             |    2 +-
 drivers/at45.c                               |  569 +++++++++++++++++++++++
 drivers/dataflash.c                          |  279 +++++++++---
 include/asm-arm/arch-at91rm9200/AT91RM9200.h |  139 ++++---
 include/asm-arm/mach-types.h                 |   69 +++
 include/at45.h                               |   69 +++
 include/config_cmd_all.h                     |    1 +
 include/configs/at91rm9200dk.h               |    5 +
 include/dataflash.h                          |   43 ++-
 include/dm9161.h                             |    4 +-
 include/flash.h                              |    5 +
 include/led.h                                |   46 ++
 23 files changed, 1474 insertions(+), 1383 deletions(-)
 mode change 100644 => 100755 board/at91rm9200dk/Makefile
 delete mode 100644 board/at91rm9200dk/at45.c
 create mode 100644 board/at91rm9200dk/led.c
 create mode 100644 board/at91rm9200dk/mux.c
 mode change 100644 => 100755 board/cmc_pu2/Makefile
 delete mode 100644 board/cmc_pu2/at45.c
 create mode 100644 cpu/arm920t/at91rm9200/spi.c
 mode change 100644 => 100755 drivers/Makefile
 create mode 100755 drivers/at45.c
 create mode 100644 include/at45.h
 create mode 100644 include/led.h

---

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [U-Boot-Users] [GIT PULL] [ARM] Please pull from git://denx.de/git/u-boot-arm.git
@ 2007-09-11 15:31 Peter Pearse
  2007-09-15 19:22 ` Wolfgang Denk
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Pearse @ 2007-09-11 15:31 UTC (permalink / raw)
  To: u-boot

Wolfgang
 
	Please pull from git://denx.de/git/u-boot-arm.git

	The changes address your comments:-

> 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.

Moved to asm-arm as coloured_led.h 
- I want to play with the coloured leds on other ARM boards sometime.

> drivers/at45.c => has coding style issues - indentation of long,
>                   wrapped around lines is broken.

- ran Lindent on it

> 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?

Ulf and I missed that CONFIG_BOOTBINFUNC has been deprecated and split into 
	CONFIG_SKIP_RELOCATE_UBOOT
	CONFIG_SKIP_LOWLEVEL_INIT
as described in the README.

Since the CONFIG_BOOTBINFUNC code has not been tested e.g. there was no 
lowlevelinit(), I have removed it for now.

I want to take this opportunity to remind ARM developers that any
intialization 
- of the cpu   should take place in   cpu/<armcpu>  /<file>::cpu_init_crit()
- of the board should take place in
board/<armboard>/<file>::lowlevel_init().

There are currently various misplaced initializations which I hope to sort
out 
with the board maintainers.

Anyone submitting at91rm9200 code should be aware that currently 
- the define CONFIG_AT91RM9200 is used by
	at91rm9200dk
	cmc_pu2
	mp2usb      
- the define CONFIG_AT91RM9200DK is used by 
	at91rm9200dk
	mp2usb      
please make sure not to break the other boards.

> 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.

- done

  Signed-off-by:	Peter Pearse <peter.pearse@arm.com>
  Signed-off-by:	Ulf Samuelsson <ulf@atmel.com>

---
The following changes since commit 38ad82da0c1180ecdeb212a8f4245e945bcc546e:
  Grzegorz Bernacki (1):
        [GP3SSA] Add define CONFIG_MPC85XX_PCI2 in config file to allow
u-boot to

are found in the git repository at:

  git://www.denx.de/git/u-boot-arm.git

Peter Pearse (10):
      Rename CONFIG_CMD_MUX to CONFIG_CMD_AT91_SPIMUX
      Ran Lindent on drivers/at45.c
      Move include/led.h to board/at91rm9200dk
      Add coloured led interface for ARM boards.
      Changed API name to coloured_led.h
      Merge with git://www.denx.de/git/u-boot.git
      Merge with git://www.denx.de/git/u-boot.git
      Merge with git://www.denx.de/git/u-boot.git
      Merge with git://www.denx.de/git/u-boot.git
      Final tidy

 board/at91rm9200dk/led.c                  |    2 +-
 cpu/arm920t/start.S                       |  128 ++---------
 drivers/at45.c                            |  334
++++++++++++++---------------
 include/{led.h => asm-arm/coloured_led.h} |    2 +-
 include/config_cmd_all.h                  |    2 +-
 lib_arm/board.c                           |   24 ++
 6 files changed, 210 insertions(+), 282 deletions(-)
 rename include/{led.h => asm-arm/coloured_led.h} (97%)
---

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-09-15 19:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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           ` [U-Boot-Users] ARM cleanup - was: " Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2007-09-11 15:31 [U-Boot-Users] [GIT PULL] [ARM] Please pull from git://denx.de/git/u-boot-arm.git Peter Pearse
2007-09-15 19:22 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox