aboutsummaryrefslogtreecommitdiff
path: root/common/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/debug.c')
-rw-r--r--common/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/debug.c b/common/debug.c
index 7118733..ff9dc18 100644
--- a/common/debug.c
+++ b/common/debug.c
@@ -201,7 +201,7 @@ static struct dbg_info __dbg_from_fdt(const void *fdt)
/* get serial device address */
struct cell_info ci = get_reginfo(fdt, stdout);
void *reg_ptr = (void *)fdt_getprop(fdt, stdout_offset, "reg", NULL);
- pm_t dbg_ptr = (pm_t)fdt_load_int_ptr(ci.addr_cells, reg_ptr);
+ pm_t dbg_ptr = (pm_t)fdt_load_reg_addr(ci, reg_ptr, 0);
/* get serial device offset if present */
size_t shift = 0;