summaryrefslogtreecommitdiff
path: root/cesar/tools/sniffer_phy
diff options
context:
space:
mode:
authorCyril Jourdan2012-11-16 11:54:59 +0100
committerCyril Jourdan2012-11-29 17:23:28 +0100
commitb2627f5d1fea6f06b03de9c22f1831ac6b9223eb (patch)
tree72415fca36cc3549b32cc3d6c342cd5bdf281029 /cesar/tools/sniffer_phy
parenta35983d59add383e7c6a3aed75c370a028208889 (diff)
cesar/tools/sniffer_phy: implement boot params, refs #3459
Diffstat (limited to 'cesar/tools/sniffer_phy')
-rw-r--r--cesar/tools/sniffer_phy/Makefile2
-rw-r--r--cesar/tools/sniffer_phy/src/sniffer_phy.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/cesar/tools/sniffer_phy/Makefile b/cesar/tools/sniffer_phy/Makefile
index 4466eff0d4..dab75ba5c6 100644
--- a/cesar/tools/sniffer_phy/Makefile
+++ b/cesar/tools/sniffer_phy/Makefile
@@ -12,7 +12,7 @@ test_mme_MODULES = lib
TARGET_PROGRAMS = sniffer_phy
sniffer_phy_SOURCES = sniffer_phy.c lhle.c lowlevel.c mme.c
sniffer_phy_MODULES = lib hal/phy mac/common hal/ipmbox hal/arch \
- hle/tools common/defs/mmtypes
+ hle/tools common/defs/mmtypes hal/boot_params hal/clk hal/mem
mac_common_MODULES_SOURCES = tonemask.c
include $(BASE)/common/make/top.mk
diff --git a/cesar/tools/sniffer_phy/src/sniffer_phy.c b/cesar/tools/sniffer_phy/src/sniffer_phy.c
index da1c9b390a..856a47405b 100644
--- a/cesar/tools/sniffer_phy/src/sniffer_phy.c
+++ b/cesar/tools/sniffer_phy/src/sniffer_phy.c
@@ -14,6 +14,7 @@
#include "lib/trace.h"
#include "hal/arch/arch.h"
+#include "hal/boot_params/boot_params.h"
#include "inc/context.h"
@@ -36,6 +37,7 @@ sniffer_phy_init (sniffer_phy_t *ctx)
void
cyg_user_start (void)
{
+ boot_params_process ();
trace_init ();
sniffer_phy_init (&sniffer_phy_global);
}