From: Christian Lamparter Date: Sun, 27 Mar 2011 20:44:59 +0000 (+0200) Subject: carl9170 firmware: put _start into the .boot section X-Git-Tag: 1.9.4~21 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=f47f2e5344e6a07531825af13337aee8fdd45c68;p=carl9170fw.git carl9170 firmware: put _start into the .boot section Without this change, the _start entry is not placed at the correct position and as a result the firmware boot fails. Signed-off-by: Christian Lamparter --- diff --git a/carlfw/src/main.c b/carlfw/src/main.c index 475308b..574154b 100644 --- a/carlfw/src/main.c +++ b/carlfw/src/main.c @@ -176,7 +176,7 @@ static void __noreturn main_loop(void) * we put _start() there with the linker script carl9170.lds. */ -void start(void) +void __section(boot) start(void) { clock_set(AHB_40MHZ_OSC, true);