Skip to content

Commit 37013ad

Browse files
authored
library/spi_engine: fix PCORE_VERSION (#1637)
Commit 24f2454 ("SPI Engine: simplify interconnect (#1502)") bumped the patch version in the documentation but missed changing it in PCORE_VERSION which is the value used by the version register. It also made it so that the SYNC command is no longer required. This is actually a "feature" we want to test for. So that commit should have bumped the minor version instead of the patch version. Bump the version now so that we can test for this feature in the software driver. Signed-off-by: David Lechner <[email protected]>
1 parent a22fce4 commit 37013ad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/regmap/adi_regmap_spi_engine.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ RO
1919
ENDFIELD
2020

2121
FIELD
22-
[15:8] 0x00000004
22+
[15:8] 0x00000005
2323
VERSION_MINOR
2424
RO
2525
ENDFIELD
2626

2727
FIELD
28-
[7:0] 0x00000003
28+
[7:0] 0x00000000
2929
VERSION_PATCH
3030
RO
3131
ENDFIELD

library/spi_engine/axi_spi_engine/axi_spi_engine.v

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ module axi_spi_engine #(
133133
input [7:0] offload_sync_data
134134
);
135135

136-
localparam PCORE_VERSION = 'h010401;
136+
localparam PCORE_VERSION = 'h010500;
137137
localparam S_AXI = 0;
138138
localparam UP_FIFO = 1;
139139

0 commit comments

Comments
 (0)