rockchip: add reset or power off gpio configuration for rk3399
authorCaesar Wang <wxt@rock-chips.com>
Wed, 25 May 2016 11:03:04 +0000 (19:03 +0800)
committerCaesar Wang <wxt@rock-chips.com>
Fri, 27 May 2016 01:39:56 +0000 (09:39 +0800)
commit68ff45f40ada5b571bb6b2e27e23f77526cb4014
tree4ea53bd5e459a85a1760464b006b76afec20a0c7
parent9901dcf6bb14813bf9ace57ffb51d62f37a1d2fb
rockchip: add reset or power off gpio configuration for rk3399

We add plat parameter structs to support BL2 to pass variable-length,
variable-type parameters to BL31. The parameters are structured as a
link list. During bl31 setup time, we travse the list to process each
parameter. throuth this way, we can get the reset or power off gpio
parameter, and do hardware control in BL31. This structure also can
pass other parameter to BL31 in future.
plat/rockchip/common/bl31_plat_setup.c
plat/rockchip/common/include/plat_params.h [new file with mode: 0644]
plat/rockchip/common/include/plat_private.h
plat/rockchip/common/params_setup.c [new file with mode: 0644]
plat/rockchip/rk3368/platform.mk
plat/rockchip/rk3399/platform.mk