summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/sysinfo.h
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2016-03-12 12:12:14 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2016-03-15 18:22:58 +0100
commit8fda04449f5ff89af6fd2a7b1ca071806bc7def7 (patch)
tree954d8969400289c12e989ee86273e8478ad32263 /payloads/libpayload/include/sysinfo.h
parent96d14ac1c9b81cf1347c3f2c66f847d6d4527b8e (diff)
libpayload: Drop CONFIG_LP_CHROMEOS
This is adding complexity to the code more than it saves space, plus some of the tables could potentially be interesting outside of the ChromeOS context. Change-Id: I4bf24608f3e26d3b7871a5031ae8f03bc2c8c21f Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/14070 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'payloads/libpayload/include/sysinfo.h')
-rw-r--r--payloads/libpayload/include/sysinfo.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/payloads/libpayload/include/sysinfo.h b/payloads/libpayload/include/sysinfo.h
index b97ae14771..2110d8803f 100644
--- a/payloads/libpayload/include/sysinfo.h
+++ b/payloads/libpayload/include/sysinfo.h
@@ -66,10 +66,8 @@ struct sysinfo_t {
u32 cmos_range_start;
u32 cmos_range_end;
u32 cmos_checksum_location;
-#if IS_ENABLED(CONFIG_LP_CHROMEOS)
u32 vbnv_start;
u32 vbnv_size;
-#endif
char *version;
char *extra_version;
@@ -86,25 +84,21 @@ struct sysinfo_t {
struct cb_framebuffer *framebuffer;
-#if IS_ENABLED(CONFIG_LP_CHROMEOS)
int num_gpios;
struct cb_gpio gpios[SYSINFO_MAX_GPIOS];
int num_macs;
struct mac_address macs[SYSINFO_MAX_MACS];
char *serialno;
-#endif
unsigned long *mbtable; /** Pointer to the multiboot table */
struct cb_header *header;
struct cb_mainboard *mainboard;
-#if IS_ENABLED(CONFIG_LP_CHROMEOS)
void *vboot_handoff;
u32 vboot_handoff_size;
void *vdat_addr;
u32 vdat_size;
-#endif
#if IS_ENABLED(CONFIG_LP_ARCH_X86)
int x86_rom_var_mtrr_index;