move pnp code
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1796 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
d47d05bd0a
commit
d62a09c791
|
@ -44,11 +44,6 @@ void pnp_output(char address, char data)
|
||||||
|
|
||||||
void
|
void
|
||||||
board_init(void)
|
board_init(void)
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
board_init2(void)
|
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Enable UART0
|
* Enable UART0
|
||||||
|
@ -64,5 +59,10 @@ board_init2(void)
|
||||||
pnp_output(0x61, TTYS0_BASE & 0xFF); /* IO Base */
|
pnp_output(0x61, TTYS0_BASE & 0xFF); /* IO Base */
|
||||||
pnp_output(0x30, 1); /* Activate */
|
pnp_output(0x30, 1); /* Activate */
|
||||||
uart8250_init(TTYS0_BASE, 115200/TTYS0_BAUD, TTYS0_LCS);
|
uart8250_init(TTYS0_BASE, 115200/TTYS0_BAUD, TTYS0_LCS);
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
board_init2(void)
|
||||||
|
{
|
||||||
printk_info("Sandpoint initialized...\n");
|
printk_info("Sandpoint initialized...\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue