summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-02-07 00:09:59 -0600
committerRonald G. Minnich <rminnich@gmail.com>2013-03-18 20:48:17 +0100
commit9b7f9b97686bd5594518828249a5e0e2e6f377e7 (patch)
treef185e812bb670a04b13e21a207df1a4fa7fe8873 /src
parent3d0071bde363bbcd2ef3d68bac67400feced1778 (diff)
haswell: remove unused sys_info structure
This structure is not used nor the variable being instantiated on the stack. Remove them. Change-Id: If3abe2dd77104eff49665dd33570b07179bf34f5 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/2753 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/intel/haswell/raminit.c5
-rw-r--r--src/northbridge/intel/haswell/raminit.h7
2 files changed, 0 insertions, 12 deletions
diff --git a/src/northbridge/intel/haswell/raminit.c b/src/northbridge/intel/haswell/raminit.c
index e2b085b3fd..8a38e765eb 100644
--- a/src/northbridge/intel/haswell/raminit.c
+++ b/src/northbridge/intel/haswell/raminit.c
@@ -147,15 +147,10 @@ static void report_memory_config(void)
*/
void sdram_initialize(struct pei_data *pei_data)
{
- struct sys_info sysinfo;
unsigned long entry;
printk(BIOS_DEBUG, "Starting UEFI PEI System Agent\n");
- memset(&sysinfo, 0, sizeof(sysinfo));
-
- sysinfo.boot_path = pei_data->boot_mode;
-
/*
* Do not pass MRC data in for recovery mode boot,
* Always pass it in for S3 resume.
diff --git a/src/northbridge/intel/haswell/raminit.h b/src/northbridge/intel/haswell/raminit.h
index 958e983243..f94dea8c3a 100644
--- a/src/northbridge/intel/haswell/raminit.h
+++ b/src/northbridge/intel/haswell/raminit.h
@@ -22,13 +22,6 @@
#include "pei_data.h"
-struct sys_info {
- u8 boot_path;
-#define BOOT_PATH_NORMAL 0
-#define BOOT_PATH_RESET 1
-#define BOOT_PATH_RESUME 2
-} __attribute__ ((packed));
-
void sdram_initialize(struct pei_data *pei_data);
unsigned long get_top_of_ram(void);
int fixup_haswell_errata(void);