mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-30 00:20:44 +09:00
SPL: Adjust more debug prints for ulong entry_point
With entry_point now being an unsigned long we need to adapt the last
two debug prints to use %lX not %X.
Fixes: 11e1479b9e
("SPL: make struct spl_image 64-bit safe")
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
c8ac644979
commit
4386feb73d
@ -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 image_entry =
|
||||||
(image_entry_noargs_t)(unsigned long)spl_image->entry_point;
|
(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,
|
/* 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 */
|
* we need to subtract the size of the CSF from the actual filesize */
|
||||||
|
@ -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.
|
* 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();
|
image_entry();
|
||||||
}
|
}
|
||||||
#endif /* ifdef CONFIG_SPL_FRAMEWORK */
|
#endif /* ifdef CONFIG_SPL_FRAMEWORK */
|
||||||
|
Loading…
Reference in New Issue
Block a user