mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Some simple typos.
This commit is contained in:
parent
69ee1d44e0
commit
2360367365
2 changed files with 4 additions and 7 deletions
|
@ -35,8 +35,7 @@ jmp intel_430_out
|
|||
movl $(0x60 + ((n) -1)), %eax ; \
|
||||
PCI_READ_CONFIG_BYTE ; \
|
||||
andl $0xFF, %eax ; \
|
||||
/* 4 MB granularity for the 430TX */
|
||||
shll $22, %eax ; \
|
||||
shll $22, %eax ; /* 4 MB granularity for the 430TX */
|
||||
|
||||
#define DIMM_READ \
|
||||
addl %ebx, %eax ; \
|
||||
|
|
|
@ -45,12 +45,10 @@
|
|||
#define SMC_WRITE(device, data, index) \
|
||||
mov $0x07, %al ; \
|
||||
mov $SMC_INDEX, %dx ; \
|
||||
outb %al, %dx ;
|
||||
|
||||
outb %al, %dx ; \
|
||||
mov device, %al ; \
|
||||
mov $SMC_DATA, %dx ; \
|
||||
outb %al, %dx ;
|
||||
|
||||
outb %al, %dx ; \
|
||||
mov data, %ah ; \
|
||||
mov index, %al ; \
|
||||
mov $SMC_INDEX, %dx ; \
|
||||
|
@ -69,7 +67,7 @@
|
|||
/* Check for Device ID */
|
||||
|
||||
SMC_READ($0x20)
|
||||
cmp %al, $0x40
|
||||
cmp $0x40, %al
|
||||
je 2f
|
||||
mov $0xfe, %al
|
||||
outb %al, $0x80
|
||||
|
|
Loading…
Add table
Reference in a new issue