rename linuxbios_* files in utils repository.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3058 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
ca374d455c
commit
7223ab7c4a
|
@ -23,7 +23,7 @@ endif
|
||||||
OBJS = chipset_enable.o board_enable.o udelay.o jedec.o sst28sf040.o \
|
OBJS = chipset_enable.o board_enable.o udelay.o jedec.o sst28sf040.o \
|
||||||
am29f040b.o mx29f002.o sst39sf020.o m29f400bt.o w49f002u.o \
|
am29f040b.o mx29f002.o sst39sf020.o m29f400bt.o w49f002u.o \
|
||||||
82802ab.o msys_doc.o pm49fl004.o sst49lf040.o sst49lfxxxc.o \
|
82802ab.o msys_doc.o pm49fl004.o sst49lf040.o sst49lfxxxc.o \
|
||||||
sst_fwhub.o layout.o lbtable.o flashchips.o flashrom.o \
|
sst_fwhub.o layout.o cbtable.o flashchips.o flashrom.o \
|
||||||
sharplhf00l04.o w29ee011.o spi.o
|
sharplhf00l04.o w29ee011.o spi.o
|
||||||
|
|
||||||
all: pciutils dep $(PROGRAM)
|
all: pciutils dep $(PROGRAM)
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include "flash.h"
|
#include "flash.h"
|
||||||
#include "linuxbios_tables.h"
|
#include "coreboot_tables.h"
|
||||||
|
|
||||||
char *lb_part = NULL, *lb_vendor = NULL;
|
char *lb_part = NULL, *lb_vendor = NULL;
|
||||||
|
|
|
@ -7,7 +7,7 @@ LDFLAGS =
|
||||||
OBJS = common.o compute_ip_checksum.o hexdump.o cmos_lowlevel.o \
|
OBJS = common.o compute_ip_checksum.o hexdump.o cmos_lowlevel.o \
|
||||||
reg_expr.o layout.o layout_file.o lbtable.o cmos_ops.o input_file.o \
|
reg_expr.o layout.o layout_file.o lbtable.o cmos_ops.o input_file.o \
|
||||||
opts.o lxbios.o
|
opts.o lxbios.o
|
||||||
HEADERS = common.h ip_checksum.h linuxbios_tables.h hexdump.h \
|
HEADERS = common.h ip_checksum.h coreboot_tables.h hexdump.h \
|
||||||
cmos_lowlevel.h reg_expr.h layout.h layout_file.h lbtable.h \
|
cmos_lowlevel.h reg_expr.h layout.h layout_file.h lbtable.h \
|
||||||
cmos_ops.h input_file.h opts.h
|
cmos_ops.h input_file.h opts.h
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
/*****************************************************************************\
|
/*****************************************************************************\
|
||||||
* linuxbios_tables.h
|
* coreboot_tables.h
|
||||||
* $Id: linuxbios_tables.h,v 1.1.1.1 2005/12/02 22:35:19 dsp_llnl Exp $
|
|
||||||
\*****************************************************************************/
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef COREBOOT_TABLES_H
|
#ifndef COREBOOT_TABLES_H
|
|
@ -33,7 +33,7 @@
|
||||||
#define LXBIOS_LAYOUT_H
|
#define LXBIOS_LAYOUT_H
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "linuxbios_tables.h"
|
#include "coreboot_tables.h"
|
||||||
|
|
||||||
#define LAYOUT_ENTRY_OVERLAP (LAYOUT_RESULT_START + 0)
|
#define LAYOUT_ENTRY_OVERLAP (LAYOUT_RESULT_START + 0)
|
||||||
#define LAYOUT_ENTRY_BAD_LENGTH (LAYOUT_RESULT_START + 1)
|
#define LAYOUT_ENTRY_BAD_LENGTH (LAYOUT_RESULT_START + 1)
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#define LXBIOS_LAYOUT_FILE_H
|
#define LXBIOS_LAYOUT_FILE_H
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "linuxbios_tables.h"
|
#include "coreboot_tables.h"
|
||||||
|
|
||||||
void set_layout_filename (const char filename[]);
|
void set_layout_filename (const char filename[]);
|
||||||
void get_layout_from_file (void);
|
void get_layout_from_file (void);
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "linuxbios_tables.h"
|
#include "coreboot_tables.h"
|
||||||
#include "ip_checksum.h"
|
#include "ip_checksum.h"
|
||||||
#include "lbtable.h"
|
#include "lbtable.h"
|
||||||
#include "layout.h"
|
#include "layout.h"
|
||||||
|
|
|
@ -83,7 +83,7 @@ static const char rcsid[] =
|
||||||
|
|
||||||
#define MAXPNSTR 132
|
#define MAXPNSTR 132
|
||||||
|
|
||||||
#define LINUXBIOS_MP_TABLE 0
|
#define COREBOOT_MP_TABLE 0
|
||||||
|
|
||||||
enum busTypes {
|
enum busTypes {
|
||||||
CBUS = 1,
|
CBUS = 1,
|
||||||
|
@ -299,7 +299,7 @@ int dmesg = 0;
|
||||||
int grope = 0;
|
int grope = 0;
|
||||||
int verbose = 0;
|
int verbose = 0;
|
||||||
int noisy = 0;
|
int noisy = 0;
|
||||||
/* preamble to the mptable. This is fixed for all linuxbioses */
|
/* preamble to the mptable. This is fixed for all coreboots */
|
||||||
|
|
||||||
char *preamble[] = {
|
char *preamble[] = {
|
||||||
"#include <arch/smp/mpspec.h>",
|
"#include <arch/smp/mpspec.h>",
|
||||||
|
@ -422,7 +422,7 @@ main( int argc, char *argv[] )
|
||||||
if (verbose) puts( SEP_LINE2 );
|
if (verbose) puts( SEP_LINE2 );
|
||||||
|
|
||||||
printf( "/* generatred by MPTable, version %d.%d.%d*/\n", VMAJOR, VMINOR, VDELTA );
|
printf( "/* generatred by MPTable, version %d.%d.%d*/\n", VMAJOR, VMINOR, VDELTA );
|
||||||
printf("/* as modified by RGM for LinuxBIOS */\n");
|
printf("/* as modified by RGM for coreboot */\n");
|
||||||
write_code(preamble);
|
write_code(preamble);
|
||||||
|
|
||||||
/* Ron hates getopt() */
|
/* Ron hates getopt() */
|
||||||
|
@ -536,7 +536,7 @@ apic_probe( vm_offset_t* paddr, int* where )
|
||||||
target = 0;
|
target = 0;
|
||||||
segment = 0;
|
segment = 0;
|
||||||
if ( verbose )
|
if ( verbose )
|
||||||
printf( " searching for LinuxBIOS MP table @ 0x%08x (%dK)\n",
|
printf( " searching for coreboot MP table @ 0x%08x (%dK)\n",
|
||||||
target, segment );
|
target, segment );
|
||||||
seekEntry( target );
|
seekEntry( target );
|
||||||
readEntry( buffer, ONE_KBYTE );
|
readEntry( buffer, ONE_KBYTE );
|
||||||
|
|
Loading…
Reference in New Issue