coreboot-kgpe-d16/src
Werner Zeh 2db7922cca siemens/nc_fpga: Modify macro FPGA_SET_PARAM to avoid hwilib errors
The macro FPGA_SET_PARAM was introduced to make the setting of different
FPGA registers with the appropriate values from hwinfo more
transparent. The hwilib takes care about the size of the provided buffer
where the requested value should be stored in. The fields in hwinfo have
not always the same size as the matching registers in the FPGA. So to
avoid errors resulting in a too small buffer when calling hwilib_get_field()
the buffer is now fixed to 32 bit and will be casted to the destination
type when the value is written into the FPGA register.

Changing the field size in hwilib would be the wrong way as the defined
lengths are specified this way to be expandable in the future.

In addition the number of maximum supported temperature sensors is
increased to 8 as the FPGA now supports more.

Change-Id: I0c697106783158420708a973c3cff2be90fa4fce
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/20471
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2017-07-11 14:00:11 +00:00
..
acpi src/acpi: Capitalize ACPI and SATA 2016-07-31 19:25:40 +02:00
arch x86/acpigen: Fix acpigen_write_field 2017-07-07 21:09:53 +00:00
commonlib riscv: Update the gcc built-in macro __riscv__ 2017-07-01 00:29:38 +00:00
console src/console: add IS_ENABLED() around Kconfig symbol references 2017-06-12 04:08:55 +02:00
cpu cpu/intel/haswell: Fix undefined behavior 2017-07-06 20:19:25 +00:00
device src/device: add IS_ENABLED() around Kconfig symbol references 2017-06-28 17:48:57 +00:00
drivers siemens/nc_fpga: Modify macro FPGA_SET_PARAM to avoid hwilib errors 2017-07-11 14:00:11 +00:00
ec ec/mec1308: Fix fan control ACPI 2017-07-08 19:06:00 +00:00
include smbios: Correct the system enclosure types 2017-07-06 08:51:24 +00:00
lib src/lib: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:19:37 +00:00
mainboard binaryPI boards: Drop unused header 2017-07-11 06:50:19 +00:00
northbridge binaryPI: Define AGESA blob in CBFS as Kconfig string 2017-07-11 06:50:47 +00:00
soc soc/intel/skylake: Fix PMC address range setup for PCH-H 2017-07-11 11:35:10 +00:00
southbridge southbridge/intel/lynxpoint: Fix undefined behavior 2017-07-10 18:15:11 +00:00
superio superio/ite/it8716f: Update init_ec 2017-07-08 19:02:13 +00:00
vboot vboot: Separate board name and version number in FWID with a dot 2017-04-29 01:44:10 +02:00
vendorcode binaryPI: Define AGESA blob in CBFS as Kconfig string 2017-07-11 06:50:47 +00:00
Kconfig Add support for Undefined Behavior Sanitizer 2017-06-14 19:56:59 +02:00