summaryrefslogtreecommitdiff
path: root/cesar/station
diff options
context:
space:
mode:
authorYacine Belkadi2011-10-03 18:15:44 +0200
committerYacine Belkadi2011-11-02 14:55:27 +0100
commit3b4c0f893febd0e0d38e681d945b15e619486ebc (patch)
tree4686e54f1f560cf85755440f90bcd0a4927f305a /cesar/station
parent2391d78761032349b1ca69275fe4b362fd37fe09 (diff)
cesar/station: process boot parameters on cesar_init(), refs #583
Diffstat (limited to 'cesar/station')
-rw-r--r--cesar/station/src/station.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cesar/station/src/station.c b/cesar/station/src/station.c
index 699ce01c53..bc1bd10f8f 100644
--- a/cesar/station/src/station.c
+++ b/cesar/station/src/station.c
@@ -24,6 +24,7 @@
# include "hal/leon/fatal_button.h"
#endif
+#include "hal/boot_params/boot_params.h"
#include "lib/seq_check.h"
#include "lib/init.h"
@@ -38,6 +39,11 @@ cesar_t *
cesar_init (void)
{
u32 seed = 0;
+
+ /* Process boot parameters.
+ * Must be called as early as possible in the init process. */
+ boot_params_process ();
+
trace_init ();
#if MODULE_INCLUDED (hal_leon) && CONFIG_LEON_FATAL_BUTTON