Skip to content

Commit b69e516

Browse files
committed
drivers: mspi: RX Flow change
Modified return buffer alignment. Signed-off-by: Michal Frankiewicz <[email protected]>
1 parent 4fd2edc commit b69e516

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

include/drivers/mspi/nrfe_mspi.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ typedef enum {
4141
NRFE_MSPI_TXRX,
4242
NRFE_MSPI_SDP_APP_HARD_FAULT,
4343
NRFE_MSPI_WRONG_OPCODE,
44-
NRFE_MSPI_ALL_OPCODES = NRFE_MSPI_WRONG_OPCODE,
44+
NRFE_MSPI_OPCODES_COUNT = NRFE_MSPI_WRONG_OPCODE,
45+
/* This is to make sizeof(nrfe_mspi_opcode_t)==32bit, for alignment purpouse. */
46+
NREE_MSPI_OPCODES_MAX = 0xFFFFFFFFU,
4547
} nrfe_mspi_opcode_t;
4648

4749
typedef struct {
@@ -95,7 +97,7 @@ typedef struct {
9597
} nrfe_mspi_xfer_packet_msg_t;
9698

9799
typedef struct {
98-
nrfe_mspi_opcode_t opcode; /* Same as application's request. */
100+
nrfe_mspi_opcode_t opcode;
99101
uint8_t data;
100102
} nrfe_mspi_flpr_response_msg_t;
101103

0 commit comments

Comments
 (0)