u-boot/arch
Marek Vasut 8b82cefbfc 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>
2012-08-17 20:13:48 +02:00
..
arm global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
avr32 global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
blackfin global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
m68k global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
microblaze global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
mips dm: mips: Fix lb60 timer code 2012-08-17 20:13:48 +02:00
nds32 nds32: fix unused pmu_init warning 2012-08-11 00:43:28 +08:00
nios2 global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
openrisc openrisc: Work around potential relocation issues 2012-08-09 23:37:45 +02:00
powerpc powerpc: Fix declaration type for I/O functions 2012-08-09 22:24:31 +02:00
sandbox global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
sh global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
sparc global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
x86 global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00