Fix typos in src/console/Kconfig
[coreboot.git] / src / console / Kconfig
index 02244d7ded1dc1357b205247f674abc84282b3d6..f1129a1279321884dac54777cb7a8ba487a53f71 100644 (file)
@@ -190,6 +190,33 @@ config CONSOLE_NE2K_IO_PORT
          32 bytes of IO spaces will be used (and align on 32 bytes
          boundary, qemu needs broader align)
 
          32 bytes of IO spaces will be used (and align on 32 bytes
          boundary, qemu needs broader align)
 
+config CONSOLE_CBMEM
+       depends on EARLY_CBMEM_INIT
+       bool "Send console output to a CBMEM buffer"
+       default n
+       help
+         Enable this to save the console output in a CBMEM buffer. This would
+         allow to see coreboot console output from Linux space.
+
+config CONSOLE_CBMEM_BUFFER_SIZE
+       depends on CONSOLE_CBMEM
+       hex "Room allocated for console output in CBMEM"
+       default 0x10000
+       help
+         Space allocated for console output storage in CBMEM. The default
+         value (64K or 0x10000 bytes) is large enough to accommodate
+         even the BIOS_SPEW level.
+
+config CONSOLE_CAR_BUFFER_SIZE
+       depends on CONSOLE_CBMEM
+       hex "Room allocated for console output in Cache as RAM"
+       default 0xc00
+       help
+         Console is used before RAM is initialized. This is the room reserved
+         in the DCACHE based RAM to keep console output before it can be
+         saved in a CBMEM buffer. 3K bytes should be enough even for the
+         BIOS_SPEW level.
+
 
 choice
        prompt "Maximum console log level"
 
 choice
        prompt "Maximum console log level"
@@ -333,6 +360,10 @@ config NO_POST
        bool "Don't show any POST codes"
        default n
 
        bool "Don't show any POST codes"
        default n
 
+config POST_PORT
+       hex
+       default 0x80
+
 config CONSOLE_POST
        bool "Show POST codes on the debug console"
        depends on !NO_POST
 config CONSOLE_POST
        bool "Show POST codes on the debug console"
        depends on !NO_POST