From 30a011417fb227d8e1e78a6a47abd9ea332c00c7 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Wed, 22 Mar 2023 00:35:42 +0530 Subject: =?UTF-8?q?soc/intel:=20Rename=20IA=20common=20code=20module=20fro?= =?UTF-8?q?m=C2=A0`TOM`=20to=20`RAMTOP`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch renames all references of `top_of_ram` (TOM) in IA common `basecode` module (for example: functions, variables, Kconfig, Makefile and comments) with `ramtop` aka top_of_ram to make it more meaningful and to avoid conflicts with Intel SA chipset TOM registers. BUG=Able to build and boot google/rex with the same ~49ms savings in place. Change-Id: Icfe6300a8e4c5761064537fb256cfecbe2afb2d8 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/73881 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- .../intel/common/basecode/include/intelbasecode/ramtop.h | 14 ++++++++++++++ src/soc/intel/common/basecode/include/intelbasecode/tom.h | 14 -------------- 2 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 src/soc/intel/common/basecode/include/intelbasecode/ramtop.h delete mode 100644 src/soc/intel/common/basecode/include/intelbasecode/tom.h (limited to 'src/soc/intel/common/basecode/include/intelbasecode') diff --git a/src/soc/intel/common/basecode/include/intelbasecode/ramtop.h b/src/soc/intel/common/basecode/include/intelbasecode/ramtop.h new file mode 100644 index 0000000000..067dd6b270 --- /dev/null +++ b/src/soc/intel/common/basecode/include/intelbasecode/ramtop.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef SOC_INTEL_COMMON_BASECODE_RAMTOP_H +#define SOC_INTEL_COMMON_BASECODE_RAMTOP_H + +#include + +/* Early caching of top_of_ram region */ +void early_ramtop_enable_cache_range(void); + +/* Update the RAMTOP if required based on the input top_of_ram address */ +void update_ramtop(uint32_t addr); + +#endif diff --git a/src/soc/intel/common/basecode/include/intelbasecode/tom.h b/src/soc/intel/common/basecode/include/intelbasecode/tom.h deleted file mode 100644 index d78ecd1a60..0000000000 --- a/src/soc/intel/common/basecode/include/intelbasecode/tom.h +++ /dev/null @@ -1,14 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef SOC_INTEL_COMMON_BASECODE_TOM_H -#define SOC_INTEL_COMMON_BASECODE_TOM_H - -#include - -/* Early caching of TOM region */ -void early_tom_enable_cache_range(void); - -/* Update the TOM if required based on the input TOM address */ -void update_tom(uint32_t addr); - -#endif -- cgit v1.2.3