[U-Boot] [PATCH 7/9] board: keymile: add explicit cast to truncate the 64bit ram size field

Simon Glass sjg at chromium.org
Thu Aug 2 20:36:17 UTC 2018


On 26 July 2018 at 07:59, Philipp Tomsich
<philipp.tomsich at theobroma-systems.com> wrote:
> With the change to a 64bit ram size field for 32bit architectures, we need
> to add an explicit cast to truncate when converting to a pointer.
> This casts to 'void*' through 'uintptr_t'.
>
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> ---
>
>  board/keymile/km_arm/km_arm.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list