[U-Boot] [PATCH v6 00/11] rockchip: add tpl and OPTEE support for rk3229

Kever Yang kever.yang at rock-chips.com
Tue Apr 2 12:41:18 UTC 2019


Add some generic options for TPL support for arm 32bit, and then
and TPL support for rk3229(cortex-A7), and then add OPTEE support
in SPL.

Version 5 rebase on master branch with 'SYS_SOC name correct' patch
set, remove the patches for OP-TEE which has been mergerd.

Version 6 fix travis build error cause by sysreset update.
https://travis-ci.org/keveryang/u-boot/builds/514475183

Changes in v6:
- update defconfig for stm32mp15_basic, am65x_evm_r5, mt7629_rfb,
  x86, sandbox... to enable SPL_SYSRESET.

Kever Yang (11):
  Revert "rockchip: rk322x: ram: enable DRAM init in SPL instead of TPL"
  arm: add option for TPL support in arm 32bit
  arm: add a separate stack for TPL
  rockchip: rk322x: add CLK_EMMC_SAMPLE clock support
  rockchip: clk: rk322x: fix assert clock value
  rockchip: rk322x: add tpl support
  sysreset: enable driver support in SPL/TPL
  rockchip: rk322x: dts: enable uart2 for SPL/TPL
  rockchip: evb-rk3229: remove unnecessary defines
  rockchip: evb-rk3229: add README file for OP-TEE support
  rockchip: evb-rk322x: update defconfig with tpl and optee support

 arch/Kconfig                              |  1 +
 arch/arm/Kconfig                          | 30 ++++++++++
 arch/arm/dts/rk3229-evb.dts               |  1 +
 arch/arm/lib/crt0.S                       |  4 +-
 arch/arm/mach-rockchip/Kconfig            | 26 ++++++++
 arch/arm/mach-rockchip/Makefile           |  3 +-
 arch/arm/mach-rockchip/rk322x-board-spl.c | 46 ++++++---------
 arch/arm/mach-rockchip/rk322x-board-tpl.c | 53 +++++++++++++++++
 arch/arm/mach-rockchip/u-boot-tpl.lds     | 12 ++++
 board/rockchip/evb_rk3229/README          | 72 +++++++++++++++++++++++
 configs/am65x_evm_a53_defconfig           |  1 +
 configs/am65x_evm_r5_defconfig            |  1 +
 configs/evb-rk3229_defconfig              | 25 ++++++--
 configs/mt7629_rfb_defconfig              |  1 +
 configs/sandbox_spl_defconfig             |  1 +
 drivers/clk/rockchip/clk_rk322x.c         |  6 +-
 drivers/ram/rockchip/sdram_rk322x.c       | 12 ++--
 drivers/sysreset/Kconfig                  | 18 ++++++
 drivers/sysreset/Makefile                 |  2 +-
 include/configs/evb_rk3229.h              | 44 +-------------
 include/configs/rk322x_common.h           | 10 ++--
 21 files changed, 278 insertions(+), 91 deletions(-)
 create mode 100644 arch/arm/mach-rockchip/rk322x-board-tpl.c
 create mode 100644 arch/arm/mach-rockchip/u-boot-tpl.lds
 create mode 100644 board/rockchip/evb_rk3229/README

-- 
2.20.1



More information about the U-Boot mailing list