[coreboot] southbridge/intel/i82801gx/i82801gx.h

Riko Ho antonius.riko at gmail.com
Mon Oct 17 12:48:04 CEST 2016


continuing the chat,
for displaying "Hello world" on serial

#define CLKIN_DEV PNP_DEV(0x2e, IT8718F_GPIO)

void mainboard_romstage_entry(unsigned long bist)
{
        ite_conf_clkin(CLKIN_DEV, ITE_UART_CLK_PREDIVIDE_24);

        ite_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);

....
How can I write "Hello world !" ? and where ?

Could it be :

        ite_conf_clkin(CLKIN_DEV, ITE_UART_CLK_PREDIVIDE_24);

        ite_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);

        printk(" HELLO WORLD ! FROM COREBOOT...");
......
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20161017/621acde4/attachment.html>


More information about the coreboot mailing list