Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Beam Positoning Monitor - Software
Commits
11e805da
Commit
11e805da
authored
May 16, 2015
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/sm_io/modules/*: remove afc_diag SMIO from ML605 board compilation
parent
a5f0a528
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
24 deletions
+43
-24
afc_diag.mk
src/sm_io/modules/afc_diag/afc_diag.mk
+6
-0
sm_io_mod_dispatch.c
src/sm_io/modules/sm_io_mod_dispatch.c
+35
-19
sm_io_mod_dispatch.h
src/sm_io/modules/sm_io_mod_dispatch.h
+2
-5
No files found.
src/sm_io/modules/afc_diag/afc_diag.mk
View file @
11e805da
ifeq ($(BOARD),afcv3)
sm_io_afc_diag_DIR = $(SRC_DIR)/sm_io/modules/afc_diag
sm_io_afc_diag_OBJS = $(sm_io_afc_diag_DIR)/sm_io_afc_diag_core.o \
...
...
@@ -6,3 +7,8 @@ sm_io_afc_diag_OBJS = $(sm_io_afc_diag_DIR)/sm_io_afc_diag_core.o \
$(sm_io_afc_diag_DIR)/sm_io_afc_diag_defaults.o
sm_io_afc_diag_INCLUDE_DIRS = $(sm_io_afc_diag_DIR)
else
sm_io_afc_diag_DIR =
sm_io_afc_diag_OBJS =
sm_io_afc_diag_INCLUDE_DIRS =
endif
src/sm_io/modules/sm_io_mod_dispatch.c
View file @
11e805da
...
...
@@ -12,33 +12,49 @@
#include "sm_io_dsp_exp.h"
#include "sm_io_swap_exp.h"
#include "sm_io_rffe_exp.h"
#if defined (__BOARD_AFCV3__)
#include "sm_io_afc_diag_exp.h"
#endif
/* Table of all known modules we can handle */
const
smio_mod_dispatch_t
smio_mod_dispatch
[
MOD_DISPATCH_END
]
=
{
[
0
]
=
{
.
id
=
FMC130M_4CH_SDB_DEVID
,
.
name
=
FMC130M_4CH_SDB_NAME
,
.
bootstrap_ops
=
&
fmc130m_4ch_bootstrap_ops
const
smio_mod_dispatch_t
smio_mod_dispatch
[]
=
{
{
.
id
=
FMC130M_4CH_SDB_DEVID
,
.
name
=
FMC130M_4CH_SDB_NAME
,
.
bootstrap_ops
=
&
fmc130m_4ch_bootstrap_ops
},
{
.
id
=
ACQ_SDB_DEVID
,
.
name
=
ACQ_SDB_NAME
,
.
bootstrap_ops
=
&
acq_bootstrap_ops
},
[
1
]
=
{
.
id
=
ACQ_SDB_DEVID
,
.
name
=
ACQ_SDB_NAME
,
.
bootstrap_ops
=
&
acq_bootstrap_ops
{
.
id
=
DSP_SDB_DEVID
,
.
name
=
DSP_SDB_NAME
,
.
bootstrap_ops
=
&
dsp_bootstrap_ops
},
[
2
]
=
{
.
id
=
DSP_SDB_DEVID
,
.
name
=
DSP_SDB_NAME
,
.
bootstrap_ops
=
&
dsp_bootstrap_ops
{
.
id
=
SWAP_SDB_DEVID
,
.
name
=
SWAP_SDB_NAME
,
.
bootstrap_ops
=
&
swap_bootstrap_ops
},
[
3
]
=
{
.
id
=
SWAP_SDB_DEVID
,
.
name
=
SWAP_SDB_NAME
,
.
bootstrap_ops
=
&
swap_bootstrap_ops
{
.
id
=
RFFE_DEVID
,
/* No SDB as this is not an FPGA module */
.
name
=
RFFE_NAME
,
.
bootstrap_ops
=
&
rffe_bootstrap_ops
},
[
4
]
=
{
.
id
=
RFFE_DEVID
,
/* No SDB as this is not an FPGA module */
.
name
=
RFFE_NAME
,
.
bootstrap_ops
=
&
rffe_bootstrap_ops
#if defined (__BOARD_AFCV3__)
{
.
id
=
AFC_DIAG_DEVID
,
.
name
=
AFC_DIAG_NAME
,
.
bootstrap_ops
=
&
afc_diag_bootstrap_ops
},
[
5
]
=
{
.
id
=
AFC_DIAG_DEVID
,
.
name
=
AFC_DIAG_NAME
,
.
bootstrap_ops
=
&
afc_diag_bootstrap_ops
#endif
{
.
id
=
SMIO_DISPATCH_END_ID
,
.
name
=
"SMIO_DISPATCH_END"
,
.
bootstrap_ops
=
NULL
}
};
src/sm_io/modules/sm_io_mod_dispatch.h
View file @
11e805da
...
...
@@ -10,10 +10,7 @@
#include <inttypes.h>
/* #include "sm_io_bootstrap.h" */
/* Number of known specific modules that we can handle */
#define MOD_DISPATCH_END 6
#define SMIO_DISPATCH_END_ID 0xdeaddead
struct
_smio_bootstrap_ops_t
;
...
...
@@ -26,6 +23,6 @@ struct _smio_mod_dispatch_t {
typedef
struct
_smio_mod_dispatch_t
smio_mod_dispatch_t
;
extern
const
smio_mod_dispatch_t
smio_mod_dispatch
[
MOD_DISPATCH_END
];
smio_mod_dispatch
[
];
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment