src/superio: Fix typo and remove unneeded whitespace

Change-Id: Iadc28d1632aa9b7d0b028c229049a348d5c07882
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/27875
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Elyes HAOUAS 2018-08-07 12:12:58 +02:00 committed by Martin Roth
parent 089b685761
commit 6de6571f1c
3 changed files with 15 additions and 15 deletions

View File

@ -120,7 +120,7 @@ enum thermal_mode {
/* GPIO Inernal Pull-up: 1: Enable, 0: Disable */
#define GPIO_REG_PULLUP(x) (0xb8 + (x))
/* GPIO Fucntion Select: 1: Simple I/O, 0: Alternate function */
/* GPIO Function Select: 1: Simple I/O, 0: Alternate function */
#define GPIO_REG_ENABLE(x) (0xc0 + (x))
/* GPIO Mode: 0: input mode, 1: output mode */

View File

@ -20,7 +20,7 @@
#define UART_POWER_DOWN (1 << 7)
#define LPT_POWER_DOWN (1 << 2)
#define IR_OUPUT_MUX (1 << 6)
#define IR_OUTPUT_MUX (1 << 6)
#include <arch/io.h>
#include <stdint.h>

View File

@ -73,7 +73,7 @@ void sio1036_enable_serial(pnp_devfn_t dev, u16 iobase)
pnp_write_config(dev, 0x07, 0x00);
/*ECP FIFO threhod */
pnp_write_config (dev, 0x0A, 0x00 | IR_OUPUT_MUX);
pnp_write_config(dev, 0x0A, 0x00 | IR_OUTPUT_MUX);
/*GPIO direction register 2 */
pnp_write_config(dev, 0x033, 0x00);