mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-26 22:52:34 +02:00

Added optional support for all the commands specified in JESD260. Added a new optional dependency to openssls libcrypto. Added parsing for the rpmc parameter sfdp table. Added necessary rpmc parameter information to flashchips struct and the flash hardening feature to enable rpmc commands. Enables future use of these commands in the cli_client and also libflashrom. Change-Id: I6ab3d0446e9fd674b20550fdbfaf499b8d4a9b38 Signed-off-by: Matti Finder <matti.finder@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/84934 Reviewed-by: Peter Marheine <pmarheine@chromium.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
28 lines
2.5 KiB
Meson
28 lines
2.5 KiB
Meson
option('classic_cli', type : 'feature', value : 'enabled', description : 'classic flashrom cli binary')
|
|
option('default_programmer_name', type : 'string', description : 'default programmer')
|
|
option('default_programmer_args', type : 'string', description : 'default programmer arguments')
|
|
option('ich_descriptors_tool', type : 'feature', value : 'auto', description : 'Build ich_descriptors_tool')
|
|
option('bash_completion', type : 'feature', value : 'auto', description : 'Install bash completion')
|
|
option('tests', type : 'feature', value : 'auto', description : 'Build unit tests')
|
|
option('use_internal_dmi', type : 'boolean', value : true)
|
|
option('programmer', type : 'array', value : ['auto'], choices : [
|
|
'auto', 'all',
|
|
'group_internal', 'group_external',
|
|
'group_ftdi', 'group_i2c', 'group_jlink', 'group_pci', 'group_serial', 'group_usb',
|
|
'asm106x', 'atahpt', 'atapromise', 'atavia', 'buspirate_spi', 'ch341a_spi', 'ch347_spi','dediprog',
|
|
'developerbox_spi', 'digilent_spi', 'dirtyjtag_spi', 'drkaiser', 'dummy', 'ft2232_spi',
|
|
'gfxnvidia', 'internal', 'it8212', 'jlink_spi', 'linux_mtd', 'linux_spi', 'mediatek_i2c_spi',
|
|
'mstarddc_spi', 'ni845x_spi', 'nic3com', 'nicintel', 'nicintel_eeprom', 'nicintel_spi', 'nicnatsemi',
|
|
'nicrealtek', 'ogp_spi', 'parade_lspcon', 'pickit2_spi', 'pony_spi', 'raiden_debug_spi',
|
|
'rayer_spi', 'realtek_mst_i2c_spi', 'satamv', 'satasii', 'serprog', 'stlinkv3_spi', 'usbblaster_spi',
|
|
], description: 'Active programmers')
|
|
option('llvm_cov', type : 'feature', value : 'disabled', description : 'build for llvm code coverage')
|
|
option('man-pages', type : 'feature', value : 'auto', description : 'build the man-page for classic_cli')
|
|
option('documentation', type : 'feature', value : 'auto', description : 'build the html documentation')
|
|
option('ni845x_search_path', type : 'string', value : 'C:\Program Files (x86)\National Instruments\Ni-845x\MS Visual C',
|
|
description : 'Path to search for the proprietary ni845x library and header (32-bit Windows only)')
|
|
option('delay_minimum_sleep_us', type : 'integer', min : 0, value : 100,
|
|
description : 'Minimum time in microseconds to suspend execution for (rather than polling) when a delay is required.'
|
|
+ ' Larger values may perform better on machines with low timer resolution, at the cost of increased power.')
|
|
option('rpmc', type : 'feature', value : 'auto', description : 'Support for Replay Protected Monotonic Counter (RPMC) commands as specified by JESD260')
|