imx: parse-container: fix build warning
authorPeng Fan <peng.fan@nxp.com>
Thu, 15 Jun 2023 10:09:06 +0000 (18:09 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 13 Jul 2023 09:29:40 +0000 (11:29 +0200)
commit914ede697876295e5554133e74e03d68e11ed7c9
treecc4cbd804193e4477173372845e6b37c39a8294a
parentd3ee9dbd5984321d4a2932e19a59f455d8d90817
imx: parse-container: fix build warning

Fix build warning:
warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3
has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=]
         printf("can't find memreg for image %d load address 0x%x, error %d\n",
warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but
argument 3 has type ‘sc_faddr_t’ {aka ‘long long unsigned int’} [-Wformat=]
          debug("memreg %u 0x%lx -- 0x%lx\n", mr, start, end);

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/parse-container.c