]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
MIPS: use asm.h macros in mips32 start.S
authorPaul Burton <paul.burton@imgtec.com>
Thu, 29 Jan 2015 10:04:08 +0000 (10:04 +0000)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 30 Jan 2015 13:19:57 +0000 (14:19 +0100)
commita39b1cb7f0ff6be3f39c25b9ec625de2a352da9e
treebd4afabc6c78cbac4c1b433816642e892d503431
parentd4d774e00e7232b524ddb20d992c5b12d84e3ef2
MIPS: use asm.h macros in mips32 start.S

Where the mips32 & mips64 implementations of start.S differ in terms of
access sizes & offsets, use the appropriate macros from asm.h to
abstract those differences away. This is in preparation for sharing a
single copy of start.S between mips32 & mips64.

The exception to this is loads of immediates to be written to the cop0
Config register, which is a 32bit register on mips64 and therefore
constants written to it can be loaded as such.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/cpu/mips32/start.S