drivers/intel/fsp1_1: Fix spelling error in API and copyright

Change granluarity to granularity.
Change wacbmem_entryanty to warranty.
Update copyright dates.

TEST=None

Change-Id: Ib7775cb33616751760919a5850777dc6f77a6be9
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/13528
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Lee Leahy
2016-01-29 14:28:43 -08:00
committed by Leroy P Leahy
parent 2387220c1b
commit e0918bbc68
4 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
/* /*
* This file is part of the coreboot project. * This file is part of the coreboot project.
* *
* Copyright (C) 2015 Intel Corporation. * Copyright (C) 2015-2016 Intel Corporation.
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -19,11 +19,11 @@
#include <types.h> #include <types.h>
/* /*
* mmap_region_granluarity must to return a size which is a positive non-zero * mmap_region_granularity must to return a size which is a positive non-zero
* integer multiple of the SMM size when SMM is in use. When not using SMM, * integer multiple of the SMM size when SMM is in use. When not using SMM,
* this value should be set to 8 MiB. * this value should be set to 8 MiB.
*/ */
size_t mmap_region_granluarity(void); size_t mmap_region_granularity(void);
/* Fills in the arguments for the entire SMM region covered by chipset /* Fills in the arguments for the entire SMM region covered by chipset
* protections. e.g. TSEG. */ * protections. e.g. TSEG. */

View File

@ -67,7 +67,7 @@ void *setup_stack_and_mtrrs(void)
* of physical address bits. * of physical address bits.
*/ */
mtrr_mask_upper = (1 << ((cpuid_eax(0x80000008) & 0xff) - 32)) - 1; mtrr_mask_upper = (1 << ((cpuid_eax(0x80000008) & 0xff) - 32)) - 1;
alignment = mmap_region_granluarity(); alignment = mmap_region_granularity();
aligned_ram = ALIGN_DOWN(top_of_stack - romstage_ram_stack_size, aligned_ram = ALIGN_DOWN(top_of_stack - romstage_ram_stack_size,
alignment); alignment);

View File

@ -2,14 +2,14 @@
* This file is part of the coreboot project. * This file is part of the coreboot project.
* *
* Copyright (C) 2013 Google, Inc. * Copyright (C) 2013 Google, Inc.
* Copyright (C) 2015 Intel Corp. * Copyright (C) 2015-2016 Intel Corp.
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License. * the Free Software Foundation; version 2 of the License.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied wacbmem_entryanty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
@ -36,7 +36,7 @@ void smm_region(void **start, size_t *size)
*size = smm_region_size(); *size = smm_region_size();
} }
size_t mmap_region_granluarity(void) size_t mmap_region_granularity(void)
{ {
/* Align to TSEG size when SMM is in use, and 8MiB by default */ /* Align to TSEG size when SMM is in use, and 8MiB by default */
return IS_ENABLED(CONFIG_HAVE_SMI_HANDLER) ? smm_region_size() return IS_ENABLED(CONFIG_HAVE_SMI_HANDLER) ? smm_region_size()

View File

@ -2,7 +2,7 @@
* This file is part of the coreboot project. * This file is part of the coreboot project.
* *
* Copyright (C) 2014 Google Inc. * Copyright (C) 2014 Google Inc.
* Copyright (C) 2015 Intel Corporation. * Copyright (C) 2015-2016 Intel Corporation.
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -27,7 +27,7 @@
#include <soc/systemagent.h> #include <soc/systemagent.h>
#include <stdlib.h> #include <stdlib.h>
size_t mmap_region_granluarity(void) size_t mmap_region_granularity(void)
{ {
if (IS_ENABLED(CONFIG_HAVE_SMI_HANDLER)) if (IS_ENABLED(CONFIG_HAVE_SMI_HANDLER))
/* Align to TSEG size when SMM is in use */ /* Align to TSEG size when SMM is in use */