diff options
author | Marek Vasut <marex@denx.de> | 2012-08-12 16:53:35 +0200 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2012-08-17 20:13:48 +0200 |
commit | 8b82cefbfc88d12cdffa0970f03047b74d08487e (patch) | |
tree | 09e1a9de39a7764b97cf02eaf92effa0383e7685 /MAINTAINERS | |
parent | 36d0a42b682e4d8493e8c080425bc9fb6f188cd2 (diff) | |
download | u-boot-imx-8b82cefbfc88d12cdffa0970f03047b74d08487e.zip u-boot-imx-8b82cefbfc88d12cdffa0970f03047b74d08487e.tar.gz u-boot-imx-8b82cefbfc88d12cdffa0970f03047b74d08487e.tar.bz2 |
dm: mips: Fix lb60 timer code
The timer code contains more halfword writes which trigger gcc errors.
The registers are again 32bit, yet written by 16bit writes, fix this:
timer.c: In function ‘reset_timer_masked’:
timer.c:37:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
timer.c: In function ‘get_timer_masked’:
timer.c:43:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
timer.c: In function ‘timer_init’:
timer.c:86:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
timer.c:88:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
timer.c:89:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
timer.c:90:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Daniel <zpxu@ingenic.cn>
Cc: Shinya Kuribayashi <skuribay@pobox.com>
Cc: Xiangfu Liu <xiangfu@openmobilefree.net>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions