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>
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user