rockchip: make_fit_atf.py: fix loadables property set error

Commit b238e4b00c ("rockchip: Cleanup of make_fit_atf.py.") set
firmware = "atf_1";
loadables = "uboot","atf_1","atf_2";

Actually it should be:
firmware = "atf_1";
loadables = "uboot","atf_2","atf_3";

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
Andy Yan 2019-07-04 17:44:40 +08:00 committed by Kever Yang
parent ca4491f2d2
commit 619f002db8

View file

@ -94,7 +94,7 @@ def append_conf_section(file, cnt, dtname, segments):
if segments != 0:
file.write(',')
for i in range(1, segments):
file.write('"atf_%d"' % (i))
file.write('"atf_%d"' % (i + 1))
if i != (segments - 1):
file.write(',')
else: