Am 27.12.2010 01:06, schrieb Idwer Vollering:
Nice. Can you extend it so the serial port number, "#define DEBUG_PORT PORT_SERIAL1", in $seabios_dir/src/output.c is shared with CONFIG_CONSOLE_SERIAL_COM1 in coreboot's .config, and so on for COM2..4 ? Dito for "#define CONFIG_DEBUG_LEVEL 1" in $seabios_dir/src/config.h and "CONFIG_DEFAULT_CONSOLE_LOGLEVEL=8" and/or CONFIG_MAXIMUM_CONSOLE_LOGLEVEL in .config.
Been thinking of extending that scheme so that we mirror seabios' config.h in Kconfig and generate config.h from coreboot's configuration. Something like CONFIG_SEABIOS_* (in coreboot's config) to CONFIG_* (for seabios), and some of the values can default to match coreboot's values.
Patrick