summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/phytec-phycard-imx27/lowlevel.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-02-18 12:32:44 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-02-19 08:37:24 +0100
commitbd3a4c798dca7fd46aed18558f3c91ac5d255431 (patch)
tree4a83edbc7ead9ac9ae2dd0427cce4a7f28f95e9d /arch/arm/boards/phytec-phycard-imx27/lowlevel.c
parent1d12fce2686e96aa83a7f4851af29ae839a1b82f (diff)
downloadbarebox-bd3a4c798dca7fd46aed18558f3c91ac5d255431.tar.gz
barebox-bd3a4c798dca7fd46aed18558f3c91ac5d255431.tar.xz
ARM: i.MX Phytec phycard i.MX27: replace __naked with noinline
phytec_phycard_imx27_common_init() doesn't need to be __naked, because the stack has already been setup. What we want to have though is the noinline attribute to make sure phytec_phycard_imx27_common_init() is indeed a separate function which is called with initialized stack. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/phytec-phycard-imx27/lowlevel.c')
-rw-r--r--arch/arm/boards/phytec-phycard-imx27/lowlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/phytec-phycard-imx27/lowlevel.c b/arch/arm/boards/phytec-phycard-imx27/lowlevel.c
index ded85ee80f..894f560fa8 100644
--- a/arch/arm/boards/phytec-phycard-imx27/lowlevel.c
+++ b/arch/arm/boards/phytec-phycard-imx27/lowlevel.c
@@ -79,7 +79,7 @@ static void sdram_init(int sdram)
extern char __dtb_imx27_phytec_phycard_s_rdk_bb_start[];
-static void __bare_init __naked phytec_phycard_imx27_common_init(int sdram)
+static noinline void __bare_init phytec_phycard_imx27_common_init(int sdram)
{
void *fdt;
unsigned long r;