diff options
author | Martin Roth <martinroth@google.com> | 2016-11-18 09:29:03 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-11-21 23:43:54 +0100 |
commit | 128c104c4d3b91d3371b03840af460d776af819d (patch) | |
tree | bb0621ae2c90b512948ba9fee350cf42a49f4db3 /src/northbridge/intel/i3100 | |
parent | c6ec8dd1cb2303f7f7a71f0f494a6fc30b93dff4 (diff) |
nb/intel: Fix some spelling mistakes in comments and strings
Change-Id: I4a8297397d878e38516c8df19dd311c7ef19ec06
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/17478
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/northbridge/intel/i3100')
-rw-r--r-- | src/northbridge/intel/i3100/northbridge.c | 2 | ||||
-rw-r--r-- | src/northbridge/intel/i3100/raminit.c | 20 |
2 files changed, 11 insertions, 11 deletions
diff --git a/src/northbridge/intel/i3100/northbridge.c b/src/northbridge/intel/i3100/northbridge.c index a48d8fe41d..8025ac3cbb 100644 --- a/src/northbridge/intel/i3100/northbridge.c +++ b/src/northbridge/intel/i3100/northbridge.c @@ -93,7 +93,7 @@ static void pci_domain_set_resources(device_t dev) /* Find the offset of the remap window from tolm */ remapoffsetk = remapbasek - tolmk; } - /* Write the RAM configruation registers, + /* Write the RAM configuration registers, * preserving the reserved bits. */ tolm_r = pci_read_config16(mc_dev, 0xc4); diff --git a/src/northbridge/intel/i3100/raminit.c b/src/northbridge/intel/i3100/raminit.c index 33471efcd8..aebe4e864b 100644 --- a/src/northbridge/intel/i3100/raminit.c +++ b/src/northbridge/intel/i3100/raminit.c @@ -92,7 +92,7 @@ static struct dimm_size spd_get_dimm_size(u16 device) /* Note it might be easier to use byte 31 here, it has the DIMM size as * a multiple of 4MB. The way we do it now we can size both - * sides of an assymetric dimm. + * sides of an asymmetric dimm. */ value = spd_read_byte(device, 3); /* rows */ if (value < 0) goto hw_err; @@ -385,9 +385,9 @@ static int spd_set_drt_attributes(const struct mem_controller *ctrl, cas_latency = 30; } if ((index & 0x0ff00) <= 0x03c00) { - drt |= (1<<8); /* Trp RAS Precharg */ + drt |= (1<<8); /* Trp RAS Precharge */ } else { - drt |= (2<<8); /* Trp RAS Precharg */ + drt |= (2<<8); /* Trp RAS Precharge */ } /* Trcd RAS to CAS delay */ @@ -437,9 +437,9 @@ static int spd_set_drt_attributes(const struct mem_controller *ctrl, * for bits 3:2 for all 167 MHz drt |= ((index & 3)<<2); */ /* set CAS latency */ if ((index & 0x0ff00) <= 0x03000) { - drt |= (1<<8); /* Trp RAS Precharg */ + drt |= (1<<8); /* Trp RAS Precharge */ } else { - drt |= (2<<8); /* Trp RAS Precharg */ + drt |= (2<<8); /* Trp RAS Precharge */ } /* Trcd RAS to CAS delay */ @@ -480,9 +480,9 @@ static int spd_set_drt_attributes(const struct mem_controller *ctrl, else if (value <= 0x75) { /* 133 MHz */ drt |= ((index & 3)<<2); /* set CAS latency */ if ((index & 0x0ff00) <= 0x03c00) { - drt |= (1<<8); /* Trp RAS Precharg */ + drt |= (1<<8); /* Trp RAS Precharge */ } else { - drt |= (2<<8); /* Trp RAS Precharg */ + drt |= (2<<8); /* Trp RAS Precharge */ } /* Trcd RAS to CAS delay */ @@ -850,7 +850,7 @@ static void set_receive_enable(const struct mem_controller *ctrl) } } } - /* Check for Eratta problem */ + /* Check for Errata problem */ for (i = cnt = 0; i < 32; i+=8) { if (((recena>>i)&0x0f)>7) { cnt+= 0x101; @@ -1032,7 +1032,7 @@ static void sdram_enable(int controllers, const struct mem_controller *ctrl) while (data32 & 0x80000000); } - /* Precharg all banks */ + /* Precharge all banks */ do_delay(); for (cs = 0; cs < 8; cs+=2) { write32(MCBAR+DCALADDR, 0x04000000); @@ -1063,7 +1063,7 @@ static void sdram_enable(int controllers, const struct mem_controller *ctrl) while (data32 & 0x80000000); } - /* Precharg all banks */ + /* Precharge all banks */ do_delay(); do_delay(); do_delay(); |