Files
system76-coreboot/src/drivers/ocp/vpd/Kconfig
Johnny Lin 2bb5ecbcd6 drivers/ocp/vpd: Overwrite Linux payload's kernel command via VPD
Add a new Kconfig LINUXPAYLOAD_CMDLINE_VPD_OVERWRITE that can overwrite
Linux payload's kernel command line from VPD. Currently only overwrite
Linux kernel command line 'loglevel' via VPD key 'kernel_log_level'.

TESTED=On OCP Delta Lake, with kernel_log_level set to 0, warm reboot
time can see about 10 seconds improvement comparing to kernel log level
7.

Change-Id: Idf06c7ab9958c940fc3b23d560bb9dade991a6da
Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75510
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
2023-06-01 13:12:18 +00:00

16 lines
451 B
Plaintext

config OCP_VPD
bool
default n
depends on VPD
help
It implements functions that get common VPD variables for OCP projects.
config LINUXPAYLOAD_CMDLINE_VPD_OVERWRITE
bool
default n
depends on VPD
help
Overwrite Linux payload's kernel command line by using VPD. Currently only
overwrite the value of kernel command line 'loglevel'. The Linux kernel command
line data is detected in the last segment loaded in memory and overwritten.