Drop dead code.

Purely cosmetic change in the license header of
mainboard/emulation/qemu-x86/initram.c.

Constify constant strings.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@232 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Uwe Hermann 2007-03-09 16:05:03 +00:00
commit 480c58f441
2 changed files with 4 additions and 17 deletions

View file

@ -4,8 +4,8 @@
* Copyright (C) 2007 Stefan Reinauer <stepan@coresystems.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@ -17,19 +17,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <arch/types.h>
#include <arch/io.h>
#include <console/loglevel.h>
#include <console/console.h>
int printk(int msg_level, const char *fmt, ...);
void die(const char *msg);
void post_code(u8 value);
int main(void)
{
printk(BIOS_INFO, "RAM init code started.\n");
printk(BIOS_INFO, "Nothing to do.\n");
return 0;

View file

@ -16,14 +16,9 @@
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <arch/types.h>
// #include "dtc.h"
char *mainboard_vendor = "emulation";
char *mainboard_part_number = "qemu-x86";
const char *mainboard_vendor = "emulation";
const char *mainboard_part_number = "qemu-x86";
static void enable_dev(struct device *dev)
{