]> git.dujemihanovic.xyz Git - u-boot.git/commit
MIPS: do not initialize timestamp variable before relocate_code
authorZhi-zhou Zhang <zhizhou.zh@gmail.com>
Sat, 24 Nov 2012 05:07:13 +0000 (05:07 +0000)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sun, 25 Nov 2012 20:50:43 +0000 (21:50 +0100)
commit8ab36d2e5490ea7bd5a39fd65210533a6c478e28
treeddf367ef00dac396c96c8ae44337aa2df833b837
parent178d0cc1a4c73c3341afbeb2a93b172de8c96bd1
MIPS: do not initialize timestamp variable before relocate_code

Because timestamp is declared as `static', we needn't initialize
it by writing it a zero. If we do it before relocate_code, we
will write into a flash address(0xffffffffbfc0xxxx).

Signed-off-by: Zhi-zhou Zhang <zhizhou.zh@gmail.com>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/cpu/mips32/time.c
arch/mips/cpu/mips64/time.c