Commit graph

1179 commits

Author SHA1 Message Date
Ronald G. Minnich
8b05b1556e I broke the build, but Stefan is getting on the train, and needs this
commit. adding support for tables.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@129 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-26 09:52:02 +00:00
Ronald G. Minnich
cd4625560e add tables support to LinuxBIOS.
We have merged the plethora of include files into one. A given linuxbios
target architecture must support all the functions described therein. 
All the structs etc. in include/tables.h are known to be
architecture-independent. 

We hope this new layout is easier to folow than the old one. 

Todo: Remove the LGDT code from tables writing (how did THAT get in
there ;-) and put it somewhere sane; add OFW table support. We are going
to need some nice OFW table code. 

Also, the license headers should be correct in this commit. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@128 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-26 09:43:12 +00:00
Uwe Hermann
aa91499a0d Don't uppercase 'initram' as it's a file name (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@127 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-26 02:27:20 +00:00
Uwe Hermann
d977facd0a Silence warnings and beautify build output. We might want to turn on more
warnings for developing/debugging, but not for the default LinuxBIOS build.

These are purely cosmetic changes, no build process changes (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@126 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-26 02:15:40 +00:00
Uwe Hermann
0322a3b582 Various typos, output beautifications and cosmetic fixes (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@125 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-26 01:38:12 +00:00
Uwe Hermann
b68d589126 s/linuxbios/LinuxBIOS/ in a number of places (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@124 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-26 01:19:39 +00:00
Ronald G. Minnich
2393fcedfa Put back FSF headers to ensure the provenance of this file is
understood. This file has been tested and works with FILO 0.5.



Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@123 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-25 21:11:30 +00:00
Uwe Hermann
df8120a8a1 Fix pointer to kconfig-language.txt (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>




git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@122 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-25 20:41:45 +00:00
Stefan Reinauer
a49a9cea94 Various Kconfig fixes and some additional documentation.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@121 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-25 16:27:17 +00:00
Stefan Reinauer
950845543b fix make xconfig
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@120 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-25 16:00:21 +00:00
Stefan Reinauer
79222aaba1 more silence in make ?config
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@119 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-25 14:21:38 +00:00
Stefan Reinauer
5b7bd73654 some more research on file origins.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@118 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-25 14:15:58 +00:00
Stefan Reinauer
ff6ca16f4a add distclean target
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@117 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-25 13:36:37 +00:00
Uwe Hermann
43ab8bd2f9 Use common license header format (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@116 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-25 11:30:46 +00:00
Ronald G. Minnich
63d5fe147d This file is no longer needed, we have moved the modificaitons to
elfboot.c in V3. 

tested with qemu.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@115 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-25 10:44:10 +00:00
Ronald G. Minnich
7dd602be11 Simplify elfboot, add copyright. newelfboot.c will be removed in a
minute. 

This code has been tested; we are booting filo from flash in qemu at
this point. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@114 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-25 10:42:53 +00:00
Ronald G. Minnich
bd5f0a324e Stupid malloc allocater which we hope that we will never need. But it
has an author.

The use of malloc is very limited in V2, and we are pretty sure we can
reduce usage of malloc to no use at all in V3. 

The device code uses malloc, but that needs to be changed, so that the
device tree is allocated in a known-good-place in ram and can be
passed to other stages and payloads which may want to parse it. 

The built-in-filo and vfs code in v2 both use malloc, but they will not be
brought forward to V3. 

The old elfboot code used malloc, but we have changed that code so much
it no longer needs malloc. 

The only remaining use of malloc is lzma, and we see no need to use such 
a general mechanism for the lzma's single call to malloc. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@113 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-25 10:33:49 +00:00
Ronald G. Minnich
b9aa556977 Documentation changes
Use a log2 that has an author. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@112 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-25 10:02:11 +00:00
Stefan Reinauer
5a65718dcc clean up headers as requested. drop some dead code.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@111 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-24 17:03:53 +00:00
Ronald G. Minnich
326b94d572 This set of changes allows FILO to boot in bochs:
Press <Enter> for default boot, or <Esc> for boot prompt... timed out
boot: hdc1:/phase1 root=/dev/hdc1  console=ttyS0,115200
malloc_diag: alloc: 112 bytes (3 blocks), free: 16264 bytes (1 blocks)
malloc_diag: alloc: 128 bytes (4 blocks), free: 16248 bytes (1 blocks)
file_open: dev=hdc1, path=/phase1
find_ide_controller: PCI IDE #0 not found
IDE channel 1 not found
devopen: failed to open ide
malloc_diag: alloc: 112 bytes (3 blocks), free: 16264 bytes (1 blocks)
malloc_diag: alloc: 48 bytes (2 blocks), free: 16328 bytes (1 blocks)
boot: hdc1:/phase1 root=/dev/hdc1  console=ttyS0,115200

So we've just booted our first payload in V3!

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@110 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-24 07:41:22 +00:00
Ronald G. Minnich
98d3059a2d The newelfboot code is correctly loading filo.elf. It is running from
FLASH. It is far simpler than before. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@109 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 21:16:47 +00:00
Ronald G. Minnich
327a4432fe newelfboot.c. this elfboot is tremendously simplified so it can run out
of FLASH. Since it runs out of FLASH, we have removed the need for
bounce buffer support. that in turn rips out all kinds of stuff, so it
is now simpler. We're ripping out all the checksum stuff -- lar does
that. 

lar.c has some debug prints removed. 

elfboot.c has some mods, but elfboot.c is going away. 

cachemain.c has a few mods for using newelfboot. 

Makefile reflects these changes. 

Not tested, I'm going to bed though, so here you are.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@108 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 19:53:11 +00:00
Stefan Reinauer
39a8f1f159 get rid of all warnings but one (lb table fake)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@107 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 15:35:42 +00:00
Stefan Reinauer
cfa73bace2 our code grew quickly. Since stage0 carries the library for all the
other stages, give it 16k instead of 8

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>




git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@106 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 14:04:39 +00:00
Stefan Reinauer
3fc4e990dc fix double checkin conflict
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>




git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@105 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 13:59:27 +00:00
Stefan Reinauer
b19bf330cf * add config options for serial port and speed
* add license header to console/vtxprintf.c and arch/x86/serial.c
* clean out dead code from console/vtxprintf.c
* adapt arch/x86/serial.c to CONFIG_ stuff
* actually include config.h in CFLAGS

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>




git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@104 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 13:55:28 +00:00
Ronald G. Minnich
afeb4e0b90 Add declaration to cachemain.c.
Oddly, this error just appeared, due to clashing commits. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@103 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 13:52:28 +00:00
Ronald G. Minnich
08016c4ca8 Basic elfboot functionality is in now.
We're trying to avoid the bounce buffer mess, which is really complex, 
by running elfboot out of the boot block. This code includes a really 
dumb allocator in elfboot which may or may not work. It basically
allocates off the elfboot() stack. 

This builds, but elfboot is not tested. That's next. 
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@102 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 13:39:07 +00:00
Ronald G. Minnich
83ac9292bd add the arch-dependent elf defines.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@101 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 12:38:34 +00:00
Ronald G. Minnich
03a012f2e0 add the architecture dependent elfboot code.
call it something more useful than boot.c
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@100 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 12:37:56 +00:00
Stefan Reinauer
02a4d350c6 fix more warnings.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@99 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 12:36:45 +00:00
Ronald G. Minnich
f1545d6a9b fix mem.c declaration add size_t later once we understand the typedef
hell. 

more fixes to elfboot.c. more coming.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@98 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 12:36:43 +00:00
Ronald G. Minnich
b08b26ebcb Add compute_ip_checksum to makefile
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@97 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 12:23:33 +00:00
Ronald G. Minnich
534f6d31be mods to elf.h to use arch/elf.h
Some updates to the docs, but these will change more. 
add memcmp. Crude implementation, but it really does not matter. 
add compute_ip_checksum.c
mods to elfboot. Thanks to our new design, BOUNCE BUFFERS ARE DEAD. Yee
ha!
updates to makefile

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@96 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 12:21:47 +00:00
Stefan Reinauer
281cd76b38 * cleanup/refactor makefiles.
* remove some warnings

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@95 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 12:19:25 +00:00
Stefan Reinauer
0c11caa5e0 fix a warning, clean up code and makefiles
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@94 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 11:51:32 +00:00
Stefan Reinauer
464f4cb19d * initial console entries in Kconfig
* small warnings fixes

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@93 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 11:33:02 +00:00
Stefan Reinauer
791e590dea * rename devices to device for consistency
* fix malloc.c warnings
* add PCI_BUS_SEGN_BITS to pci.h


Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@92 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 11:23:37 +00:00
Stefan Reinauer
15dfcd2198 * fix some license headers
* add generic lib.h header for lib/ prototypes
* fix some prototypes
* put back return value parsing of stage2

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>




git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@91 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 11:03:56 +00:00
Ronald G. Minnich
592d34e1fc ip checksum file for elf booting.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@90 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 11:02:04 +00:00
Ronald G. Minnich
9fed5d8f66 Files needs for booting a payload. We are reducing the number of
directories in include, since having all those directories has obscured
understanding. 

Add elfboot.c to lib. Same argument, it is not in boot, it is in lib,
since fewer directories is better. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@89 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 10:58:00 +00:00
Ronald G. Minnich
01d7545b50 Set up default root device. Fix up printk stuff.
Fix up dts to set up ops struct member. Fix dts for qemu mainboard. 
We are getting past stage2 now, it is time for elfboot. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@88 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 10:38:22 +00:00
Stefan Reinauer
b4a7dad494 Clean up nasty dtc warnings
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@87 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 10:13:24 +00:00
Stefan Reinauer
9c4c15c5ac Clean up Makefiles
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@86 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 09:54:10 +00:00
Ronald G. Minnich
c8ce9649ad Make sure to link stage 2 at 0x1000. We are now getting pretty far:
Phase 1: done
Phase 2: early setup ...
Phase 2: done
Phase 3: Enumerating buses...
dev_root missing 'ops' initialization
Allocating resources...
dev_root missing ops initialization
Enabling resources...
done.
Phase 6: Initializing devices...
Phase 6:Devices initialized

Now to fix up the device stuff. Once this is done, a linux kernel load
is next (i.e. elfboot)

NOTE: 0x1000 needs to become a config variable, usable in CODE and
Makefiles. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@85 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 09:33:33 +00:00
Ronald G. Minnich
d4c47470f0 Add the CAR disable code. It MUST be inline. Rather than a crufty
include, we just put it here. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@84 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 09:28:16 +00:00
Stefan Reinauer
ef81173a39 * drop objdir/srcdir
* seperate vsprintf to a seperate file as it was in v2.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@83 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 09:20:15 +00:00
Ronald G. Minnich
6a6535b204 We don't (yet) have an entry point field for LARs. I am not sure we ever
should -- KISS should apply. So, the first function called via LAR is the first
function in the file. 

For now, reorder this so main is first. 

We now are getting into stage 2. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@82 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 07:23:24 +00:00
Ronald G. Minnich
dd74fdac61 Pick a safer default for CacheBase -- not C segment.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@81 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 07:15:58 +00:00
Ronald G. Minnich
61d24531e5 Fixes to get it to build.
This builds but dependencies need work; it takes a few 
make -k
passes :-)

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@80 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-22 22:44:03 +00:00