From 474974b779af3a05d4f4bf5bc850264201bf5503 Mon Sep 17 00:00:00 2001 From: fef Date: Sun, 1 Aug 2021 17:19:53 +0200 Subject: [PATCH] startup: rename do_bootstrap to main --- arch/at91sam3x8e/startup.c | 2 +- init/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/at91sam3x8e/startup.c b/arch/at91sam3x8e/startup.c index da443c0..d978b25 100644 --- a/arch/at91sam3x8e/startup.c +++ b/arch/at91sam3x8e/startup.c @@ -25,7 +25,7 @@ extern uint32_t _sheap; /* heap start */ extern uint32_t _eheap; /* heap end */ /* implementation in init/main.c */ -void do_bootstrap(void); +void main(void); __naked void irq_reset(void) { diff --git a/init/main.c b/init/main.c index 8ef815a..a0c2ee5 100644 --- a/init/main.c +++ b/init/main.c @@ -25,7 +25,7 @@ * This is invoked from the startup code (usually) located in * arch//startup.c. */ -void do_bootstrap(void) +void main(void) { uint32_t count = 0; unsigned int print_count = 0;