From f47f2e5344e6a07531825af13337aee8fdd45c68 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sun, 27 Mar 2011 22:44:59 +0200 Subject: [PATCH] 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 --- carlfw/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.31.1