arm: spear: Use PUSH/POP mnemonics when relevant
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 7 May 2019 12:18:49 +0000 (14:18 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 11 Jul 2019 14:05:15 +0000 (10:05 -0400)
commitf30765b74896bcd604decc46e341035f7f3b4961
tree24350538a191af1cb4a64bf77fa06d2df9e61ade
parent76bdaaa196be0c45c7933127fb33c8f9c23f541d
arm: spear: Use PUSH/POP mnemonics when relevant

Quoting ARM "RealView Compilation Tools Assembler Guide v4.0":

        PUSH and POP are synonyms for STMDB and LDM (or LDMIA), with
        the base register sp (r13), and the adjusted address written
        back to the base register.
PUSH and POP are the preferred mnemonic in these cases.

Let's follow this recommandation to ease the reading and substitute
LDMIA/STMDB operations with PUSH/POP mnemonics.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/cpu/arm926ejs/spear/start.S