]> git.dujemihanovic.xyz Git - u-boot.git/commit
stm32mp: dram_init: Fix AARCH64 compilation warnings
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 27 Oct 2023 14:42:58 +0000 (16:42 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 13 Nov 2023 09:55:38 +0000 (10:55 +0100)
commitee15c72da261b2d4b27ffcdccc2af8b2797c37fc
tree85393a75dc4086c8b7662902d2c21eeadbcbec1c
parentdba8d92a3da482f9e3d44181711ce4e08e2ac6b1
stm32mp: dram_init: Fix AARCH64 compilation warnings

When building with AARCH64 defconfig, we got warnings for debug
message
- format '%x' expects argument of type 'unsigned int',
   but argument 3 has type 'size_t' {aka 'long unsigned int'}).
- format '%lx' expects argument of type 'long unsigned int',
  but argument 2 has type 'phys_addr_t' {aka 'long long unsigned
  int'}

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/mach-stm32mp/dram_init.c