Skip to content

Commit 7032964

Browse files
cosmo-seq: grab latest fpga (#2092)
This will pickup the dimm_regs naming updates to support codegen and remove the extraneous spd_proxy_regs.json file. (oxidecomputer/quartz@62d55cc) Additionally, it adds a post_codes_count register to the eSPI block which will show the number of valid post codes seen. (oxidecomputer/quartz@76b99aa)
1 parent 2caf83d commit 7032964

File tree

6 files changed

+105
-563
lines changed

6 files changed

+105
-563
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
FPGA images and collateral are generated from:
2-
[this sha](https://github.com/oxidecomputer/quartz/commit/0cf5b6cffba5bbf70db9b50b7301831e7697e8fb)
3-
[release](https://api.github.com/repos/oxidecomputer/quartz/releases/220433638)
2+
[this sha](https://github.com/oxidecomputer/quartz/commit/76b99aaf164a4c04d9c88446522b132c0901ff6b)
3+
[release](https://api.github.com/repos/oxidecomputer/quartz/releases/224921430)
-27.7 KB
Binary file not shown.

drv/spartan7-loader/cosmo-seq/cosmo_seq_top.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
{
2525
"type": "addrmap",
26-
"addr_span_bytes": 36,
26+
"addr_span_bytes": 40,
2727
"inst_name": "espi",
2828
"orig_type_name": "espi_regs",
2929
"addr_offset": 512,
@@ -56,8 +56,8 @@
5656
{
5757
"type": "addrmap",
5858
"addr_span_bytes": 76,
59-
"inst_name": "spd_proxy",
60-
"orig_type_name": "spd_proxy_regs",
59+
"inst_name": "dimms",
60+
"orig_type_name": "dimm_regs",
6161
"addr_offset": 1536,
6262
"children": []
6363
},

drv/spartan7-loader/cosmo-seq/dimm_regs.json

Lines changed: 79 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,13 @@
11
{
22
"type": "addrmap",
33
"addr_span_bytes": 76,
4-
"inst_name": "spd_proxy_regs",
4+
"inst_name": "dimm_regs",
55
"addr_offset": 0,
66
"children": [
7-
{
8-
"type": "reg",
9-
"inst_name": "spd_ctrl",
10-
"addr_offset": 0,
11-
"regwidth": 32,
12-
"min_accesswidth": 32,
13-
"children": [
14-
{
15-
"type": "field",
16-
"inst_name": "start",
17-
"lsb": 0,
18-
"msb": 0,
19-
"reset": 0,
20-
"sw_access": "rw",
21-
"se_onread": null,
22-
"se_onwrite": null,
23-
"desc": "Set to initiate a SPD cache read. Cleared by hardware after the read is complete."
24-
}
25-
]
26-
},
27-
{
28-
"type": "reg",
29-
"inst_name": "fifo_ctrl",
30-
"addr_offset": 4,
31-
"regwidth": 32,
32-
"min_accesswidth": 32,
33-
"children": [
34-
{
35-
"type": "field",
36-
"inst_name": "tx_fifo_auto_inc",
37-
"lsb": 6,
38-
"msb": 6,
39-
"reset": 1,
40-
"sw_access": "rw",
41-
"se_onread": null,
42-
"se_onwrite": null,
43-
"desc": "Set to one put TX FIFO in auto increment mode."
44-
},
45-
{
46-
"type": "field",
47-
"inst_name": "tx_fifo_reset",
48-
"lsb": 7,
49-
"msb": 7,
50-
"reset": 0,
51-
"sw_access": "rw",
52-
"se_onread": null,
53-
"se_onwrite": null,
54-
"desc": "Set to one to reset TX FIFO. Cleared by hardware after FIFO reset."
55-
},
56-
{
57-
"type": "field",
58-
"inst_name": "rx_fifo_auto_inc",
59-
"lsb": 14,
60-
"msb": 14,
61-
"reset": 1,
62-
"sw_access": "rw",
63-
"se_onread": null,
64-
"se_onwrite": null,
65-
"desc": "Set to one put RX FIFO in auto increment mode."
66-
},
67-
{
68-
"type": "field",
69-
"inst_name": "rx_fifo_reset",
70-
"lsb": 15,
71-
"msb": 15,
72-
"reset": 0,
73-
"sw_access": "rw",
74-
"se_onread": null,
75-
"se_onwrite": null,
76-
"desc": "Set to one to reset RX FIFO. Cleared by hardware after FIFO reset."
77-
}
78-
]
79-
},
807
{
818
"type": "reg",
829
"inst_name": "dimm_pcamp",
83-
"addr_offset": 8,
10+
"addr_offset": 0,
8411
"regwidth": 32,
8512
"min_accesswidth": 32,
8613
"children": [
@@ -221,7 +148,7 @@
221148
{
222149
"type": "reg",
223150
"inst_name": "spd_present",
224-
"addr_offset": 12,
151+
"addr_offset": 4,
225152
"regwidth": 32,
226153
"min_accesswidth": 32,
227154
"children": [
@@ -362,7 +289,7 @@
362289
{
363290
"type": "reg",
364291
"inst_name": "spd_select",
365-
"addr_offset": 16,
292+
"addr_offset": 8,
366293
"regwidth": 32,
367294
"min_accesswidth": 32,
368295
"children": [
@@ -500,10 +427,30 @@
500427
}
501428
]
502429
},
430+
{
431+
"type": "reg",
432+
"inst_name": "spd_ctrl",
433+
"addr_offset": 12,
434+
"regwidth": 32,
435+
"min_accesswidth": 32,
436+
"children": [
437+
{
438+
"type": "field",
439+
"inst_name": "start",
440+
"lsb": 0,
441+
"msb": 0,
442+
"reset": 0,
443+
"sw_access": "rw",
444+
"se_onread": null,
445+
"se_onwrite": null,
446+
"desc": "Set to initiate a SPD cache read. Cleared by hardware after the read is complete."
447+
}
448+
]
449+
},
503450
{
504451
"type": "reg",
505452
"inst_name": "spd_rd_ptr",
506-
"addr_offset": 20,
453+
"addr_offset": 16,
507454
"regwidth": 32,
508455
"min_accesswidth": 32,
509456
"children": [
@@ -523,7 +470,7 @@
523470
{
524471
"type": "reg",
525472
"inst_name": "spd_rdata",
526-
"addr_offset": 24,
473+
"addr_offset": 20,
527474
"regwidth": 32,
528475
"min_accesswidth": 32,
529476
"children": [
@@ -540,6 +487,59 @@
540487
}
541488
]
542489
},
490+
{
491+
"type": "reg",
492+
"inst_name": "fifo_ctrl",
493+
"addr_offset": 24,
494+
"regwidth": 32,
495+
"min_accesswidth": 32,
496+
"children": [
497+
{
498+
"type": "field",
499+
"inst_name": "tx_fifo_auto_inc",
500+
"lsb": 6,
501+
"msb": 6,
502+
"reset": 1,
503+
"sw_access": "rw",
504+
"se_onread": null,
505+
"se_onwrite": null,
506+
"desc": "Set to one put TX FIFO in auto increment mode."
507+
},
508+
{
509+
"type": "field",
510+
"inst_name": "tx_fifo_reset",
511+
"lsb": 7,
512+
"msb": 7,
513+
"reset": 0,
514+
"sw_access": "rw",
515+
"se_onread": null,
516+
"se_onwrite": null,
517+
"desc": "Set to one to reset TX FIFO. Cleared by hardware after FIFO reset."
518+
},
519+
{
520+
"type": "field",
521+
"inst_name": "rx_fifo_auto_inc",
522+
"lsb": 14,
523+
"msb": 14,
524+
"reset": 1,
525+
"sw_access": "rw",
526+
"se_onread": null,
527+
"se_onwrite": null,
528+
"desc": "Set to one put RX FIFO in auto increment mode."
529+
},
530+
{
531+
"type": "field",
532+
"inst_name": "rx_fifo_reset",
533+
"lsb": 15,
534+
"msb": 15,
535+
"reset": 0,
536+
"sw_access": "rw",
537+
"se_onread": null,
538+
"se_onwrite": null,
539+
"desc": "Set to one to reset RX FIFO. Cleared by hardware after FIFO reset."
540+
}
541+
]
542+
},
543543
{
544544
"type": "reg",
545545
"inst_name": "bus0_cmd",

drv/spartan7-loader/cosmo-seq/espi_regs.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "addrmap",
3-
"addr_span_bytes": 36,
3+
"addr_span_bytes": 40,
44
"inst_name": "espi_regs",
55
"addr_offset": 0,
66
"children": [
@@ -238,6 +238,26 @@
238238
"desc": "MSB is bit 31"
239239
}
240240
]
241+
},
242+
{
243+
"type": "reg",
244+
"inst_name": "post_code_count",
245+
"addr_offset": 36,
246+
"regwidth": 32,
247+
"min_accesswidth": 32,
248+
"children": [
249+
{
250+
"type": "field",
251+
"inst_name": "count",
252+
"lsb": 0,
253+
"msb": 31,
254+
"reset": 0,
255+
"sw_access": "rw",
256+
"se_onread": null,
257+
"se_onwrite": null,
258+
"desc": ""
259+
}
260+
]
241261
}
242262
]
243263
}

0 commit comments

Comments
 (0)