firmware: move printing of welcome banner to common function print_banner()

This unifies the printing of the welcome banner, and it also ensures
that all modes print all information (serial number, reset cause).

Furthermore the APP and BOARD #defines from the make environment are
also printed.

Change-Id: I7e6bc05cee4b9ec0fd9a05dc90ce0b26a5763e5a
This commit is contained in:
Harald Welte committed 2020-01-11 17:52:36 +01:00
1 parent ce4b5c25e8
commit e3b2de45c4
6 files changed
+64 -60

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
#pragma once
void print_banner(void);