startup: rename do_bootstrap to main

This commit is contained in:
anna 2021-08-01 17:19:53 +02:00
parent 5fabe9db3f
commit 474974b779
Signed by: fef
GPG key ID: EC22E476DC2D3D84
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ extern uint32_t _sheap; /* heap start */
extern uint32_t _eheap; /* heap end */ extern uint32_t _eheap; /* heap end */
/* implementation in init/main.c */ /* implementation in init/main.c */
void do_bootstrap(void); void main(void);
__naked void irq_reset(void) __naked void irq_reset(void)
{ {

View file

@ -25,7 +25,7 @@
* This is invoked from the startup code (usually) located in * This is invoked from the startup code (usually) located in
* arch/<architecture>/startup.c. * arch/<architecture>/startup.c.
*/ */
void do_bootstrap(void) void main(void)
{ {
uint32_t count = 0; uint32_t count = 0;
unsigned int print_count = 0; unsigned int print_count = 0;