[U-Boot] [PATCH] powerpc/p2040rdb: Add p2040rdb board support

Wolfgang Denk wd at denx.de
Fri Oct 7 00:13:36 CEST 2011


Dear Mingkai Hu,

In message <1309491829-31463-1-git-send-email-Mingkai.hu at freescale.com> you wrote:
> P2040RDB Specification:
> -----------------------
> Memory subsystem:
>  * 4Gbyte unbuffered DDR3 SDRAM SO-DIMM(64bit bus)
>  * 128 Mbyte NOR flash single-chip memory
>  * 256 Kbit M24256 I2C EEPROM
>  * 16 Mbyte SPI memory
>  * SD connector to interface with the SD memory card
> 
> Ethernet:
>  * dTSEC1: connected to the Vitesse SGMII PHY (VSC8221)
>  * dTSEC2: connected to the Vitesse SGMII PHY (VSC8221)
>  * dTSEC3: connected to the Vitesse SGMII PHY (VSC8221)
>  * dTSEC4: connected to the Vitesse RGMII PHY (VSC8641)
>  * dTSEC5: connected to the Vitesse RGMII PHY (VSC8641)
> 
> PCIe:
>  * Lanes E, F, G and H of Bank1 are connected to one x4 PCIe SLOT1
>  * Lanes C and Land D of Bank2 are connected to one x4 PCIe SLOT2
> 
> SATA: Lanes C and Land D of Bank2 are connected to two SATA connectors
> 
> USB 2.0: connected via a internal UTMI PHY to two TYPE-A interfaces
> 
> I2C:
>  * I2C1: Real time clock, Temperature sensor, Memory module
>  * I2C2: Vcore Regulator, 256Kbit I2C Bus EEPROM, PCIe slot1/2
> 
> UART: supports two UARTs up to 115200 bps for console
> 
> Signed-off-by: Mingkai Hu <Mingkai.hu at freescale.com>
> ---
> Based on http://git.denx.de/?p=u-boot/u-boot-mpc85xx.git;a=shortlog;h=refs/heads/next
> 
>  board/freescale/p2040rdb/Makefile   |   56 ++++
>  board/freescale/p2040rdb/cpld.c     |  171 ++++++++++
>  board/freescale/p2040rdb/cpld.h     |   53 +++
>  board/freescale/p2040rdb/ddr.c      |  115 +++++++
>  board/freescale/p2040rdb/law.c      |   37 ++
>  board/freescale/p2040rdb/p2040rdb.c |  204 ++++++++++++
>  board/freescale/p2040rdb/pci.c      |   39 +++
>  board/freescale/p2040rdb/tlb.c      |  119 +++++++
>  boards.cfg                          |    3 +
>  doc/README.p2040rdb                 |  123 +++++++
>  include/configs/P2040RDB.h          |  617 +++++++++++++++++++++++++++++++++++
>  11 files changed, 1537 insertions(+), 0 deletions(-)
>  create mode 100644 board/freescale/p2040rdb/Makefile
>  create mode 100644 board/freescale/p2040rdb/cpld.c
>  create mode 100644 board/freescale/p2040rdb/cpld.h
>  create mode 100644 board/freescale/p2040rdb/ddr.c
>  create mode 100644 board/freescale/p2040rdb/law.c
>  create mode 100644 board/freescale/p2040rdb/p2040rdb.c
>  create mode 100644 board/freescale/p2040rdb/pci.c
>  create mode 100644 board/freescale/p2040rdb/tlb.c
>  create mode 100644 doc/README.p2040rdb
>  create mode 100644 include/configs/P2040RDB.h

Checkpatch says:

total: 3 errors, 31 warnings, 1543 lines checked

Please clean up and resubmit.  Thanks.

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
Die meisten Menschen pflegen im Kindesalter vom Zeigen auf Gegenstän-
de (Mausbewegung) und "ga" sagen  (Mausklick)  abzukommen,  zugunsten
eines  mächtigeren  und langwierig zu erlernenden Tools (Sprache).
                             -- Achim Linder in de.comp.os.linux.misc


More information about the U-Boot mailing list