src: capitalize 'RAM'

Change-Id: Ia05cb2de1b9f2a36fc9ecc22fb82f0c14da00a76
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39029
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Elyes HAOUAS 2020-02-20 19:41:17 +01:00 committed by Patrick Georgi
parent 183ad06f52
commit ef90609cbb
15 changed files with 21 additions and 21 deletions

View File

@ -156,8 +156,8 @@ static const struct timestamp_id_to_name {
/* Marker to report base_time. */ /* Marker to report base_time. */
{ 0, "1st timestamp" }, { 0, "1st timestamp" },
{ TS_START_ROMSTAGE, "start of romstage" }, { TS_START_ROMSTAGE, "start of romstage" },
{ TS_BEFORE_INITRAM, "before ram initialization" }, { TS_BEFORE_INITRAM, "before RAM initialization" },
{ TS_AFTER_INITRAM, "after ram initialization" }, { TS_AFTER_INITRAM, "after RAM initialization" },
{ TS_END_ROMSTAGE, "end of romstage" }, { TS_END_ROMSTAGE, "end of romstage" },
{ TS_START_VBOOT, "start of verified boot" }, { TS_START_VBOOT, "start of verified boot" },
{ TS_END_VBOOT, "end of verified boot" }, { TS_END_VBOOT, "end of verified boot" },

View File

@ -4,4 +4,4 @@ config MICROCODE_UPDATE_PRE_RAM
default y default y
help help
Select this option if you want to update the microcode Select this option if you want to update the microcode
during the cache as ram setup. during the cache as RAM setup.

View File

@ -17,7 +17,7 @@
chipset_teardown_car: chipset_teardown_car:
pop %ebx pop %ebx
/* Move the stack pointer to real ram */ /* Move the stack pointer to real RAM */
movl post_car_stack_top, %esp movl post_car_stack_top, %esp
/* Align the stack 16 bytes */ /* Align the stack 16 bytes */
andl $0xfffffff0, %esp andl $0xfffffff0, %esp

View File

@ -61,7 +61,7 @@ config FSP_USE_REPO
and FSP_FD_PATH correctly so FSP splitting works. and FSP_FD_PATH correctly so FSP splitting works.
config FSP_T_FILE config FSP_T_FILE
string "Intel FSP-T (temp ram init) binary path and filename" string "Intel FSP-T (temp RAM init) binary path and filename"
depends on FSP_CAR depends on FSP_CAR
default "$(obj)/Fsp_T.fd" if FSP_USE_REPO default "$(obj)/Fsp_T.fd" if FSP_USE_REPO
help help

View File

@ -15,7 +15,7 @@
# GNU General Public License for more details. # GNU General Public License for more details.
# Memory chip: Hynix H5TQ4G63MFR-PBC with ECC # Memory chip: Hynix H5TQ4G63MFR-PBC with ECC
# BAP ODE E20XX has 2GB ram soldered down on the Q7 # BAP ODE E20XX has 2GB RAM soldered down on the Q7
# Memory setting for DDR-1066 # Memory setting for DDR-1066
# 0 Number of SPD Bytes used / Total SPD Size / CRC Coverage # 0 Number of SPD Bytes used / Total SPD Size / CRC Coverage

View File

@ -15,7 +15,7 @@
# GNU General Public License for more details. # GNU General Public License for more details.
# Memory chip: Hynix H5TQ4G63MFR-PBC with ECC # Memory chip: Hynix H5TQ4G63MFR-PBC with ECC
# BAP ODE E20XX has 2GB ram soldered down on the Q7 # BAP ODE E20XX has 2GB RAM soldered down on the Q7
# Memory setting for DDR-800 # Memory setting for DDR-800
# 0 Number of SPD Bytes used / Total SPD Size / CRC Coverage # 0 Number of SPD Bytes used / Total SPD Size / CRC Coverage

View File

@ -20,5 +20,5 @@ romstage-y += variants/$(VARIANT_DIR)/gpio.c
ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += variants/$(VARIANT_DIR)/gma-mainboard.ads ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += variants/$(VARIANT_DIR)/gma-mainboard.ads
# FIXME: Other variants with same size onboard ram may exist. # FIXME: Other variants with same size onboard RAM may exist.
SPD_SOURCES = hynix_4g SPD_SOURCES = hynix_4g

View File

@ -133,8 +133,8 @@ void fill_postcar_frame(struct postcar_frame *pcf)
{ {
uintptr_t top_of_ram; uintptr_t top_of_ram;
/* Cache 8 MiB region below the top of ram and 2 MiB above top of /* Cache 8 MiB region below the top of RAM and 2 MiB above top of
* ram to cover both cbmem as the TSEG region. * RAM to cover both cbmem as the TSEG region.
*/ */
top_of_ram = (uintptr_t)cbmem_top(); top_of_ram = (uintptr_t)cbmem_top();
postcar_frame_add_mtrr(pcf, top_of_ram - 8*MiB, 8*MiB, postcar_frame_add_mtrr(pcf, top_of_ram - 8*MiB, 8*MiB,

View File

@ -99,8 +99,8 @@ void fill_postcar_frame(struct postcar_frame *pcf)
{ {
uintptr_t top_of_ram; uintptr_t top_of_ram;
/* Cache 8 MiB region below the top of ram and 2 MiB above top of /* Cache 8 MiB region below the top of RAM and 2 MiB above top of
* ram to cover both cbmem as the TSEG region. * RAM to cover both cbmem as the TSEG region.
*/ */
top_of_ram = (uintptr_t)cbmem_top(); top_of_ram = (uintptr_t)cbmem_top();
postcar_frame_add_mtrr(pcf, top_of_ram - 8*MiB, 8*MiB, postcar_frame_add_mtrr(pcf, top_of_ram - 8*MiB, 8*MiB,

View File

@ -149,8 +149,8 @@ void fill_postcar_frame(struct postcar_frame *pcf)
{ {
uintptr_t top_of_ram; uintptr_t top_of_ram;
/* Cache 8 MiB region below the top of ram and 2 MiB above top of /* Cache 8 MiB region below the top of RAM and 2 MiB above top of
* ram to cover both cbmem as the TSEG region. * RAM to cover both cbmem as the TSEG region.
*/ */
top_of_ram = (uintptr_t)cbmem_top(); top_of_ram = (uintptr_t)cbmem_top();
postcar_frame_add_mtrr(pcf, top_of_ram - 8*MiB, 8*MiB, postcar_frame_add_mtrr(pcf, top_of_ram - 8*MiB, 8*MiB,

View File

@ -58,12 +58,12 @@ void fill_postcar_frame(struct postcar_frame *pcf)
top_of_ram = (uintptr_t)cbmem_top(); top_of_ram = (uintptr_t)cbmem_top();
/* Cache 8MiB below the top of ram. On sandybridge systems the top of /* Cache 8MiB below the top of ram. On sandybridge systems the top of
* ram under 4GiB is the start of the TSEG region. It is required to * RAM under 4GiB is the start of the TSEG region. It is required to
* be 8MiB aligned. Set this area as cacheable so it can be used later * be 8MiB aligned. Set this area as cacheable so it can be used later
* for ramstage before setting up the entire RAM as cacheable. */ * for ramstage before setting up the entire RAM as cacheable. */
postcar_frame_add_mtrr(pcf, top_of_ram - 8*MiB, 8*MiB, MTRR_TYPE_WRBACK); postcar_frame_add_mtrr(pcf, top_of_ram - 8*MiB, 8*MiB, MTRR_TYPE_WRBACK);
/* Cache 8MiB at the top of ram. Top of ram on sandybridge systems /* Cache 8MiB at the top of ram. Top of RAM on sandybridge systems
* is where the TSEG region resides. However, it is not restricted * is where the TSEG region resides. However, it is not restricted
* to SMM mode until SMM has been relocated. By setting the region * to SMM mode until SMM has been relocated. By setting the region
* to cacheable it provides faster access when relocating the SMM * to cacheable it provides faster access when relocating the SMM

View File

@ -144,8 +144,8 @@ void fill_postcar_frame(struct postcar_frame *pcf)
{ {
uintptr_t top_of_ram; uintptr_t top_of_ram;
/* Cache 8 MiB region below the top of ram and 2 MiB above top of /* Cache 8 MiB region below the top of RAM and 2 MiB above top of
* ram to cover both cbmem as the TSEG region. * RAM to cover both cbmem as the TSEG region.
*/ */
top_of_ram = (uintptr_t)cbmem_top(); top_of_ram = (uintptr_t)cbmem_top();
postcar_frame_add_mtrr(pcf, top_of_ram - 8*MiB, 8*MiB, postcar_frame_add_mtrr(pcf, top_of_ram - 8*MiB, 8*MiB,

View File

@ -1636,7 +1636,7 @@ static void set_dradrb(struct sysinfo *s)
dual_channel_size = MIN(size_ch0, size_ch1) * 2; dual_channel_size = MIN(size_ch0, size_ch1) * 2;
} else { } else {
if (size_ch0 == 0) { if (size_ch0 == 0) {
/* ME needs ram on CH0 */ /* ME needs RAM on CH0 */
size_me = 0; size_me = 0;
/* TOTEST: bailout? */ /* TOTEST: bailout? */
} else { } else {

View File

@ -1,7 +1,7 @@
0x00000000, 0x100000000, WB, # RAM 0x00000000, 0x100000000, WB, # RAM
# Above entry is needed because below 4G allocated memory range is # Above entry is needed because below 4G allocated memory range is
# only known after FSP memory init completes. However, FSP migrates to memory # only known after FSP memory init completes. However, FSP migrates to memory
# from cache as ram before it exits FSP Memory Init. Hence we need to add # from cache as RAM before it exits FSP Memory Init. Hence we need to add
# page table entries for this entire range before FSP Memory Init. The # page table entries for this entire range before FSP Memory Init. The
# overlapped MMIO ranges will be overridden by below entries. # overlapped MMIO ranges will be overridden by below entries.
0xd0000000, 0x100000000, UC, NX # All of MMIO 0xd0000000, 0x100000000, UC, NX # All of MMIO

View File

@ -59,7 +59,7 @@ config MMCONF_BASE_ADDRESS
default 0xe0000000 default 0xe0000000
config FSP_T_ADDR config FSP_T_ADDR
hex "Intel FSP-T (temp ram init) binary location" hex "Intel FSP-T (temp RAM init) binary location"
depends on ADD_FSP_BINARIES && FSP_CAR depends on ADD_FSP_BINARIES && FSP_CAR
default 0xfff30000 default 0xfff30000
help help