[U-Boot] [U-Boot-DM] [PATCH 3/3] dm: mips: Fix warnings in lb60 board
Xiangfu Liu
xiangfu at openmobilefree.net
Mon Aug 20 07:37:35 CEST 2012
Thanks Marek Vasu, Daniel Schwierzeck,
Xiangfu
On 08/20/2012 02:19 AM, Daniel Schwierzeck wrote:
> 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
>
More information about the U-Boot
mailing list