bsps/cadence-spi: Fix moduleid offset

Move the moduleid register to the correct offset according to Cadence IP
documentation.
This commit is contained in:
Kinsey Moore
2021-06-28 08:03:22 -05:00
committed by Joel Sherrill
parent 26d61c8670
commit c18b041b77

View File

@@ -78,6 +78,7 @@ typedef struct {
uint32_t slave_idle_count;
uint32_t txthreshold;
uint32_t rxthreshold;
uint32_t unused[51];
uint32_t moduleid;
} cadence_spi;