From e2306ada3ee62a9dcf82c072477d9eeeb8bbede3 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 15 Jan 2016 15:31:13 +0100 Subject: Convert users of PRINTF_CONVERSION_RESOURCE to %pa printf now supports printing resource_size_t directly, convert all users of the previously used PRINTF_CONVERSION_RESOURCE over to %pa. Signed-off-by: Sascha Hauer --- common/bootm.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'common/bootm.c') diff --git a/common/bootm.c b/common/bootm.c index 08125e7bb0..ec6e899bb3 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -326,9 +326,9 @@ static int bootm_open_oftree(struct image_data *data) static void bootm_print_info(struct image_data *data) { if (data->os_res) - printf("OS image is at " PRINTF_CONVERSION_RESOURCE "-" PRINTF_CONVERSION_RESOURCE "\n", - data->os_res->start, - data->os_res->end); + printf("OS image is at %pa-%pa\n", + &data->os_res->start, + &data->os_res->end); else printf("OS image not yet relocated\n"); @@ -343,9 +343,9 @@ static void bootm_print_info(struct image_data *data) printf(", multifile image %d", data->initrd_num); printf("\n"); if (data->initrd_res) - printf("initrd is at " PRINTF_CONVERSION_RESOURCE "-" PRINTF_CONVERSION_RESOURCE "\n", - data->initrd_res->start, - data->initrd_res->end); + printf("initrd is at %pa-%pa\n", + &data->initrd_res->start, + &data->initrd_res->end); else printf("initrd image not yet relocated\n"); } -- cgit v1.2.3