mirror of
				https://review.coreboot.org/flashrom.git
				synced 2025-10-31 21:30:42 +01:00 
			
		
		
		
	 db43ab2989
			
		
	
	db43ab2989
	
	
	
		
			
			Add initial support for System Management Agent (SMA) programmer. SMA is a SOC which is working as a side band management on Nvidia server board. One of its functionality is to flash firmware to other components. Test: 1. Build flashrom with this change. 2. Run operation: erase, write, read 3. All operations completed with expected performance. NV_SMA_SPI has been tested with the following SPI flash models: w25r128jw w25r64jv w25q16v Change-Id: I6b2522788db3dcee2b30faff29f605cede8c0eaf Co-Developed-by: Gilbert Chen <gilbertc@nvidia.com> Co-Developed-by: Willie Thai <wthai@nvidia.com> Signed-off-by: Willie Thai <wthai@nvidia.com> Signed-off-by: Gilbert Chen <gilbertc@nvidia.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/88816 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Peter Marheine <pmarheine@chromium.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
		
			
				
	
	
		
			34 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			2.9 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', 'nv_sma_spi', 'ogp_spi', 'parade_lspcon', 'pickit2_spi', 'pony_spi', 'raiden_debug_spi',
 | |
|         'rayer_spi', 'realtek_mst_i2c_spi', 'satamv', 'satasii', 'serprog', 'spidriver', 'stlinkv3_spi',
 | |
|         'usbblaster_spi',
 | |
| ], description: 'Active programmers')
 | |
| option('llvm_cov', type : 'feature', value : 'disabled', description : 'build for llvm code coverage')
 | |
| 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')
 | |
| option('log_message_length_limit', type : 'integer', min : 64, max : 1024, value : 256,
 | |
|        description : 'Log message length limit for v2 logging API')
 | |
| 
 | |
| # Documentation options
 | |
| 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('generate_authors_list', type : 'feature', value : 'auto', description : 'include automatically-generated lists of authors in the HTML documentation')
 |