This series includes all the needed patches to run u-boot on Keymile's kmp204x reference design.
The kmp204x is a reference design based on Freescale's P2040/P2041 SoC. It is supposed to be a reference platform for future boards. There is currently only one board that is based on this design which is called kmlion1. The first 10 patches of the series are small changes to the generic Keymile board support code as well as minor changes to some Freescale drivers and CPU support. The final patch 11 is where the new kmp204x code is introduced. It is mostly based on the existing P2041rdb code by Freescale which was adapted to our design. Changes in v2: - Introduce CONFIG_KM_I2C_ABORT #define to avoid #if !defined in common.c - add CONFIG_KM_COMMON_ETH_INIT for the km board that need the common.c board_eth_init - when refresh rate gets halved for extended range temperature operations, the srt bit in the mode register 2 is set. - Remove patch "5/8 fsl: do not define FSL_SRIO_PCIE_BOOT_MASTER for all P2041 systems" from the series as it is not needed with current u-boot. - fix the defines used in kmp204x/law.c for the lbus local address windows. - fix the header files to include Freescale's copyrights - integrate Scott's feedback Valentin Longchamp (11): km-powerpc: move SYS_MALLOC_LEN out of keymile-common.h km-powerpc: move CONFIG_FLASH_CFI_MTD to km83xx-common.h KM: fix typo in default environment KM: add CONFIG_KM_I2C_ABORT option km: add CONFIG_KM_COMMON_ETH_INIT for km common eth init mpc8xxx: set x2 DDR3 refresh rate if SPD config requires it net/fman: add a fm_enable_port function mtd/fsl_elbc: take NAND_ECC_SOFT_BCH config option into account fsl/mpc85xx: introduce fsl_print_rcw function fsl/mpc85xx: define common serdes_clock_to_string function mpc85xx: introduce the kmp204x reference design support MAINTAINERS | 1 + arch/powerpc/cpu/mpc85xx/Makefile | 1 + arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c | 21 + arch/powerpc/cpu/mpc85xx/fsl_corenet_rcw.c | 43 ++ arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c | 17 + .../powerpc/cpu/mpc8xxx/ddr/common_timing_params.h | 1 + arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c | 7 +- arch/powerpc/cpu/mpc8xxx/ddr/ddr3_dimm_params.c | 4 + .../cpu/mpc8xxx/ddr/lc_common_dimm_params.c | 5 + arch/powerpc/include/asm/fsl_ddr_dimm_params.h | 1 + arch/powerpc/include/asm/fsl_rcw.h | 19 + arch/powerpc/include/asm/fsl_serdes.h | 1 + board/freescale/b4860qds/b4860qds.c | 29 +- board/freescale/corenet_ds/corenet_ds.c | 38 +- board/freescale/p2041rdb/p2041rdb.c | 14 - board/freescale/t4qds/t4qds.c | 28 +- board/keymile/common/common.c | 8 +- board/keymile/kmp204x/Makefile | 48 +++ board/keymile/kmp204x/ddr.c | 80 ++++ board/keymile/kmp204x/eth.c | 87 ++++ board/keymile/kmp204x/kmp204x.c | 285 +++++++++++++ board/keymile/kmp204x/kmp204x.h | 31 ++ board/keymile/kmp204x/law.c | 56 +++ board/keymile/kmp204x/pbi.cfg | 51 +++ board/keymile/kmp204x/pci.c | 51 +++ board/keymile/kmp204x/rcw_kmp204x.cfg | 11 + board/keymile/kmp204x/tlb.c | 126 ++++++ boards.cfg | 1 + drivers/mtd/nand/fsl_elbc_nand.c | 6 +- drivers/net/fm/init.c | 7 + include/configs/km/keymile-common.h | 4 +- include/configs/km/km-powerpc.h | 4 +- include/configs/km/km83xx-common.h | 4 + include/configs/km/km_arm.h | 2 + include/configs/km/kmp204x-common.h | 462 +++++++++++++++++++++ include/configs/km82xx.h | 2 + include/configs/kmp204x.h | 84 ++++ include/fm_eth.h | 1 + 38 files changed, 1534 insertions(+), 107 deletions(-) create mode 100644 arch/powerpc/cpu/mpc85xx/fsl_corenet_rcw.c create mode 100644 arch/powerpc/include/asm/fsl_rcw.h create mode 100644 board/keymile/kmp204x/Makefile create mode 100644 board/keymile/kmp204x/ddr.c create mode 100644 board/keymile/kmp204x/eth.c create mode 100644 board/keymile/kmp204x/kmp204x.c create mode 100644 board/keymile/kmp204x/kmp204x.h create mode 100644 board/keymile/kmp204x/law.c create mode 100644 board/keymile/kmp204x/pbi.cfg create mode 100644 board/keymile/kmp204x/pci.c create mode 100644 board/keymile/kmp204x/rcw_kmp204x.cfg create mode 100644 board/keymile/kmp204x/tlb.c create mode 100644 include/configs/km/kmp204x-common.h create mode 100644 include/configs/kmp204x.h -- 1.8.0.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot