ARM: let armlinux_set_* depend on the correct option
We need inline versions of armlinux_set* exactly when CONFIG_ARM_LINUX is not set, because this is the symbol used to compile the non inline versions. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
97ba7671fe
commit
b0927fc95c
|
@ -3,8 +3,7 @@
|
|||
|
||||
#include <asm/memory.h>
|
||||
|
||||
#if defined CONFIG_CMD_BOOTM || defined CONFIG_CMD_BOOTZ || \
|
||||
defined CONFIG_CMD_BOOTU
|
||||
#if defined CONFIG_ARM_LINUX
|
||||
void armlinux_set_bootparams(void *params);
|
||||
void armlinux_set_architecture(int architecture);
|
||||
void armlinux_set_revision(unsigned int);
|
||||
|
|
Loading…
Reference in New Issue