[U-Boot] [PATCH 00/10] For the RK3399-Q7, we have a few additional features in the SPL boot

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Mon Sep 11 11:59:00 UTC 2017


path that we'd like to see supported in the mainline:
- The override signal BIOS_DISABLE keeps the on-module SPI and eMMC
  powered-down (actually: in reset) to force booting from external
  sources.  Before proceeding with the SPL boot, we thus need to
  power the devices up (actually: release the reset) in software.
  This is done using the regulator framework and a fixed regulator.
- Depending on the boot-sources and system configuration, we may
  want to insert the device the SPL stage was booted from at the
  start of the boot order, for these we introduce the special device
  select 'same-as-spl' for the boot-order.

This series contains the following changes:
* moves board-specific functionality for the RK3399 SPL stage from the
  shared SPL board support file to individual ones for the EVB and Puma.
* enables the power-regulator framework of Puma
* adds fixed regulator support for powering up the eMMC and SPI flashes
* adds support for the 'same-as-spl' specifier for the boot order (incl.
  updating the documentation for this


Philipp Tomsich (10):
  rockchip: rk3399: make spl_board_init board-specific
  rockchip: bootrom: add definitions to retrieve BROM boot-source
  rockchip: spl: add documentation for spl_node_to_boot_device()
  rockchip: spl: support a 'same-as-spl'-specifier in the spl-boot-order
  rockchip: spl: rk3399: implement chip-specific
    board_spl_was_booted_from()
  rockchip: dts: rk3399-puma: add 'same-as-spl' to the front of the
    boot-order
  rockchip: puma-rk3399: update board_init()
  rockchip: rk3399-puma: add boot-on regulator to override BIOS_DISABLE
  power: spl: add SPL_DM_REGULATOR_FIXED in Kconfig
  rockchip: defconfig: puma-rk3399: update for DM_REGULATOR support in
    SPL

 arch/arm/dts/rk3399-puma.dtsi                     | 26 +++++++++-
 arch/arm/include/asm/arch-rockchip/bootrom.h      | 18 +++++++
 arch/arm/mach-rockchip/rk3399-board-spl.c         | 51 +++++++++-----------
 arch/arm/mach-rockchip/spl-boot-order.c           | 48 +++++++++++++++++-
 board/rockchip/evb_rk3399/evb-rk3399.c            | 32 +++++++++++-
 board/theobroma-systems/puma_rk3399/puma-rk3399.c | 59 +++++++++--------------
 configs/puma-rk3399_defconfig                     |  7 ++-
 doc/device-tree-bindings/chosen.txt               | 12 ++++-
 drivers/power/regulator/Kconfig                   |  7 +++
 9 files changed, 192 insertions(+), 68 deletions(-)

-- 
2.1.4



More information about the U-Boot mailing list