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>
This commit is contained in:
Aaron Durbin 2013-02-07 00:09:59 -06:00 committed by Ronald G. Minnich
parent 3d0071bde3
commit 9b7f9b9768
2 changed files with 0 additions and 12 deletions

View File

@ -147,15 +147,10 @@ static void report_memory_config(void)
*/ */
void sdram_initialize(struct pei_data *pei_data) void sdram_initialize(struct pei_data *pei_data)
{ {
struct sys_info sysinfo;
unsigned long entry; unsigned long entry;
printk(BIOS_DEBUG, "Starting UEFI PEI System Agent\n"); 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, * Do not pass MRC data in for recovery mode boot,
* Always pass it in for S3 resume. * Always pass it in for S3 resume.

View File

@ -22,13 +22,6 @@
#include "pei_data.h" #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); void sdram_initialize(struct pei_data *pei_data);
unsigned long get_top_of_ram(void); unsigned long get_top_of_ram(void);
int fixup_haswell_errata(void); int fixup_haswell_errata(void);