aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic/armcm_boot.h
Commit message (Collapse)AuthorAgeFilesLines
* armcm_boot: Use armcm_main() instead of main() to start board codeKevin O'Connor2019-10-241-0/+2
| | | | | | | | | | The main() function has a special meaning to gcc and using it can result in different code generation. Use armcm_main() to avoid that. Also, invoke SystemInit() from the board specific armcm_main() code. This gives the board code more control over board initialization. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ctr: Add support for multiple integers in DECL_CTR_INTKevin O'Connor2019-08-221-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* armcm_boot: Add generic code for early board init on armcm machinesKevin O'Connor2019-08-221-0/+20
Add basic ARM Cortex-M C init code and build linker scripts to src/generic/ code. This can be used to simplify the various ARM board code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>