diff options
author | Heiko Stuebner <heiko@sntech.de> | 2019-09-26 21:15:15 +0200 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-09-28 22:26:32 +0800 |
commit | d46b548290042a248216cbaed99964dc77a26bf4 (patch) | |
tree | 32b49b314ae62da28303f787219a476ff6193b5a /arch/arm/dts/rv1108-evb.dts | |
parent | 03f98b75e47ef9df890d92b4989fdd209ba55734 (diff) |
rockchip: make_fit_atf.py: fix .its generation for a single atf image
The commit 619f002db864 ("rockchip: make_fit_atf.py: fix loadables property
set error") fixed the double-loading of the primary atf-image, but didn't
take into account that there may be rare atf images with only that main
section present.
Right now this will result in a broken its due to the loadables section not
getting closed correctly, so fix that by adapting the guards around the loop.
The guards now protect against 0 segments when the bl31 binary doesn't
contain any section and 1 segment when only a core atf section is present.
Fixes: 619f002db864 ("rockchip: make_fit_atf.py: fix loadables property set error")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Kever Yang<kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm/dts/rv1108-evb.dts')
0 files changed, 0 insertions, 0 deletions