]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: make_fit_atf.py: fix loadables property set error
authorAndy Yan <andy.yan@rock-chips.com>
Thu, 4 Jul 2019 09:44:40 +0000 (17:44 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 5 Jul 2019 07:57:52 +0000 (15:57 +0800)
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>
arch/arm/mach-rockchip/make_fit_atf.py

index 45ec105887ac9d98f0d6a78a8e262a4c99734a77..db0ae96ca84b81bf3a36fc0c8ce3ee6b42a9706f 100755 (executable)
@@ -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: