blob: ae09cd20650244683e64692365bffd9e9c57a08c [file] [log] [blame]
Stefan Reinauer1a8b7bf2015-06-30 15:58:56 -07001if PAYLOAD_SEABIOS
2
3choice
4 prompt "SeaBIOS version"
5 default SEABIOS_STABLE
6
7config SEABIOS_STABLE
Philipp Deppenwiese40843ef2017-01-04 00:30:38 +01008 bool "1.10.1"
Stefan Reinauer1a8b7bf2015-06-30 15:58:56 -07009 help
10 Stable SeaBIOS version
11config SEABIOS_MASTER
12 bool "master"
13 help
14 Newest SeaBIOS version
Antonello Dettori3aa91dc2016-03-07 23:56:57 +000015config SEABIOS_REVISION
16 bool "git revision"
17 help
18 Select this option if you have a specific commit or branch
19 that you want to use as the revision from which to
20 build SeaBIOS.
21
22 You will be able to specify the name of a branch or a commit id
23 later.
Stefan Reinauer1a8b7bf2015-06-30 15:58:56 -070024
25endchoice
26
Antonello Dettori3aa91dc2016-03-07 23:56:57 +000027config SEABIOS_REVISION_ID
28 string "Insert a commit's SHA-1 or a branch name"
29 depends on SEABIOS_REVISION
30 default "origin/master"
31 help
32 The commit's SHA-1 or branch name of the revision to use.
33
Stefan Reinauer1a8b7bf2015-06-30 15:58:56 -070034config SEABIOS_PS2_TIMEOUT
35 prompt "PS/2 keyboard controller initialization timeout (milliseconds)"
36 default 0
Stefan Reinauer1a8b7bf2015-06-30 15:58:56 -070037 int
38 help
39 Some PS/2 keyboard controllers don't respond to commands immediately
40 after powering on. This specifies how long SeaBIOS will wait for the
41 keyboard controller to become ready before giving up.
42
43config SEABIOS_THREAD_OPTIONROMS
44 prompt "Hardware init during option ROM execution"
45 default n
46 bool
47 help
48 Allow hardware init to run in parallel with optionrom execution.
49
50 This can reduce boot time, but can cause some timing
51 variations during option ROM code execution. It is not
52 known if all option ROMs will behave properly with this option.
53
Stefan Reinauer1a8b7bf2015-06-30 15:58:56 -070054config SEABIOS_VGA_COREBOOT
55 prompt "Include generated option rom that implements legacy VGA BIOS compatibility"
Arthur Heymans46dd4672016-10-25 17:11:16 +020056 default y if !VENDOR_EMULATION
Arthur Heymansf2b8d7c2016-10-10 23:59:05 +020057 depends on !VGA_BIOS && MAINBOARD_DO_NATIVE_VGA_INIT
Stefan Reinauer1a8b7bf2015-06-30 15:58:56 -070058 bool
59 help
60 Coreboot can initialize the GPU of some mainboards.
Martin Roth99d05c72015-11-28 15:44:34 -070061
Stefan Reinauer1a8b7bf2015-06-30 15:58:56 -070062 After initializing the GPU, the information about it can be passed to the payload.
63 Provide an option rom that implements this legacy VGA BIOS compatibility requirement.
64
Martin Roth99d05c72015-11-28 15:44:34 -070065config PAYLOAD_CONFIGFILE
66 string "SeaBIOS config file"
67 default ""
68 help
69 This option allows a platform to set Kconfig options for a basic
70 SeaBIOS payload. In general, if the option is used, the default
71 would be "$(top)/src/mainboard/$(MAINBOARDDIR)/config_seabios"
72
Martin Rothbc46ac52016-06-05 10:30:34 -060073config SEABIOS_BOOTORDER_FILE
74 string "SeaBIOS bootorder file"
75 default ""
76 help
77 Add a SeaBIOS bootorder file. From the wiki:
78 "The bootorder file may be used to configure the boot up order. The file
79 should be ASCII text and contain one line per boot method. The description
80 of each boot method follows an Open Firmware device path format. SeaBIOS
81 will attempt to boot from each item in the file - first line of the file
82 first."
83
84 See: https://www.coreboot.org/SeaBIOS#Configuring_boot_order
85
86 If used, a typical value would be:
87 $(top)/src/mainboard/$(MAINBOARDDIR)/bootorder
88
Stefan Reinauer1a8b7bf2015-06-30 15:58:56 -070089config PAYLOAD_FILE
90 default "payloads/external/SeaBIOS/seabios/out/bios.bin.elf"
91
92config PAYLOAD_VGABIOS_FILE
93 string
94 depends on SEABIOS_VGA_COREBOOT
95 default "payloads/external/SeaBIOS/seabios/out/vgabios.bin"
96
Stefan Taunerc48d7912017-01-15 11:49:25 +010097config SEABIOS_DEBUG_LEVEL
Martin Roth8556db32017-01-23 14:56:55 -070098 int "SeaBIOS debug level (verbosity)"
99 default -1
Stefan Taunerc48d7912017-01-15 11:49:25 +0100100 help
Martin Roth8556db32017-01-23 14:56:55 -0700101 The higher the number, the more verbose SeaBIOS will be. See the table
102 below for the current values corresponding to various items as of SeaBIOS
103 version 1.10.1. Set this value to -1 to use SeaBIOS' default.
Stefan Taunerc48d7912017-01-15 11:49:25 +0100104
Martin Roth8556db32017-01-23 14:56:55 -0700105 Output at various SeaBIOS log levels:
106 level 0 - Logging disabled
107 level 1 - Basic output, interrupts 5, 18h, 19h, 40h, SMP, PNP, PMM
108 level 2 - AHCI, Floppy, Basic ps2, interrupts 11h, 12h, 14h, 17h
109 level 3 - bootsplash, initializations, SeaBIOS VGA BIOS interrupts
110 level 4 - bios tables, more optionrom
111 level 5 - Extra bootsplash, more XHCI
112 level 6 - ATA commands, extra optionrom
113 level 7 - extra ps2 commands, more OHCI & EHCI
114 level 8 - extra malloc info, more AHCI
115 level 9 - interrupts 15h, 16h, 1ah, APM, PCI, SMIs, PCIBIOS,
116 USB-HID commands, SDcard commands, Floppy commands
117 level 10 - interrupt 13h (Drives other than floppy)
118 level 20 - interrupt 10h (Display)
119
120comment "Using default SeaBIOS log level"
121 depends on SEABIOS_DEBUG_LEVEL = -1
122
123comment "SeaBIOS logging disabled"
124 depends on SEABIOS_DEBUG_LEVEL = 0
125
Stefan Reinauer1a8b7bf2015-06-30 15:58:56 -0700126endif