]> git.dujemihanovic.xyz Git - u-boot.git/commit
mpc83xx: Replace ppcDWstore with inline assembly
authorMario Six <mario.six@gdsys.cc>
Mon, 21 Jan 2019 08:18:20 +0000 (09:18 +0100)
committerMario Six <mario.six@gdsys.cc>
Tue, 21 May 2019 05:52:34 +0000 (07:52 +0200)
commit1e718f43de1bee73fe727597101865f81ff873f5
tree8d0072f93611aac314bf5dea3dc452de96ca8a91
parent8835836ae74d1b340f079ce49c3f1cc810452d0d
mpc83xx: Replace ppcDWstore with inline assembly

ppcDWstore/ppcDWload are hardly used by any board, but since they're
implemented in start.S, they're always present in every U-Boot image,
even if they're not needed.

Re-implement these fuctions in C with inline assembly, so that the
compiler can decide when to actually include them.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
arch/powerpc/cpu/mpc83xx/cpu.c
arch/powerpc/cpu/mpc83xx/start.S