[U-Boot] [PATCH v5 3/3] mpc85xx: support for Freescale COM Express P2020

Kumar Gala galak at kernel.crashing.org
Wed Nov 23 17:01:48 CET 2011


On Nov 21, 2011, at 3:20 PM, Ira W. Snyder wrote:

> This adds support for the Freescale COM Express P2020 board. This board
> is similar to the P1_P2_RDB, but has some extra (as well as missing)
> peripherals.
> 
> Unlike all other mpc85xx boards, it uses a watchdog timeout to reset.
> Using the HRESET_REQ register does not work.
> 
> This board has no NOR flash, and can only be booted via SD or SPI. This
> procedure is documented in Freescale Document Number AN3659 "Booting
> from On-Chip ROM (eSDHC or eSPI)." Some alternative documentation is
> provided in Freescale Document Number P2020RM "P2020 QorIQ Integrated
> Processor Reference Manual" (section 4.5).
> 
> Signed-off-by: Ira W. Snyder <iws at ovro.caltech.edu>
> ---
> 
> Changes v4 -> v5:
> - unchanged
> 
> Changes v3 -> v4:
> - address review comments (magic numbers, etc.)
> - boot via L2 SRAM
> - use SPD EEPROM to initialize DDR SDRAM
> 
> Changes v2 -> v3:
> - re-enable CCSR relocation
> 
> Changes v1 -> v2:
> - fix checkpatch warnings
> - remove all references to NAND
> - update to top of tree U-Boot
> - remove CCSR relocation
> 
> MAINTAINERS                           |    4 +
> arch/powerpc/include/asm/immap_85xx.h |    1 +
> board/freescale/p2020come/Makefile    |   46 +++
> board/freescale/p2020come/ddr.c       |   45 +++
> board/freescale/p2020come/law.c       |   39 +++
> board/freescale/p2020come/p2020come.c |  287 ++++++++++++++++
> board/freescale/p2020come/tlb.c       |   99 ++++++
> boards.cfg                            |    2 +
> include/configs/P2020COME.h           |  576 +++++++++++++++++++++++++++++++++
> 9 files changed, 1099 insertions(+), 0 deletions(-)
> create mode 100644 board/freescale/p2020come/Makefile
> create mode 100644 board/freescale/p2020come/ddr.c
> create mode 100644 board/freescale/p2020come/law.c
> create mode 100644 board/freescale/p2020come/p2020come.c
> create mode 100644 board/freescale/p2020come/tlb.c
> create mode 100644 include/configs/P2020COME.h

Some compiler warnings to deal with:

speed.c: In function 'get_sys_info':
speed.c:184:4: warning: implicit declaration of function 'get_board_ddr_clk'
speed.c: In function 'get_sys_info':
speed.c:184:4: warning: implicit declaration of function 'get_board_ddr_clk'

Do you want 'CONFIG_FSL_DDR_INTERACTIVE' turned on by default?

interactive.c: In function 'fsl_ddr_interactive':
interactive.c:1357:15: warning: variable 'len' set but not used [-Wunused-but-set-variable]

I'll look at this one.

- k


More information about the U-Boot mailing list