rockchip: Cleanup of make_fit_atf.py.
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>
Tue, 7 May 2019 09:11:01 +0000 (11:11 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 30 May 2019 10:22:35 +0000 (18:22 +0800)
commitb238e4b00ced8d2e46d860525cb908cd237c18d8
tree3c32296e42ab2c9a879d8b98b69cf6cd116af4db
parent24615436321894867cb7d4c0bd4e6b928150c112
rockchip: Cleanup of make_fit_atf.py.

This patch cleans up make_fit_atf.py in the following way:

* Fix all issues reported by pylint
* Move copyright notice from file-to-generate to script
* Fix of-by-one bugs in loadables property
* Remove commented-out (dead) code.

Besides the bugfix no intended changes.

Tested on RK3399-Q7 with TF-A v2.1 as BL31.

Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/make_fit_atf.py