spring cleaning. move platform independent console code,

and drop setup_before_car.c. 

The third part of the spring cleaning will get a proper patch to the
list at some point.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@237 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Stefan Reinauer 2007-03-10 18:39:22 +00:00
parent 0f9ac8eb8b
commit b1149de700
3 changed files with 2 additions and 41 deletions

View file

@ -68,11 +68,10 @@ $(obj)/linuxbios.lar: $(obj)/util/lar/lar lzma $(obj)/linuxbios.initram $(obj)/l
# initram module and the various stages and payload files.
#
STAGE0_CONSOLE_OBJ = $(obj)/vtxprintf.o $(obj)/vsprintf.o
STAGE0_CONSOLE_OBJ = $(obj)/vtxprintf.o $(obj)/vsprintf.o $(obj)/console.o
STAGE0_LIB_OBJ = $(obj)/uart8250.o $(obj)/mem.o $(obj)/elfboot.o \
$(obj)/lar.o
STAGE0_ARCH_X86_OBJ = $(obj)/cachemain.o $(obj)/console.o $(obj)/serial.o \
$(obj)/archelfboot.o
STAGE0_ARCH_X86_OBJ = $(obj)/cachemain.o $(obj)/serial.o $(obj)/archelfboot.o
ifeq ($(CONFIG_CAR_TYPE_I586),y)

View file

@ -1,38 +0,0 @@
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <arch/types.h>
#include <device/pci_def.h>
#include <device/pci_ids.h>
#include <arch/io.h>
#include <device/pnp_def.h>
/*
*/
void udelay(int usecs)
{
int i;
for (i = 0; i < usecs; i++)
outb(i & 0xff, 0x80);
}
void setup_before_car(void)
{
outb(5, 0x80);
//uart_init();
//console_init();
}