summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2019-01-02 11:49:02 +0800
committerIru Cai <mytbk920423@gmail.com>2019-11-17 15:10:46 +0800
commit37872b25b905c39f1d5fb9cb9022568a8c87420a (patch)
treeb143d89442a48fd292e9d1b091aeb8a4afda55c7 /src/northbridge
parentbc959d55b740b1a40de68e7da5432e1b6fe341e2 (diff)
downloadcoreboot-37872b25b905c39f1d5fb9cb9022568a8c87420a.tar.xz
frag_usb_fffaf210 @ loc_fffaf347,loc_fffaf3ef
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/haswell/pei_usb.asm33
1 files changed, 11 insertions, 22 deletions
diff --git a/src/northbridge/intel/haswell/pei_usb.asm b/src/northbridge/intel/haswell/pei_usb.asm
index 4a64e26972..21e5e4242f 100644
--- a/src/northbridge/intel/haswell/pei_usb.asm
+++ b/src/northbridge/intel/haswell/pei_usb.asm
@@ -388,18 +388,12 @@ or eax, 0xfe0000
mov dword [edx], eax
loc_fffaf347:
-xor edx, edx
+push dword [ebp - 0x34]
+push esi
+push ebx
+call frag_usb_fffaf210
+add esp, 12
-loc_fffaf349:
-mov ecx, dword [esi + edx*4]
-add ecx, ebx
-mov eax, dword [ecx]
-and eax, 0x7ffffffd
-or eax, 0x80000000
-mov dword [ecx], eax
-inc edx
-cmp edx, dword [ebp - 0x34]
-jne short loc_fffaf349 ; jne 0xfffaf349
mov eax, dword [edi + 0xa00d8]
and eax, 0xffffffc0
mov dword [edi + 0xa00d8], eax
@@ -455,18 +449,13 @@ mov ecx, dword [ebp - 0x2c]
mov ax, word [ecx + 0xf80a2]
test al, 0x20
je short loc_fffaf44c ; je 0xfffaf44c
-xor edx, edx
-loc_fffaf3ff:
-mov ecx, dword [esi + edx*4]
-add ecx, ebx
-mov eax, dword [ecx]
-and eax, 0x7ffffffd
-or eax, 0x80000000
-mov dword [ecx], eax
-inc edx
-cmp edx, dword [ebp - 0x34]
-jb short loc_fffaf3ff ; jb 0xfffaf3ff
+push dword [ebp - 0x34]
+push esi
+push ebx
+call frag_usb_fffaf210
+add esp, 12
+
mov dword [ebp - 0x2c], 0xa
loc_fffaf41f: