mvebu: make the compiler inline mvebu_remap_registers
Without that gcc 7.3.1 (from OSELAS.Toolchain-2018.02.0) makes
mvebu_remap_registers a standalone function which in its prolog saves
two registers to the stack. However this function is called early during
startup when there is no stack available yet and sp still points into
the nirvana which makes barebox crash.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 2ee5b0a commit 62260d6b6df4f4e36955279e1891e3e5a2fd8414
@Uwe Kleine-König Uwe Kleine-König authored on 5 Jun 2019
Sascha Hauer committed on 7 Jun 2019
Showing 1 changed file
View
arch/arm/mach-mvebu/common.c