* [U-Boot] [PATCH] SPL: Adjust more debug prints for ulong entry_point
@ 2017-01-11 15:47 Tom Rini
2017-01-11 16:28 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2017-01-11 15:47 UTC (permalink / raw)
To: u-boot
With entry_point now being an unsigned long we need to adapt the last
two debug prints to use %lX not %X.
Fixes: 11e1479b9e67 ("SPL: make struct spl_image 64-bit safe")
Signed-off-by: Tom Rini <trini@konsulko.com>
---
arch/arm/imx-common/spl.c | 2 +-
board/freescale/common/fsl_chain_of_trust.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/imx-common/spl.c b/arch/arm/imx-common/spl.c
index c86b6f83b85c..60c4adf23751 100644
--- a/arch/arm/imx-common/spl.c
+++ b/arch/arm/imx-common/spl.c
@@ -101,7 +101,7 @@ __weak void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image)
image_entry_noargs_t image_entry =
(image_entry_noargs_t)(unsigned long)spl_image->entry_point;
- debug("image entry point: 0x%X\n", spl_image->entry_point);
+ debug("image entry point: 0x%lX\n", spl_image->entry_point);
/* HAB looks for the CSF at the end of the authenticated data therefore,
* we need to subtract the size of the CSF from the actual filesize */
diff --git a/board/freescale/common/fsl_chain_of_trust.c b/board/freescale/common/fsl_chain_of_trust.c
index dea231b866fe..438e7819576f 100644
--- a/board/freescale/common/fsl_chain_of_trust.c
+++ b/board/freescale/common/fsl_chain_of_trust.c
@@ -151,7 +151,7 @@ void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image)
* may return back in case of non-fatal failures.
*/
- debug("image entry point: 0x%X\n", spl_image->entry_point);
+ debug("image entry point: 0x%lX\n", spl_image->entry_point);
image_entry();
}
#endif /* ifdef CONFIG_SPL_FRAMEWORK */
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] SPL: Adjust more debug prints for ulong entry_point
2017-01-11 15:47 [U-Boot] [PATCH] SPL: Adjust more debug prints for ulong entry_point Tom Rini
@ 2017-01-11 16:28 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2017-01-11 16:28 UTC (permalink / raw)
To: u-boot
On Wed, Jan 11, 2017 at 10:47:16AM -0500, Tom Rini wrote:
> With entry_point now being an unsigned long we need to adapt the last
> two debug prints to use %lX not %X.
>
> Fixes: 11e1479b9e67 ("SPL: make struct spl_image 64-bit safe")
> Signed-off-by: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170111/3172d487/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-11 16:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-11 15:47 [U-Boot] [PATCH] SPL: Adjust more debug prints for ulong entry_point Tom Rini
2017-01-11 16:28 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.