eth-cleanup

This commit is contained in:
eZio Pan 2024-01-03 21:33:00 +08:00
parent 9ec9e0afb8
commit 9e58b83115
5 changed files with 41 additions and 163 deletions

View File

@ -301,7 +301,6 @@ fieldset/DMABMR:
description: Address-aligned beats description: Address-aligned beats
bit_offset: 25 bit_offset: 25
bit_size: 1 bit_size: 1
enum: AAB
fieldset/DMACHRBAR: fieldset/DMACHRBAR:
description: Ethernet DMA current host receive buffer address register description: Ethernet DMA current host receive buffer address register
fields: fields:
@ -1000,7 +999,6 @@ fieldset/MMCCR:
description: MMC counter freeze description: MMC counter freeze
bit_offset: 3 bit_offset: 3
bit_size: 1 bit_size: 1
enum: MCF
fieldset/MMCRFAECR: fieldset/MMCRFAECR:
description: Ethernet MMC received frames with alignment error counter register description: Ethernet MMC received frames with alignment error counter register
fields: fields:
@ -1262,15 +1260,6 @@ fieldset/PTPTTLR:
description: TTSL description: TTSL
bit_offset: 0 bit_offset: 0
bit_size: 32 bit_size: 32
enum/AAB:
bit_size: 1
variants:
- name: Unaligned
description: Bursts are not aligned
value: 0
- name: Aligned
description: Align bursts to start address LS bits. First burst alignment depends on FB bit
value: 1
enum/APCS: enum/APCS:
bit_size: 1 bit_size: 1
variants: variants:
@ -1547,15 +1536,6 @@ enum/MB_progress:
- name: Busy - name: Busy
description: This bit is set to 1 by the application to indicate that a read or write access is in progress description: This bit is set to 1 by the application to indicate that a read or write access is in progress
value: 1 value: 1
enum/MCF:
bit_size: 1
variants:
- name: Unfrozen
description: All MMC counters update normally
value: 0
- name: Frozen
description: All MMC counters frozen to their current value
value: 1
enum/MW: enum/MW:
bit_size: 1 bit_size: 1
variants: variants:

View File

@ -309,7 +309,6 @@ fieldset/DMABMR:
description: Address-aligned beats description: Address-aligned beats
bit_offset: 25 bit_offset: 25
bit_size: 1 bit_size: 1
enum: AAB
- name: MB - name: MB
description: Mixed burst description: Mixed burst
bit_offset: 26 bit_offset: 26
@ -1024,7 +1023,6 @@ fieldset/MMCCR:
description: MMC counter freeze description: MMC counter freeze
bit_offset: 3 bit_offset: 3
bit_size: 1 bit_size: 1
enum: MCF
- name: MCP - name: MCP
description: MMC counter preset description: MMC counter preset
bit_offset: 4 bit_offset: 4
@ -1296,15 +1294,6 @@ fieldset/PTPTTLR:
description: TTSL description: TTSL
bit_offset: 0 bit_offset: 0
bit_size: 32 bit_size: 32
enum/AAB:
bit_size: 1
variants:
- name: Unaligned
description: Bursts are not aligned
value: 0
- name: Aligned
description: Align bursts to start address LS bits. First burst alignment depends on FB bit
value: 1
enum/APCS: enum/APCS:
bit_size: 1 bit_size: 1
variants: variants:
@ -1590,15 +1579,6 @@ enum/MB_progress:
- name: Busy - name: Busy
description: This bit is set to 1 by the application to indicate that a read or write access is in progress description: This bit is set to 1 by the application to indicate that a read or write access is in progress
value: 1 value: 1
enum/MCF:
bit_size: 1
variants:
- name: Unfrozen
description: All MMC counters update normally
value: 0
- name: Frozen
description: All MMC counters frozen to their current value
value: 1
enum/MCFHP: enum/MCFHP:
bit_size: 1 bit_size: 1
variants: variants:

View File

@ -309,7 +309,6 @@ fieldset/DMABMR:
description: Address-aligned beats description: Address-aligned beats
bit_offset: 25 bit_offset: 25
bit_size: 1 bit_size: 1
enum: AAB
- name: MB - name: MB
description: Mixed burst description: Mixed burst
bit_offset: 26 bit_offset: 26
@ -1024,7 +1023,6 @@ fieldset/MMCCR:
description: MMC counter freeze description: MMC counter freeze
bit_offset: 3 bit_offset: 3
bit_size: 1 bit_size: 1
enum: MCF
- name: MCP - name: MCP
description: MMC counter preset description: MMC counter preset
bit_offset: 4 bit_offset: 4
@ -1296,15 +1294,6 @@ fieldset/PTPTTLR:
description: TTSL description: TTSL
bit_offset: 0 bit_offset: 0
bit_size: 32 bit_size: 32
enum/AAB:
bit_size: 1
variants:
- name: Unaligned
description: Bursts are not aligned
value: 0
- name: Aligned
description: Align bursts to start address LS bits. First burst alignment depends on FB bit
value: 1
enum/APCS: enum/APCS:
bit_size: 1 bit_size: 1
variants: variants:
@ -1590,15 +1579,6 @@ enum/MB_progress:
- name: Busy - name: Busy
description: This bit is set to 1 by the application to indicate that a read or write access is in progress description: This bit is set to 1 by the application to indicate that a read or write access is in progress
value: 1 value: 1
enum/MCF:
bit_size: 1
variants:
- name: Unfrozen
description: All MMC counters update normally
value: 0
- name: Frozen
description: All MMC counters frozen to their current value
value: 1
enum/MCFHP: enum/MCFHP:
bit_size: 1 bit_size: 1
variants: variants:

View File

@ -232,30 +232,6 @@ block/ETHERNET_MAC:
description: Address 0 low register description: Address 0 low register
byte_offset: 772 byte_offset: 772
fieldset: MACA0LR fieldset: MACA0LR
- name: MACA1HR
description: Address 1 high register
byte_offset: 776
fieldset: MACA1HR
- name: MACA1LR
description: Address 1 low register
byte_offset: 780
fieldset: MACA1LR
- name: MACA2HR
description: Address 2 high register
byte_offset: 784
fieldset: MACA2HR
- name: MACA2LR
description: Address 2 low register
byte_offset: 788
fieldset: MACA2LR
- name: MACA3HR
description: Address 3 high register
byte_offset: 792
fieldset: MACA3HR
- name: MACA3LR
description: Address 3 low register
byte_offset: 796
fieldset: MACA3LR
- name: MMC_CONTROL - name: MMC_CONTROL
description: MMC control register description: MMC control register
byte_offset: 1792 byte_offset: 1792
@ -495,6 +471,20 @@ block/ETHERNET_MAC:
description: Log message interval register description: Log message interval register
byte_offset: 3024 byte_offset: 3024
fieldset: MACLMIR fieldset: MACLMIR
- name: MACAHR
description: Address 1 high register
array:
len: 3
stride: 8
byte_offset: 776
fieldset: MACAHR
- name: MACALR
description: Address 1 low register
array:
len: 3
stride: 8
byte_offset: 780
fieldset: MACALR
block/ETHERNET_MTL: block/ETHERNET_MTL:
description: 'Ethernet: MTL mode register (MTL)' description: 'Ethernet: MTL mode register (MTL)'
items: items:
@ -895,84 +885,6 @@ fieldset/MACA0LR:
description: MAC Address 0 [31:0] description: MAC Address 0 [31:0]
bit_offset: 0 bit_offset: 0
bit_size: 32 bit_size: 32
fieldset/MACA1HR:
description: Address 1 high register
fields:
- name: ADDRHI
description: MAC Address1 [47:32]
bit_offset: 0
bit_size: 16
- name: MBC
description: Mask Byte Control
bit_offset: 24
bit_size: 6
- name: SA
description: Source Address
bit_offset: 30
bit_size: 1
- name: AE
description: Address Enable
bit_offset: 31
bit_size: 1
fieldset/MACA1LR:
description: Address 1 low register
fields:
- name: ADDRLO
description: MAC Address 1 [31:0]
bit_offset: 0
bit_size: 32
fieldset/MACA2HR:
description: Address 2 high register
fields:
- name: ADDRHI
description: MAC Address2 [47:32]
bit_offset: 0
bit_size: 16
- name: MBC
description: Mask Byte Control
bit_offset: 24
bit_size: 6
- name: SA
description: Source Address
bit_offset: 30
bit_size: 1
- name: AE
description: Address Enable
bit_offset: 31
bit_size: 1
fieldset/MACA2LR:
description: Address 2 low register
fields:
- name: ADDRLO
description: MAC Address 2 [31:0]
bit_offset: 0
bit_size: 32
fieldset/MACA3HR:
description: Address 3 high register
fields:
- name: ADDRHI
description: MAC Address3 [47:32]
bit_offset: 0
bit_size: 16
- name: MBC
description: Mask Byte Control
bit_offset: 24
bit_size: 6
- name: SA
description: Source Address
bit_offset: 30
bit_size: 1
- name: AE
description: Address Enable
bit_offset: 31
bit_size: 1
fieldset/MACA3LR:
description: Address 3 low register
fields:
- name: ADDRLO
description: MAC Address 3 [31:0]
bit_offset: 0
bit_size: 32
fieldset/MACACR: fieldset/MACACR:
description: Auxiliary control register description: Auxiliary control register
fields: fields:
@ -996,6 +908,32 @@ fieldset/MACACR:
description: Auxiliary Snapshot 3 Enable description: Auxiliary Snapshot 3 Enable
bit_offset: 7 bit_offset: 7
bit_size: 1 bit_size: 1
fieldset/MACAHR:
description: Address 3 high register
fields:
- name: ADDRHI
description: MAC Address3 [47:32]
bit_offset: 0
bit_size: 16
- name: MBC
description: Mask Byte Control
bit_offset: 24
bit_size: 6
- name: SA
description: Source Address
bit_offset: 30
bit_size: 1
- name: AE
description: Address Enable
bit_offset: 31
bit_size: 1
fieldset/MACALR:
description: Address 2 low register
fields:
- name: ADDRLO
description: MAC Address 2 [31:0]
bit_offset: 0
bit_size: 32
fieldset/MACARPAR: fieldset/MACARPAR:
description: ARP address register description: ARP address register
fields: fields:

View File

@ -1,6 +1,6 @@
transforms: transforms:
- !DeleteEnums - !DeleteEnums
from: ^(DC|GU|MPE|PAM|PM|RA|RFCE|ROR|SAF|TFCE|UPFD|WFE|CSTF|EDFE|MACAHR_AE)$ from: ^(DC|GU|MPE|PAM|PM|RA|RFCE|ROR|SAF|TFCE|UPFD|WFE|CSTF|EDFE|MACAHR_AE|MCF|AAB)$
- !RenameEnumVariants - !RenameEnumVariants
enum: ^CSR$ enum: ^CSR$
from: Disabled from: Disabled