]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - test/py/u_boot_utils.py
test/py: support 'memstart =' in u_boot_utils.find_ram_base()
[karo-tx-uboot.git] / test / py / u_boot_utils.py
index 6a6b2ec0e669f2f0bb9f375b5e73af13c0117e7b..e4765e38c1474bf5122423683d92f2cbfeb5b738 100644 (file)
@@ -201,7 +201,7 @@ def find_ram_base(u_boot_console):
     with u_boot_console.log.section('find_ram_base'):
         response = u_boot_console.run_command('bdinfo')
         for l in response.split('\n'):
-            if '-> start' in l:
+            if '-> start' in l or 'memstart    =' in l:
                 ram_base = int(l.split('=')[1].strip(), 16)
                 break
         if ram_base is None: