summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp1_1
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2016-05-31 08:57:01 -0700
committerMartin Roth <martinroth@google.com>2016-06-03 17:30:34 +0200
commite747b7473eca356f1ef388bef04d2b354ec46ab5 (patch)
tree8c252ff0ed1655813853b76100eb07acc8f2a3a6 /src/drivers/intel/fsp1_1
parent287cd7563e140be1ccc5631cd5ab80db4a5b17dd (diff)
downloadcoreboot-e747b7473eca356f1ef388bef04d2b354ec46ab5.tar.xz
drivers/intel/fsp1_1: Make weak routines quiet
Now that there is a better way of finding optional routines, make the weak routines quiet so that it may be used for the optional implementation. TEST=Build and run on Galileo Gen2 Change-Id: Ic58c7de216394f80aee3a78dd08bd4682783be42 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/15043 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/drivers/intel/fsp1_1')
-rw-r--r--src/drivers/intel/fsp1_1/ramstage.c3
-rw-r--r--src/drivers/intel/fsp1_1/romstage.c12
2 files changed, 0 insertions, 15 deletions
diff --git a/src/drivers/intel/fsp1_1/ramstage.c b/src/drivers/intel/fsp1_1/ramstage.c
index 6e2de29cea..b4a6af1626 100644
--- a/src/drivers/intel/fsp1_1/ramstage.c
+++ b/src/drivers/intel/fsp1_1/ramstage.c
@@ -30,7 +30,6 @@
/* SOC initialization after FSP silicon init */
__attribute__((weak)) void soc_after_silicon_init(void)
{
- printk(BIOS_DEBUG, "WEAK: %s/%s called\n", __FILE__, __func__);
}
/* Display SMM memory map */
@@ -209,7 +208,6 @@ void intel_silicon_init(void)
__attribute__((weak)) void mainboard_silicon_init_params(
SILICON_INIT_UPD *params)
{
- printk(BIOS_DEBUG, "WEAK: %s/%s called\n", __FILE__, __func__);
};
/* Display the UPD parameters for SiliconInit */
@@ -223,5 +221,4 @@ __attribute__((weak)) void soc_display_silicon_init_params(
/* Initialize the UPD parameters for SiliconInit */
__attribute__((weak)) void soc_silicon_init_params(SILICON_INIT_UPD *params)
{
- printk(BIOS_DEBUG, "WEAK: %s/%s called\n", __FILE__, __func__);
}
diff --git a/src/drivers/intel/fsp1_1/romstage.c b/src/drivers/intel/fsp1_1/romstage.c
index 6584c55b31..c380ff750f 100644
--- a/src/drivers/intel/fsp1_1/romstage.c
+++ b/src/drivers/intel/fsp1_1/romstage.c
@@ -194,14 +194,12 @@ void after_cache_as_ram_stage(void)
/* Initialize the power state */
__attribute__((weak)) struct chipset_power_state *fill_power_state(void)
{
- printk(BIOS_DEBUG, "WEAK: %s/%s called\n", __FILE__, __func__);
return NULL;
}
__attribute__((weak)) void mainboard_check_ec_image(
struct romstage_params *params)
{
- printk(BIOS_DEBUG, "WEAK: %s/%s called\n", __FILE__, __func__);
#if IS_ENABLED(CONFIG_EC_GOOGLE_CHROMEEC)
struct pei_data *pei_data;
@@ -217,8 +215,6 @@ __attribute__((weak)) void mainboard_check_ec_image(
__attribute__((weak)) void mainboard_romstage_entry(
struct romstage_params *params)
{
- printk(BIOS_DEBUG, "WEAK: %s/%s called\n", __FILE__, __func__);
-
post_code(0x31);
/* Initliaze memory */
@@ -360,14 +356,12 @@ __attribute__((weak)) void mainboard_add_dimm_info(
struct memory_info *mem_info,
int channel, int dimm, int index)
{
- printk(BIOS_DEBUG, "WEAK: %s/%s called\n", __FILE__, __func__);
}
/* Get the memory configuration data */
__attribute__((weak)) int mrc_cache_get_current_with_version(
const struct mrc_saved_data **cache, uint32_t version)
{
- printk(BIOS_DEBUG, "WEAK: %s/%s called\n", __FILE__, __func__);
return -1;
}
@@ -375,14 +369,12 @@ __attribute__((weak)) int mrc_cache_get_current_with_version(
__attribute__((weak)) int mrc_cache_stash_data_with_version(const void *data,
size_t size, uint32_t version)
{
- printk(BIOS_DEBUG, "WEAK: %s/%s called\n", __FILE__, __func__);
return -1;
}
/* Transition RAM from off or self-refresh to active */
__attribute__((weak)) void raminit(struct romstage_params *params)
{
- printk(BIOS_DEBUG, "WEAK: %s/%s called\n", __FILE__, __func__);
post_code(0x34);
die("ERROR - No RAM initialization specified!\n");
}
@@ -397,13 +389,11 @@ void ramstage_cache_invalid(void)
/* Display the memory configuration */
__attribute__((weak)) void report_memory_config(void)
{
- printk(BIOS_DEBUG, "WEAK: %s/%s called\n", __FILE__, __func__);
}
/* Choose top of stack and setup MTRRs */
__attribute__((weak)) void *setup_stack_and_mtrrs(void)
{
- printk(BIOS_ERR, "WEAK: %s/%s called\n", __FILE__, __func__);
die("ERROR - Must specify top of stack!\n");
return NULL;
}
@@ -411,11 +401,9 @@ __attribute__((weak)) void *setup_stack_and_mtrrs(void)
/* SOC initialization after RAM is enabled */
__attribute__((weak)) void soc_after_ram_init(struct romstage_params *params)
{
- printk(BIOS_DEBUG, "WEAK: %s/%s called\n", __FILE__, __func__);
}
/* SOC initialization before RAM is enabled */
__attribute__((weak)) void soc_pre_ram_init(struct romstage_params *params)
{
- printk(BIOS_DEBUG, "WEAK: %s/%s called\n", __FILE__, __func__);
}