CBFS_VERIFICATION was depending on the VBOOT instead of on VBOOT_LIB, which made enabling CBFS_VERIFICATION impossible. VBOOT is not available, like in the main coreboot, but is was changed to VBOOT_LIB, and was not correctly adjusted in patch instroducing CBFS_VERIFICAITON option. Change-Id: Ie23bad5f0ed3faf17a2ed7a3ad99310ee803edd2 Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61031 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Julius Werner <jwerner@chromium.org>
		
			
				
	
	
		
			32 lines
		
	
	
		
			797 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			797 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ## SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later
 | |
| 
 | |
| config CBFS
 | |
| 	bool "CBFS support"
 | |
| 	default y
 | |
| 	help
 | |
| 	  CBFS is the archive format of coreboot
 | |
| 
 | |
| if CBFS
 | |
| 
 | |
| config DEBUG_CBFS
 | |
| 	bool "Output verbose CBFS debug messages"
 | |
| 	default n
 | |
| 	help
 | |
| 	  This option enables additional CBFS related debug messages.
 | |
| 
 | |
| config ENABLE_CBFS_FALLBACK
 | |
| 	bool "Fallback to RO (COREBOOT) region"
 | |
| 	default n
 | |
| 	help
 | |
| 	  When this option is enabled, the CBFS code will look for a file in the
 | |
| 	  RO (COREBOOT) region, if it isn't available in the active RW region.
 | |
| 	  This option makes sense only if CONFIG_VBOOT was enabled in the coreboot.
 | |
| 
 | |
| config CBFS_VERIFICATION
 | |
| 	bool "Enable CBFS verification"
 | |
| 	depends on VBOOT_LIB
 | |
| 	help
 | |
| 	  This option enables hash verification of CBFS files in RO (COREBOOT) and RW regions.
 | |
| 
 | |
| endif
 |