From 3c3a50c3c4144a393b4183d4e57ae9c7c2d8cc53 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Tue, 16 Dec 2014 20:50:26 -0700 Subject: southbridge/amd agesa & cimx spelling fixes Trivial fixes, but the editor highlights them, and it's easy to go through a bunch of files while I'm otherwise idle. Change-Id: I5d2d4ba098d2a95f7643f000f4b48b3349a8e6cf Signed-off-by: Martin Roth Reviewed-on: http://review.coreboot.org/7839 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- src/southbridge/amd/cimx/sb700/late.c | 2 +- src/southbridge/amd/cimx/sb700/lpc.c | 6 +++--- src/southbridge/amd/cimx/sb700/smbus.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/southbridge/amd/cimx/sb700') diff --git a/src/southbridge/amd/cimx/sb700/late.c b/src/southbridge/amd/cimx/sb700/late.c index 35631bc7c1..9c7048271c 100644 --- a/src/southbridge/amd/cimx/sb700/late.c +++ b/src/southbridge/amd/cimx/sb700/late.c @@ -30,7 +30,7 @@ #include #include #include "lpc.h" /* lpc_read_resources */ -#include "Platform.h" /* Platfrom Specific Definitions */ +#include "Platform.h" /* Platform Specific Definitions */ #include "sb_cimx.h" #include "sb700_cfg.h" /* sb700 Cimx configuration */ #include "chip.h" /* struct southbridge_amd_cimx_sb700_config */ diff --git a/src/southbridge/amd/cimx/sb700/lpc.c b/src/southbridge/amd/cimx/sb700/lpc.c index 5d05762f55..75a3fb97da 100644 --- a/src/southbridge/amd/cimx/sb700/lpc.c +++ b/src/southbridge/amd/cimx/sb700/lpc.c @@ -89,7 +89,7 @@ void lpc_set_resources(struct device *dev) /** * @brief Enable resources for children devices * - * @param dev the device whos children's resources are to be enabled + * @param dev the device whose children's resources are to be enabled * */ void lpc_enable_childrens_resources(device_t dev) @@ -131,13 +131,13 @@ void lpc_enable_childrens_resources(device_t dev) case 0x2f8: /* COM2 */ reg |= (1 << 7); break; - case 0x378: /* Parallal 1 */ + case 0x378: /* Parallel 1 */ reg |= (1 << 0); break; case 0x3f0: /* FD0 */ reg |= (1 << 26); break; - case 0x220: /* Aduio 0 */ + case 0x220: /* Audio 0 */ reg |= (1 << 8); break; case 0x300: /* Midi 0 */ diff --git a/src/southbridge/amd/cimx/sb700/smbus.c b/src/southbridge/amd/cimx/sb700/smbus.c index a79695b9f5..c5f48beb5b 100644 --- a/src/southbridge/amd/cimx/sb700/smbus.c +++ b/src/southbridge/amd/cimx/sb700/smbus.c @@ -201,7 +201,7 @@ void alink_ab_indx(u32 reg_space, u32 reg_addr, u32 mask, u32 val) tmp |= val; /* printk(BIOS_DEBUG, "about write %x, index=%x", tmp, (reg_space&0x3)<<29 | reg_addr); */ - outl((reg_space & 0x7) << 29 | reg_addr, AB_INDX); /* probably we dont have to do it again. */ + outl((reg_space & 0x7) << 29 | reg_addr, AB_INDX); /* probably we don't have to do it again. */ outl(tmp, AB_DATA); outl(0, AB_INDX); printk(BIOS_SPEW, "SB700 - Smbus.c - alink_ab_indx - End.\n"); @@ -224,7 +224,7 @@ void alink_rc_indx(u32 reg_space, u32 reg_addr, u32 port, u32 mask, u32 val) tmp |= val; //printk(BIOS_DEBUG, "about write %x, index=%x", tmp, (reg_space&0x3)<<29 | (port&3) << 24 | reg_addr); - outl((reg_space & 0x7) << 29 | (port & 3) << 24 | reg_addr, AB_INDX); /* probably we dont have to do it again. */ + outl((reg_space & 0x7) << 29 | (port & 3) << 24 | reg_addr, AB_INDX); /* probably we don't have to do it again. */ outl(tmp, AB_DATA); outl(0, AB_INDX); printk(BIOS_SPEW, "SB700 - Smbus.c - alink_rc_indx - End.\n"); -- cgit v1.2.3