[U-Boot] [U-Boot-DM] [PATCH 3/3] dm: mips: Fix warnings in lb60 board

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Sun Aug 19 20:19:39 CEST 2012


2012/7/27 Marek Vasut <marex at denx.de>:
> The lb60 board accesses the clkgr register, which is 32bit via
> 16bit IO ops. This causes malfunction. Fix this.
>
> qi_lb60.c: In function ‘cpm_init’:
> qi_lb60.c:72:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
> qi_lb60.c:84:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Daniel <zpxu at ingenic.cn>
> Cc: Shinya Kuribayashi <skuribay at pobox.com>
> Cc: Xiangfu Liu <xiangfu at openmobilefree.net>
> ---
>  board/qi/qi_lb60/qi_lb60.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

applied to u-boot-mips/master, thanks

-- 
Best regards,
Daniel


More information about the U-Boot mailing list