fix(soc/sha_struct): fix register name continue to conti

- As contnue being a reserved keyword in C, the register name
continue is not valid
pull/13550/head
harshal.patil 2023-11-07 10:10:29 +05:30
rodzic e6782156c4
commit 507b5fd2b6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 5B5EC97C35B9A2E5
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -89,7 +89,7 @@ typedef union {
/** continue : RO; bitpos: [31:1]; default: 0; /** continue : RO; bitpos: [31:1]; default: 0;
* Reserved. * Reserved.
*/ */
uint32_t continue:31; uint32_t conti:31;
}; };
uint32_t val; uint32_t val;
} sha_continue_reg_t; } sha_continue_reg_t;
@ -193,7 +193,7 @@ typedef struct {
volatile sha_t_length_reg_t t_length; volatile sha_t_length_reg_t t_length;
volatile sha_dma_block_num_reg_t dma_block_num; volatile sha_dma_block_num_reg_t dma_block_num;
volatile sha_start_reg_t start; volatile sha_start_reg_t start;
volatile sha_continue_reg_t continue; volatile sha_continue_reg_t conti;
volatile sha_busy_reg_t busy; volatile sha_busy_reg_t busy;
volatile sha_dma_start_reg_t dma_start; volatile sha_dma_start_reg_t dma_start;
volatile sha_dma_continue_reg_t dma_continue; volatile sha_dma_continue_reg_t dma_continue;