From ab8ff84402e97d544b519ec17a2ee184651b8af6 Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Sat, 5 Jun 2004 14:54:46 +0000 Subject: Add extra phase before memory init. Rename sdram_init to memory_init NOTE: need to test sandpoint and ep boards! git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1603 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/embeddedplanet/ep405pc/init.c | 5 +++++ src/mainboard/motorola/sandpoint/init.c | 13 +++++-------- src/mainboard/totalimpact/briq/init.c | 7 ++++++- 3 files changed, 16 insertions(+), 9 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/embeddedplanet/ep405pc/init.c b/src/mainboard/embeddedplanet/ep405pc/init.c index 3f567a5c17..2359585e44 100644 --- a/src/mainboard/embeddedplanet/ep405pc/init.c +++ b/src/mainboard/embeddedplanet/ep405pc/init.c @@ -107,3 +107,8 @@ board_init(void) udelay(100000); out_8((unsigned char *)0xF4000009, 0x0E); } + +void +board_init2(void) +{ +} diff --git a/src/mainboard/motorola/sandpoint/init.c b/src/mainboard/motorola/sandpoint/init.c index 3a9993d785..816412b8f7 100644 --- a/src/mainboard/motorola/sandpoint/init.c +++ b/src/mainboard/motorola/sandpoint/init.c @@ -45,14 +45,11 @@ void pnp_output(char address, char data) void board_init(void) { - /* - * Configure FLASH - */ +} - /* - * Configure NVTRC/BCSR - */ - +void +board_init2(void) +{ /* * Enable UART0 * @@ -67,5 +64,5 @@ board_init(void) pnp_output(0x61, TTYS0_BASE & 0xFF); /* IO Base */ pnp_output(0x30, 1); /* Activate */ uart8250_init(TTYS0_BASE, 115200/TTYS0_BAUD, TTYS0_LCS); - printk_info("Board initialized...\n"); + printk_info("Sandpoint initialized...\n"); } diff --git a/src/mainboard/totalimpact/briq/init.c b/src/mainboard/totalimpact/briq/init.c index 22e7c1370b..d3c5b1959d 100644 --- a/src/mainboard/totalimpact/briq/init.c +++ b/src/mainboard/totalimpact/briq/init.c @@ -31,11 +31,16 @@ void board_init(void) +{ +} + +void +board_init2(void) { /* * Enable UART */ uart8250_init(TTYS0_BASE, TTYS0_DIV, TTYS0_LCS); - printk_info("briQ board initialized...\n"); + printk_info("briQ initialized...\n"); } -- cgit v1.2.3