Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be7c8e9a authored by Mohit Aggarwal's avatar Mohit Aggarwal
Browse files

diag: Remove AXI prefetch related padding



Currently, diag is adding padding of 256 bytes as
a workaround to get rid of AXI prefetch related h/w
issue while writing data to USB. The patch removes
the padding wherever h/w issue is not applicable to
optimize memory allocation.

CRs-Fixed: 2123113
Change-Id: Ia5b2eec1b2fb5bc5b15a572c68ee4da3ce97a19c
Signed-off-by: default avatarMohit Aggarwal <maggarwa@codeaurora.org>
parent 20caa060
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@

#define DIAG_MAX_REQ_SIZE	(16 * 1024)
#define DIAG_MAX_RSP_SIZE	(16 * 1024)
#define APF_DIAG_PADDING	256
#define APF_DIAG_PADDING	0
/*
 * In the worst case, the HDLC buffer can be atmost twice the size of the
 * original packet. Add 3 bytes for 16 bit CRC (2 bytes) and a delimiter