- Fix shortcoming in Kconfig when handling multiple "choice"s
- move some variables where they belong Signed-off-by: Stefan Reinauer <stepan@coreboot.org> Acked-by: Stefan Reinauer <stepan@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6186 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
		
				
					committed by
					
						 Stefan Reinauer
						Stefan Reinauer
					
				
			
			
				
	
			
			
			
						parent
						
							259a39f393
						
					
				
				
					commit
					8aedcbc436
				
			| @@ -1,9 +1,3 @@ | ||||
| # This option is used to set the architecture of a mainboard to X86. | ||||
| # It is usually set in mainboard/*/Kconfig. | ||||
| config ARCH_X86 | ||||
| 	bool | ||||
| 	default n | ||||
|  | ||||
| # This is an SMP option. It relates to starting up APs. | ||||
| # It is usually set in mainboard/*/Kconfig. | ||||
| # TODO: Improve description. | ||||
| @@ -53,23 +47,26 @@ config BIG_BOOTBLOCK | ||||
| 	default n if TINY_BOOTBLOCK | ||||
| 	default y | ||||
|  | ||||
| # We had to rename the choice options under arch/ because otherwise | ||||
| # the options would conflict between different architectures despite | ||||
| # the if ARCH_xxx guarding the arch/xxx/Kconfig sourcing. | ||||
| choice | ||||
| 	prompt "Bootblock behaviour" | ||||
| 	default BOOTBLOCK_SIMPLE | ||||
| 	default X86_BOOTBLOCK_SIMPLE | ||||
| 	depends on TINY_BOOTBLOCK | ||||
|  | ||||
| config BOOTBLOCK_SIMPLE | ||||
| config X86_BOOTBLOCK_SIMPLE | ||||
| 	bool "Always load fallback" | ||||
|  | ||||
| config BOOTBLOCK_NORMAL | ||||
| config X86_BOOTBLOCK_NORMAL | ||||
| 	bool "Switch to normal if CMOS says so" | ||||
|  | ||||
| endchoice | ||||
|  | ||||
| config BOOTBLOCK_SOURCE | ||||
| 	string | ||||
| 	default "bootblock_simple.c" if BOOTBLOCK_SIMPLE | ||||
| 	default "bootblock_normal.c" if BOOTBLOCK_NORMAL | ||||
| 	default "bootblock_simple.c" if X86_BOOTBLOCK_SIMPLE | ||||
| 	default "bootblock_normal.c" if X86_BOOTBLOCK_NORMAL | ||||
|  | ||||
| config UPDATE_IMAGE | ||||
| 	bool "Update existing coreboot.rom image" | ||||
| @@ -85,6 +82,10 @@ config ROMCC | ||||
| 	bool | ||||
| 	default n | ||||
|  | ||||
| config PC80_SYSTEM | ||||
| 	bool | ||||
| 	default y | ||||
|  | ||||
| config BOOTBLOCK_NORTHBRIDGE_INIT | ||||
| 	string | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user