Skip to content

Commit

Permalink
lan969x: xdma: Adjust timeout for BL2U NOR (DBB-723)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpovlsen committed Aug 7, 2024
1 parent 4279ef1 commit 37aefc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/microchip/dma/xdmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static uintptr_t base = LAN969X_XDMAC_BASE;
#define CH_SZ (XDMAC_XDMAC_CIE_CH1(0) - XDMAC_XDMAC_CIE_CH0(0))
#define CH_OFF(b, c) (b + (c * CH_SZ))

#define MAX_TIMEOUT_US (400 * 1000U) /* 400ms */
#define MAX_TIMEOUT_US (5U * 1000U * 1000U) /* 5s - reading entire SPI-NOR @ 2mb ~ 1.6s */

#define MAX_CHANNEL 16U

Expand Down

0 comments on commit 37aefc6

Please sign in to comment.