diff options
author | Zheng Bao <zheng.bao@amd.com> | 2009-12-28 09:59:44 +0000 |
---|---|---|
committer | Zheng Bao <Zheng.Bao@amd.com> | 2009-12-28 09:59:44 +0000 |
commit | 9db833bec394b886ca990965970cdb100b65d9ac (patch) | |
tree | b06137607c918debaf7afb522feb3a56ee6f7ba5 /src/superio/ite/it8712f/it8712f_early_serial.c | |
parent | 0f0aa15e7eac54dae8d1710c3a4751c80b61709a (diff) |
trival. All the changes is about comment and spaces.
In superio folder.
1. Delete trailing white spaces.
2. Change the // comment to /* */.
3. Add some copyright header.
4. reindent.
5. delete multi blank lines.
I tried my best to find them. If anything left, please fix it
or tell me.
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Zheng Bao <zheng.bao@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4993 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/ite/it8712f/it8712f_early_serial.c')
-rw-r--r-- | src/superio/ite/it8712f/it8712f_early_serial.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/superio/ite/it8712f/it8712f_early_serial.c b/src/superio/ite/it8712f/it8712f_early_serial.c index 03899625bf..e0bfafd4ac 100644 --- a/src/superio/ite/it8712f/it8712f_early_serial.c +++ b/src/superio/ite/it8712f/it8712f_early_serial.c @@ -47,7 +47,6 @@ static void it8712f_sio_write(uint8_t ldn, uint8_t index, uint8_t value) outb(value, SIO_DATA); } - static void it8712f_enter_conf(void) { /* Enter the configuration state (MB PnP mode). */ @@ -67,7 +66,6 @@ static void it8712f_exit_conf(void) it8712f_sio_write(0x00, IT8712F_CONFIG_REG_CC, 0x02); } - static void it8712f_24mhz_clkin(void) { it8712f_enter_conf(); @@ -76,10 +74,10 @@ static void it8712f_24mhz_clkin(void) it8712f_sio_write(0x00, IT8712F_CONFIG_REG_CLOCKSEL, 0x1); it8712f_exit_conf(); - } -static void it8712f_enable_3vsbsw(void) { +static void it8712f_enable_3vsbsw(void) +{ /* We need to set enable 3VSBSW#, this was documented only in IT8712F_V0.9.2! LDN 7, reg 0x2a - needed for S3, or memory power will be cut off. @@ -93,7 +91,6 @@ static void it8712f_enable_3vsbsw(void) { it8712f_exit_conf(); } - static void it8712f_kill_watchdog(void) { it8712f_enter_conf(); @@ -114,8 +111,8 @@ static void it8712f_enable_serial(device_t dev, unsigned iobase) /* (2) Modify the data of configuration registers. */ /* Select the chip to configure (if there's more than one). - Set bit 7 to select JP3=1, clear bit 7 to select JP3=0. - If this register is not written, both chips are configured. */ + Set bit 7 to select JP3=1, clear bit 7 to select JP3=0. + If this register is not written, both chips are configured. */ /* it8712f_sio_write(0x00, IT8712F_CONFIG_REG_CONFIGSEL, 0x00); */ /* Enable serial port(s). */ |