-
Notifications
You must be signed in to change notification settings - Fork 142
/
0004-Ax88772b-not-a-runtime-driver.patch
64 lines (55 loc) · 1.96 KB
/
0004-Ax88772b-not-a-runtime-driver.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
From 4a30f86718e571643d9f3c5eff7a59064f2070fd Mon Sep 17 00:00:00 2001
From: Andrei Warkentin <andrey.warkentin@gmail.com>
Date: Fri, 18 May 2018 22:54:14 -0400
Subject: [PATCH 4/4] Ax88772b: not a runtime driver
No need to tie up precious memory.
Also fix the depex and library deps.
Signed-off-by: Andrei Warkentin <andrey.warkentin@gmail.com>
---
.../Bus/Usb/UsbNetworking/Ax88772b/Ax88772b.inf | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/Ax88772b.inf b/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/Ax88772b.inf
index 87f453d8bd..c0277e6624 100644
--- a/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/Ax88772b.inf
+++ b/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/Ax88772b.inf
@@ -18,7 +18,7 @@
INF_VERSION = 0x00010018
BASE_NAME = Ax88772b
FILE_GUID = 95C8D770-E1A4-4422-B263-E32F14FD8186
- MODULE_TYPE = DXE_RUNTIME_DRIVER
+ MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
ENTRY_POINT = EntryPoint
@@ -34,7 +34,6 @@
DriverBinding.c
SimpleNetwork.c
-
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
@@ -44,7 +43,6 @@
UefiBootServicesTableLib
BaseMemoryLib
DebugLib
- UefiRuntimeLib
UefiDriverEntryPoint
[Protocols]
@@ -53,15 +51,4 @@
gEfiUsbIoProtocolGuid ## TO_START
[Depex]
- gEfiBdsArchProtocolGuid AND
- gEfiCpuArchProtocolGuid AND
- gEfiMetronomeArchProtocolGuid AND
- gEfiMonotonicCounterArchProtocolGuid AND
- gEfiRealTimeClockArchProtocolGuid AND
- gEfiResetArchProtocolGuid AND
- gEfiRuntimeArchProtocolGuid AND
- gEfiSecurityArchProtocolGuid AND
- gEfiTimerArchProtocolGuid AND
- gEfiVariableWriteArchProtocolGuid AND
- gEfiVariableArchProtocolGuid AND
- gEfiWatchdogTimerArchProtocolGuid
+ TRUE
\ No newline at end of file
--
2.17.1