[PATCH] bsps/cadence-spi: Fix moduleid offset
Kinsey Moore
kinsey.moore at oarcorp.com
Mon Jun 28 13:04:48 UTC 2021
Move the moduleid register to the correct offset according to Cadence IP
documentation.
---
bsps/include/dev/spi/cadence-spi-regs.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/bsps/include/dev/spi/cadence-spi-regs.h b/bsps/include/dev/spi/cadence-spi-regs.h
index b4b2366b3d..207d056fb1 100644
--- a/bsps/include/dev/spi/cadence-spi-regs.h
+++ b/bsps/include/dev/spi/cadence-spi-regs.h
@@ -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;
--
2.20.1
More information about the devel
mailing list