Skip to content

Commit 6475ac6

Browse files
committed
Application: FastbooApp: Cleanup pt.2
1 parent a1b7b85 commit 6475ac6

File tree

8 files changed

+18
-332
lines changed

8 files changed

+18
-332
lines changed

QSD8250Pkg/Application/FastbootApp/Fastboot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#include <Library/MemoryAllocationLib.h>
4141
#include <Library/UefiBootServicesTableLib.h>
4242

43-
#include <Library/Lk/LKEnvLib.h>
43+
#include <Library/LKEnvLib.h>
4444
#include <Library/MallocLib.h>
4545
#include <Library/LcmLib.h>
4646
#include <Library/udc.h>

QSD8250Pkg/CommonDsc.dsc.inc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@
172172
KeypadDeviceImplLib|QSD8250Pkg/Library/KeypadDeviceImplLib/KeypadDeviceImplLib.inf
173173
MallocLib|QSD8250Pkg/Library/MallocLib/MallocLib.inf
174174
LcmLib|QSD8250Pkg/Library/LcmLib/LcmLib.inf
175-
LkLib|QSD8250Pkg/Library/LkLib/LkLib.inf
176175
UsbLib|QSD8250Pkg/Library/UsbLib/UsbLib.inf
177176

178177
[LibraryClasses.common.SEC]

QSD8250Pkg/Include/Library/LKEnvLib.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,11 @@ typedef unsigned long u_long;
198198

199199
#define __UNUSED //added
200200

201+
#define STACKBUF_DMA_ALIGN(var, size) \
202+
UINT8 __##var[(size) + CACHE_LINE]; UINT8 *var = (UINT8 *)(ROUNDUP((UINTN)__##var, CACHE_LINE))
203+
204+
// Timer
205+
#define mdelay(msecs) MicroSecondDelay((msecs)*1000)
206+
#define udelay(usecs) MicroSecondDelay((usecs))
207+
201208
#endif

QSD8250Pkg/Include/Library/Lk/LKEnvLib.h

Lines changed: 0 additions & 238 deletions
This file was deleted.

QSD8250Pkg/Library/LkLib/LkLib.inf

Lines changed: 0 additions & 27 deletions
This file was deleted.

QSD8250Pkg/Library/LkLib/lk.c

Lines changed: 0 additions & 56 deletions
This file was deleted.

QSD8250Pkg/Library/UsbLib/UsbLib.inf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@
2222
BaseMemoryLib
2323
TimerLib
2424
IoLib
25-
# ResetSystemLib
2625
MallocLib
2726
LcmLib
28-
LkLib
2927

3028
[Sources.common]
3129
hsusb.c

0 commit comments

Comments
 (0)