diff --git a/src/northbridge/intel/430tx/raminit.inc b/src/northbridge/intel/430tx/raminit.inc index 3d024cf965..9ecd9fc5be 100644 --- a/src/northbridge/intel/430tx/raminit.inc +++ b/src/northbridge/intel/430tx/raminit.inc @@ -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 ; \ diff --git a/src/superio/SMC/fdc37c67x/setup_serial.inc b/src/superio/SMC/fdc37c67x/setup_serial.inc index 2eaffee852..e3c3e7b724 100644 --- a/src/superio/SMC/fdc37c67x/setup_serial.inc +++ b/src/superio/SMC/fdc37c67x/setup_serial.inc @@ -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