[U-Boot] [PATCH 19/82] video: Use ulong for video frame buffer address

Bin Meng bmeng.cn at gmail.com
Tue Oct 11 05:16:10 CEST 2016


On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass <sjg at chromium.org> wrote:
> Change this type from int to ulong to avoid warnings on 64-bit machines.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  include/video_fb.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/video_fb.h b/include/video_fb.h
> index b008853..4a4fd5f 100644
> --- a/include/video_fb.h
> +++ b/include/video_fb.h
> @@ -38,7 +38,7 @@ typedef struct graphic_device {
>      unsigned int dprBase;
>      unsigned int vprBase;
>      unsigned int cprBase;
> -    unsigned int frameAdrs;
> +    unsigned long frameAdrs;
>      unsigned int memSize;
>      unsigned int mode;
>      unsigned int gdfIndex;
> --

I suspect this patch is not needed after this series:
http://lists.denx.de/pipermail/u-boot/2016-October/269561.html

Regards,
Bin


More information about the U-Boot mailing list