Commit c2fd12f2 authored by Federico Vaga's avatar Federico Vaga

sw:drv: fix capability mask

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent c82a4008
......@@ -64,6 +64,14 @@ enum spec_fpga_therm_offsets {
SPEC_FPGA_THERM_TEMP = SPEC_FPGA_MEM_THERM_START + 0x8,
};
enum spec_fpga_meta_cap_mask {
SPEC_META_CAP_VIC = BIT(0),
SPEC_META_CAP_THERM = BIT(1),
SPEC_META_CAP_SPI = BIT(2),
SPEC_META_CAP_WR = BIT(3),
};
static const struct debugfs_reg32 spec_fpga_debugfs_reg32[] = {
{
.name = "Application offset",
......
......@@ -73,11 +73,6 @@ enum {
#define SPEC_META_BOM_VER_MASK 0x0000FFFF
#define SPEC_META_VERSION_MASK 0xFFFF0000
#define SPEC_META_VERSION_1_4 0x01040000
#define SPEC_META_CAP_VIC BIT(0)
#define SPEC_META_CAP_THERM BIT(0)
#define SPEC_META_CAP_SPI BIT(0)
#define SPEC_META_CAP_DMA BIT(0)
#define SPEC_META_CAP_WR BIT(0)
/**
* struct spec_meta_id Metadata
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment