summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorLeo Yu-Chi Liang <[email protected]>2025-08-13 14:16:35 +0800
committerTom Rini <[email protected]>2025-08-21 10:02:45 -0600
commit18d0cee4e065a01fb3649cc6e1502254e68d50c6 (patch)
treeb9bd579a00ff177b6a2850885536c269b8b68aa3 /common
parente4507f4a0a7ac3b5346934df19c2daed626cc404 (diff)
common: spl: fix compilation warning
Explicitly specify the type by replacing macro with variable to fix the possible compilation warning. Signed-off-by: Leo Yu-Chi Liang <[email protected]>
Diffstat (limited to 'common')
-rw-r--r--common/spl/spl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c
index ed443c645a7..55ad497c86d 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -278,8 +278,8 @@ void spl_set_header_raw_uboot(struct spl_image_info *spl_image)
} else {
spl_image->entry_point = CONFIG_SYS_UBOOT_START;
spl_image->load_addr = CONFIG_TEXT_BASE;
- log_debug("Default load addr %x (u_boot_pos=%lx)\n",
- CONFIG_TEXT_BASE, u_boot_pos);
+ log_debug("Default load addr %lx (u_boot_pos=%lx)\n",
+ spl_image->load_addr, u_boot_pos);
}
spl_image->os = IH_OS_U_BOOT;
spl_image->name = xpl_name(xpl_next_phase());