From 8fda04449f5ff89af6fd2a7b1ca071806bc7def7 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 12 Mar 2016 12:12:14 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/14070 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- payloads/libpayload/include/sysinfo.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'payloads/libpayload/include') 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; -- cgit v1.2.3