diff --git a/linux-ramdump-parser-v2/ramdump.py b/linux-ramdump-parser-v2/ramdump.py index afc974ca585b7180f3a2a83b6e24c6ed0e1faa33..adf24a286d2f2f4fcbe85fa51bed8b094b42ae54 100644 --- a/linux-ramdump-parser-v2/ramdump.py +++ b/linux-ramdump-parser-v2/ramdump.py @@ -1,4 +1,4 @@ -# Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. +# Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 and @@ -1227,7 +1227,7 @@ class RamDump(): if board.wdog_addr is not None: print_out_str( 'TZ address: {0:x}'.format(board.wdog_addr)) - if self.phys_offset is None: + if board.phys_offset is not None: self.phys_offset = board.phys_offset self.tz_addr = board.wdog_addr self.ebi_start = board.ram_start