rockchip: rk3399: Get bl31.elf via BL31
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 20 Jun 2019 10:59:22 +0000 (16:29 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 26 Jun 2019 13:11:27 +0000 (21:11 +0800)
commit96070460c38cf8f606cb976c28c12664e98797f4
tree4be4726ed03bf56c71797a93d67ec63a85a8cae5
parentcca4f576d0ad1c2d5a309df2ad19116f89401a1c
rockchip: rk3399: Get bl31.elf via BL31

Right now rockchip platform need to copy bl31.elf into u-boot
source directory to make use of building u-boot.itb.

So, add environment variable BL31 like Allwinner SoC so-that the
bl31.elf would available via BL31.

If the builds are not exporting BL31 env, the make_fit_atf.py
explicitly create dummy bl31.elf in u-boot root directory to
satisfy travis builds and it will show the warning on console as

 WARNING: BL31 file bl31.elf NOT found, resulting binary is non-functional
 WARNING: Please read Building section in doc/README.rockchip

Note, that the dummy bl31 files were created during not exporting
BL31 case would be removed via clean target in Makefile.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Makefile
arch/arm/mach-rockchip/make_fit_atf.py
doc/README.rockchip