[U-Boot] [PATCH v4 00/27] TF-A Boot support for NXP Chassis 2 platforms

Rajesh Bhagat rajesh.bhagat at nxp.com
Fri Oct 12 14:44:27 UTC 2018


Includes changes in u-boot framework to support TF-A for NXP Chassis 2
platforms. A new defconfig is added namely ls*_tfa_defconfig which will
be used for all boot sources when TF-A is used.                                 
                                                                                
Tested on LS1043A, LS1046A and LS1012A platforms.

Changes in v4:
 - Changed order of patches to solve compilation issue and warning
 - Added support for additional ls1012a boards 

Changes in v3:
 - Changed order of TFABOOT dependent patches
 - Merged secureboot TFA boot support patches
 - Merged nand env patches to remove warning

Changes in v2:
 - Patch subject and description changes
 - Removed extra CONFIG_TFABOOT flag usage
 - Merged board specific TFA boot support patches                                
 - Checked compilation using buildman tool for each commit

Pankit Garg (5):
  armv8: fsl-layerscape: change tlb base from OCRAM to DDR in EL < 3
  drivers: ifc: dynamic chipselect mapping support
  armv8: fsl-layerscape: bootcmd identification for TFABOOT
  armv8: sec_firmware: return job ring status as true in TFABOOT
  armv8: fsl-layerscape: add support of MC framework for TFA

Rajesh Bhagat (19):
  env: allow flash and nand env driver to compile together
  env: sf: define API to override sf environment address
  driver/ifc: replace __ilog2 with LOG2 macro
  armv8: layerscape: Add TFABOOT support
  armv8: fsl-layerscape: identify boot source from PORSR register
  armv8: layerscape: remove EL3 specific erratas for TFABOOT
  armv8: layerscape: add SMC calls for DDR size and bank info
  armv8: layerscape: skip OCRAM init for TFABOOT
  armv8: sec_firmware: change el2_to_aarch32 SMC ID
  net: fm: add TFABOOT support
  drivers: qe: add TFABOOT support
  armv8: ls1046ardb: Add TFABOOT support
  armv8: ls1046aqds: Add TFABOOT support
  armv8: ls1043ardb: Add TFABOOT support
  armv8: ls1043aqds: Add TFABOOT support
  armv8: ls1012ardb: Add TFABOOT support
  armv8: ls1012aqds: fix secure boot compilation
  armv8: ls1012aqds: Add TFABOOT support
  armv8: ls1012afrx: Add TFABOOT support

York Sun (3):
  move data structure out of cpu.h
  armv8: layerscape: Enable routing SError exception
  armv8: fsl-layerscape: Update parsing boot source

 arch/arm/cpu/armv8/fsl-layerscape/Kconfig     |  31 +-
 arch/arm/cpu/armv8/fsl-layerscape/cpu.c       | 613 +++++++++++++++++-
 arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S  |  12 +-
 arch/arm/cpu/armv8/fsl-layerscape/soc.c       | 128 ++++
 arch/arm/cpu/armv8/sec_firmware.c             |   4 +
 arch/arm/cpu/armv8/sec_firmware_asm.S         |   2 +-
 .../arm/include/asm/arch-fsl-layerscape/cpu.h | 300 ---------
 .../asm/arch-fsl-layerscape/immap_lsch2.h     |  20 +
 .../asm/arch-fsl-layerscape/immap_lsch3.h     |  49 ++
 .../arm/include/asm/arch-fsl-layerscape/soc.h |  22 +
 board/freescale/ls1012afrdm/ls1012afrdm.c     |  29 +-
 board/freescale/ls1012aqds/Kconfig            |  10 +
 board/freescale/ls1012aqds/ls1012aqds.c       |  23 +-
 board/freescale/ls1012ardb/Kconfig            |   4 +
 board/freescale/ls1012ardb/ls1012ardb.c       |  16 +-
 board/freescale/ls1043aqds/ddr.c              |  11 +
 board/freescale/ls1043aqds/ls1043aqds.c       | 147 ++++-
 board/freescale/ls1043ardb/ddr.c              |  14 +
 board/freescale/ls1043ardb/ls1043ardb.c       | 110 ++++
 board/freescale/ls1046aqds/ddr.c              |  11 +
 board/freescale/ls1046aqds/ls1046aqds.c       | 148 ++++-
 board/freescale/ls1046ardb/ddr.c              |  12 +
 configs/ls1012a2g5rdb_tfa_defconfig           |  50 ++
 configs/ls1012afrdm_tfa_defconfig             |  50 ++
 configs/ls1012afrwy_tfa_defconfig             |  48 ++
 configs/ls1012aqds_tfa_SECURE_BOOT_defconfig  |  65 ++
 configs/ls1012aqds_tfa_defconfig              |  62 ++
 configs/ls1012ardb_tfa_SECURE_BOOT_defconfig  |  63 ++
 configs/ls1012ardb_tfa_defconfig              |  56 ++
 configs/ls1043aqds_tfa_SECURE_BOOT_defconfig  |  58 ++
 configs/ls1043aqds_tfa_defconfig              |  54 ++
 configs/ls1043ardb_tfa_SECURE_BOOT_defconfig  |  51 ++
 configs/ls1043ardb_tfa_defconfig              |  49 ++
 configs/ls1046aqds_tfa_SECURE_BOOT_defconfig  |  58 ++
 configs/ls1046aqds_tfa_defconfig              |  57 ++
 configs/ls1046ardb_tfa_SECURE_BOOT_defconfig  |  52 ++
 configs/ls1046ardb_tfa_defconfig              |  49 ++
 drivers/misc/fsl_ifc.c                        | 488 ++++++++++----
 drivers/net/fm/fm.c                           | 102 ++-
 drivers/qe/qe.c                               |  81 +++
 env/flash.c                                   |   4 +-
 env/nand.c                                    |   6 +-
 env/sf.c                                      |   9 +-
 include/configs/B4860QDS.h                    |   2 +-
 include/configs/T102xQDS.h                    |   2 +-
 include/configs/T1040QDS.h                    |   2 +-
 include/configs/T208xQDS.h                    |   2 +-
 include/configs/T4240QDS.h                    |   2 +-
 include/configs/T4240RDB.h                    |   2 +-
 include/configs/ls1012a2g5rdb.h               |   6 +
 include/configs/ls1012a_common.h              |  16 +-
 include/configs/ls1012afrdm.h                 |   5 +
 include/configs/ls1012afrwy.h                 |   6 +
 include/configs/ls1012aqds.h                  |   1 +
 include/configs/ls1012ardb.h                  |   6 +
 include/configs/ls1043a_common.h              |  27 +-
 include/configs/ls1043aqds.h                  |  50 +-
 include/configs/ls1043ardb.h                  |  29 +
 include/configs/ls1046a_common.h              |  12 +
 include/configs/ls1046aqds.h                  |  59 +-
 include/configs/ls1046ardb.h                  |  15 +
 include/environment.h                         |   1 -
 include/fsl_ifc.h                             |  27 +-
 63 files changed, 3012 insertions(+), 488 deletions(-)
 create mode 100644 configs/ls1012a2g5rdb_tfa_defconfig
 create mode 100644 configs/ls1012afrdm_tfa_defconfig
 create mode 100644 configs/ls1012afrwy_tfa_defconfig
 create mode 100644 configs/ls1012aqds_tfa_SECURE_BOOT_defconfig
 create mode 100644 configs/ls1012aqds_tfa_defconfig
 create mode 100644 configs/ls1012ardb_tfa_SECURE_BOOT_defconfig
 create mode 100644 configs/ls1012ardb_tfa_defconfig
 create mode 100644 configs/ls1043aqds_tfa_SECURE_BOOT_defconfig
 create mode 100644 configs/ls1043aqds_tfa_defconfig
 create mode 100644 configs/ls1043ardb_tfa_SECURE_BOOT_defconfig
 create mode 100644 configs/ls1043ardb_tfa_defconfig
 create mode 100644 configs/ls1046aqds_tfa_SECURE_BOOT_defconfig
 create mode 100644 configs/ls1046aqds_tfa_defconfig
 create mode 100644 configs/ls1046ardb_tfa_SECURE_BOOT_defconfig
 create mode 100644 configs/ls1046ardb_tfa_defconfig

-- 
2.17.1



More information about the U-Boot mailing list