projects
/
carl9170fw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad1ddae
)
carl9170 firmware: put _start into the .boot section
author
Christian Lamparter
<chunkeey@googlemail.com>
Sun, 27 Mar 2011 20:44:59 +0000
(22:44 +0200)
committer
Christian Lamparter
<chunkeey@googlemail.com>
Sun, 27 Mar 2011 20:48:17 +0000
(22:48 +0200)
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 <chunkeey@googlemail.com>
carlfw/src/main.c
patch
|
blob
|
history
diff --git
a/carlfw/src/main.c
b/carlfw/src/main.c
index 475308be145f7ec5f68a2615701a11a7cf941296..574154bafd1faaba526feb007e3f3bbd3009d764 100644
(file)
--- 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);