[U-Boot] [PATCH 0/1] AT91SAM9/CAP9: cleanup common code

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sun Mar 22 13:11:34 CET 2009


Hi,

	The following patchset will cleanup the current at91sam9 and at91cap9
	code to unify common code

Jean-Christophe PLAGNIOL-VILLARD (7):
      at91sam9/at91cap: move common serial initialisation to cpu
      at91sam9/at91cap: move common spi initialisation to cpu
      at91sam9/at91cap: move common led management to cpu
      at91sam9/at91cap: move common usb host initialisation to cpu
      at91sam9/at91cap: move common macb initialisation to cpu
      atmel/at91/boards: compile dataflash partition only when dataflash is
      at91sam9/at91cap: move nand drivers to drivers/mtd/nand

 board/afeb9260/Makefile                            |    1 -
 board/afeb9260/afeb9260.c                          |   72 ++---------------
 board/atmel/at91cap9adk/Makefile                   |    3 +-
 board/atmel/at91cap9adk/at91cap9adk.c              |   71 ++---------------
 board/atmel/at91cap9adk/led.c                      |   46 ++---------
 board/atmel/at91cap9adk/nand.c                     |   72 -----------------
 board/atmel/at91sam9260ek/Makefile                 |    3 +-
 board/atmel/at91sam9260ek/at91sam9260ek.c          |   83 ++------------------
 board/atmel/at91sam9260ek/led.c                    |   31 +------
 board/atmel/at91sam9260ek/nand.c                   |   78 ------------------
 board/atmel/at91sam9261ek/Makefile                 |    3 +-
 board/atmel/at91sam9261ek/at91sam9261ek.c          |   50 +----------
 board/atmel/at91sam9261ek/led.c                    |   47 ++----------
 board/atmel/at91sam9261ek/nand.c                   |   78 ------------------
 board/atmel/at91sam9263ek/Makefile                 |    3 +-
 board/atmel/at91sam9263ek/at91sam9263ek.c          |   85 ++------------------
 board/atmel/at91sam9263ek/led.c                    |   46 ++---------
 board/atmel/at91sam9263ek/nand.c                   |   78 ------------------
 board/atmel/at91sam9rlek/Makefile                  |    3 +-
 board/atmel/at91sam9rlek/at91sam9rlek.c            |   50 +----------
 board/atmel/at91sam9rlek/led.c                     |   46 ++---------
 board/atmel/at91sam9rlek/nand.c                    |   78 ------------------
 cpu/arm926ejs/at91/Makefile                        |   27 ++++++-
 cpu/arm926ejs/at91/at91cap9_macb.c                 |   54 ++++++++++++
 cpu/arm926ejs/at91/at91cap9_serial.c               |   76 +++++++++++++++++
 cpu/arm926ejs/at91/at91cap9_spi.c                  |   75 +++++++++++++++++
 cpu/arm926ejs/at91/at91sam9260_macb.c              |   63 +++++++++++++++
 cpu/arm926ejs/at91/at91sam9260_serial.c            |   76 +++++++++++++++++
 cpu/arm926ejs/at91/at91sam9260_spi.c               |   75 +++++++++++++++++
 cpu/arm926ejs/at91/at91sam9261_serial.c            |   76 +++++++++++++++++
 cpu/arm926ejs/at91/at91sam9261_spi.c               |   75 +++++++++++++++++
 cpu/arm926ejs/at91/at91sam9263_macb.c              |   54 ++++++++++++
 cpu/arm926ejs/at91/at91sam9263_serial.c            |   76 +++++++++++++++++
 cpu/arm926ejs/at91/at91sam9263_spi.c               |   75 +++++++++++++++++
 cpu/arm926ejs/at91/at91sam9263_usb.c               |   35 ++++++++
 cpu/arm926ejs/at91/at91sam9rl_serial.c             |   76 +++++++++++++++++
 cpu/arm926ejs/at91/at91sam9rl_spi.c                |   52 ++++++++++++
 cpu/arm926ejs/at91/led.c                           |   64 +++++++++++++++
 drivers/mtd/nand/Makefile                          |    1 +
 .../nand.c => drivers/mtd/nand/atmel_nand.c        |   32 ++++----
 include/asm-arm/arch-at91/at91_common.h            |   38 +++++++++
 include/configs/afeb9260.h                         |    9 ++
 include/configs/at91cap9adk.h                      |   14 +++
 include/configs/at91sam9260ek.h                    |   14 +++
 include/configs/at91sam9261ek.h                    |   15 ++++
 include/configs/at91sam9263ek.h                    |   15 ++++
 include/configs/at91sam9rlek.h                     |   15 ++++
 47 files changed, 1234 insertions(+), 975 deletions(-)
 delete mode 100644 board/atmel/at91cap9adk/nand.c
 delete mode 100644 board/atmel/at91sam9260ek/nand.c
 delete mode 100644 board/atmel/at91sam9261ek/nand.c
 delete mode 100644 board/atmel/at91sam9263ek/nand.c
 delete mode 100644 board/atmel/at91sam9rlek/nand.c
 create mode 100644 cpu/arm926ejs/at91/at91cap9_macb.c
 create mode 100644 cpu/arm926ejs/at91/at91cap9_serial.c
 create mode 100644 cpu/arm926ejs/at91/at91cap9_spi.c
 create mode 100644 cpu/arm926ejs/at91/at91sam9260_macb.c
 create mode 100644 cpu/arm926ejs/at91/at91sam9260_serial.c
 create mode 100644 cpu/arm926ejs/at91/at91sam9260_spi.c
 create mode 100644 cpu/arm926ejs/at91/at91sam9261_serial.c
 create mode 100644 cpu/arm926ejs/at91/at91sam9261_spi.c
 create mode 100644 cpu/arm926ejs/at91/at91sam9263_macb.c
 create mode 100644 cpu/arm926ejs/at91/at91sam9263_serial.c
 create mode 100644 cpu/arm926ejs/at91/at91sam9263_spi.c
 create mode 100644 cpu/arm926ejs/at91/at91sam9263_usb.c
 create mode 100644 cpu/arm926ejs/at91/at91sam9rl_serial.c
 create mode 100644 cpu/arm926ejs/at91/at91sam9rl_spi.c
 create mode 100644 cpu/arm926ejs/at91/led.c
 rename board/afeb9260/nand.c => drivers/mtd/nand/atmel_nand.c (72%)
 create mode 100644 include/asm-arm/arch-at91/at91_common.h

Best Regards,
J.


More information about the U-Boot mailing list