u-boot/drivers/misc
Vadim Bendebury 98ab435f73 x86: Add CBMEM console driver for coreboot
This patch builds upon the recently introduced CBMEM console
feature of coreboot.

CBMEM console uses a memry area allocated by coreboot to store
the console output. The memory area has a certain structure,
which allows to determine where the buffer is, the buffer size
and the location of the pointer in the buffer. This allows
different phases of the firmware (rom based coreboot, ram based
coreboot, u-boot after relocation with this change) to keep
adding text to the same buffer.

Note that this patch introduces a new console driver and adds the
driver to the list of drivers to be used for console output, i.e.
it engages only after u-boot relocates. Usiong CBMEM console for
capturing the pre-relocation console output will be done under a
separate change.

>From Linux, run the cbmem.py utility (which is a part of the coreboot
package) to see the output, e.g.:

vvvvvvvvvvvvvvvvv
SCSI:  AHCI 0001.0300 32 slots 6 ports ? Gbps 0xf impl SATA mode
flags: 64bit ilck stag led pmp pio
...
Magic signature found
Kernel command line: "cros_secure  quiet loglevel=1 console=tty2...
^^^^^^^^^^^^^^^^^

Note that the entire u-boot output fits into the buffer only if
the coreboot log level is reduced from the most verbose. Ether
the buffer size will have to be increased, or the coreboot
verbosity permanently reduced.

Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
2012-11-30 13:44:03 -08:00
..
ali512x.c Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
ds4510.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
gpio_led.c gpio_led: add gpio_request to __led_init 2010-07-12 11:30:52 -04:00
Makefile x86: Add CBMEM console driver for coreboot 2012-11-30 13:44:03 -08:00
mc9sdz60.c Add basic support for Freescale's mc9sdz60 2011-02-02 00:54:43 +01:00
ns87308.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
pdsp188x.c led_display: split led display support into generic and hw-dependent parts 2010-10-12 22:44:33 +02:00
status_led.c drivers/misc: Move conditional compilation to Makefile 2008-08-13 01:40:40 +02:00
twl4030_led.c TWL4030: make LEDs selectable for twl4030_led_init() 2010-01-04 08:48:15 -06:00