2 * This file is part of the libpayload project.
4 * Copyright (C) 2008 Advanced Micro Devices, Inc.
6 * SPDX-License-Identifier: BSD-3-Clause
9 #ifndef _COREBOOT_SYSINFO_H
10 #define _COREBOOT_SYSINFO_H
15 #include <asm/arch/tables.h>
17 /* Allow a maximum of 16 memory range definitions. */
18 #define SYSINFO_MAX_MEM_RANGES 16
19 /* Allow a maximum of 8 GPIOs */
20 #define SYSINFO_MAX_GPIOS 8
25 unsigned long long base;
26 unsigned long long size;
28 } memrange[SYSINFO_MAX_MEM_RANGES];
32 u32 cmos_checksum_location;
47 struct cb_framebuffer *framebuffer;
50 struct cb_gpio gpios[SYSINFO_MAX_GPIOS];
57 struct cb_serial *serial;
60 extern struct sysinfo_t lib_sysinfo;