[U-Boot] [PATCH 2/2] mpc85xx: Add support for the Varisys Cyrus board

York Sun yorksun at freescale.com
Fri Oct 30 18:10:22 CET 2015



On 10/21/2015 04:59 PM, Andy Fleming wrote:
> This board runs a P5020 or P5040 chip, and utilizes
> an EEPROM with similar formatting to the Freescale P5020DS.
> 
> Large amounts of this code were developed by
> Adrian Cox <adrian at humboldt dot co dot uk>
> 
> Signed-off-by: Andy Fleming <afleming at gmail.com>
> ---
>  arch/powerpc/cpu/mpc85xx/Kconfig     |   4 +
>  board/varisys/common/Makefile        |  23 ++
>  board/varisys/common/eeprom.h        |   6 +
>  board/varisys/common/sys_eeprom.c    | 605 +++++++++++++++++++++++++++++++++++
>  board/varisys/cyrus/Kconfig          |  13 +
>  board/varisys/cyrus/Makefile         |   8 +
>  board/varisys/cyrus/README           |  21 ++
>  board/varisys/cyrus/cyrus.c          | 116 +++++++
>  board/varisys/cyrus/cyrus.h          |  11 +
>  board/varisys/cyrus/ddr.c            | 188 +++++++++++
>  board/varisys/cyrus/eth.c            | 100 ++++++
>  board/varisys/cyrus/law.c            |  27 ++
>  board/varisys/cyrus/pbi.cfg          |  35 ++
>  board/varisys/cyrus/pci.c            |  23 ++
>  board/varisys/cyrus/rcw_p5020_v2.cfg |  11 +
>  board/varisys/cyrus/rcw_p5040.cfg    |  11 +
>  board/varisys/cyrus/tlb.c            | 106 ++++++
>  configs/Cyrus_P5020_defconfig        |   9 +
>  configs/Cyrus_P5040_defconfig        |   9 +
>  include/configs/cyrus.h              | 590 ++++++++++++++++++++++++++++++++++
>  20 files changed, 1916 insertions(+)
>  create mode 100644 board/varisys/common/Makefile
>  create mode 100644 board/varisys/common/eeprom.h
>  create mode 100644 board/varisys/common/sys_eeprom.c
>  create mode 100644 board/varisys/cyrus/Kconfig
>  create mode 100644 board/varisys/cyrus/Makefile
>  create mode 100644 board/varisys/cyrus/README
>  create mode 100644 board/varisys/cyrus/cyrus.c
>  create mode 100644 board/varisys/cyrus/cyrus.h
>  create mode 100644 board/varisys/cyrus/ddr.c
>  create mode 100644 board/varisys/cyrus/eth.c
>  create mode 100644 board/varisys/cyrus/law.c
>  create mode 100644 board/varisys/cyrus/pbi.cfg
>  create mode 100644 board/varisys/cyrus/pci.c
>  create mode 100644 board/varisys/cyrus/rcw_p5020_v2.cfg
>  create mode 100644 board/varisys/cyrus/rcw_p5040.cfg
>  create mode 100644 board/varisys/cyrus/tlb.c
>  create mode 100644 configs/Cyrus_P5020_defconfig
>  create mode 100644 configs/Cyrus_P5040_defconfig
>  create mode 100644 include/configs/cyrus.h
> 

Andy,

I presume you have examined the difference between
board/varisys/common/sys_eeprom.c and the original file
board/freescale/common/sys_eeprom.c. Is it possible to reuse the existing file?
This is a 600+ lines copy-n-paste.

York


More information about the U-Boot mailing list