summaryrefslogtreecommitdiff
path: root/common/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/system.c')
-rw-r--r--common/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/system.c b/common/system.c
index eed9e4204f..fbf5895492 100644
--- a/common/system.c
+++ b/common/system.c
@@ -812,7 +812,7 @@ void system_common_pre_init(void)
* Put the jump data before the panic data, or at the end of RAM if
* panic data is not present.
*/
- addr = (uintptr_t)panic_get_data();
+ addr = get_panic_data_start();
if (!addr)
addr = CONFIG_RAM_BASE + CONFIG_RAM_SIZE;