summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip
diff options
context:
space:
mode:
authorAndy Yan <andy.yan@rock-chips.com>2019-07-04 17:44:40 +0800
committerKever Yang <kever.yang@rock-chips.com>2019-07-05 15:57:52 +0800
commit619f002db864ef8caa30863bde62df5c651a7312 (patch)
treedd3391d67e336f6f8b1a1d32e264de5b00d4c0ca /arch/arm/mach-rockchip
parentca4491f2d2af93d8b77c48c5d272d88094fc06eb (diff)
rockchip: make_fit_atf.py: fix loadables property set error
Commit b238e4b00ced ("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>
Diffstat (limited to 'arch/arm/mach-rockchip')
-rwxr-xr-xarch/arm/mach-rockchip/make_fit_atf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/make_fit_atf.py b/arch/arm/mach-rockchip/make_fit_atf.py
index 45ec105887..db0ae96ca8 100755
--- a/arch/arm/mach-rockchip/make_fit_atf.py
+++ b/arch/arm/mach-rockchip/make_fit_atf.py
@@ -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: