]> git.baikalelectronics.ru Git - uboot.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)
commit172c917c283b38595dd8b085e45a1a114808bef0
tree8d0072f93611aac314bf5dea3dc452de96ca8a91
parent11aeb17ea9f1bf7d0d7a912b5da1805eeed74608
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