Commit graph

282 commits

Author SHA1 Message Date
Uwe Hermann
d0f42a9993 Document why we invoke gcc instead of directly invoking ld (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@282 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-04-19 15:24:26 +00:00
Uwe Hermann
3dc564852f Fix broken Doxygen comments (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@281 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-04-15 17:14:57 +00:00
Stefan Reinauer
5870a97218 - solaris already has an mkdirp in libgen (and thus in its header) with
different arguments, change mkdirp in util/lar/lib.* to match that
- still use it on solaris as lar uses libgen.h but not libgen (but it
  needs libgen.h!)

Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@280 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-04-14 16:22:49 +00:00
Uwe Hermann
24a6fcaaf8 - "grep -q" doesn't exist on solaris (and probably is just a gnu
extension), replaced with >/dev/null
- "test ==" replaced with "test -eq" which does the same, but exists on
  more systems
- use the output of check-lxdialog.sh to link against (n)curses,
  depending on which libraries exist

Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Acked-by: Peter Stuge <peter@stuge.se>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@279 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-04-13 16:19:46 +00:00
Uwe Hermann
6818904cd3 Fix 'make doxy' to do the same as 'make doxygen' (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@278 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-04-12 18:52:45 +00:00
Uwe Hermann
5303acd696 Fix cosmetic issues and add some Doxygen comments (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@277 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-04-12 18:35:11 +00:00
Uwe Hermann
ec52720cec Sync EHCI controller list with the wiki (trivial).
Replace 'nVidia' with 'NVIDIA' (that variant is used all over nvidia.com).

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@276 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-04-11 15:27:43 +00:00
Stefan Reinauer
bea6044faa Trivial:
* include cleanup. We don't provide stdint.h, so use arch/types.h
  instead.
* drop some unused variables
* fix comment style in some headers to match the template
* Fix the loglevel of some debugging output.

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



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@275 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-04-06 14:05:26 +00:00
Uwe Hermann
afa7c1d798 Add new Kconfig option to enable/disable beeps during LinuxBIOS boot.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@274 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-04-06 12:04:28 +00:00
Uwe Hermann
09fe5ae4b1 Drop the include/console/loglevel.h file.
Move the loglevel definitions directly into include/console/console.h
and drop the rest of loglevel.h which is unused and obsolete anyway.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Peter Stuge <peter@stuge.se>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@273 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-04-05 23:13:51 +00:00
Uwe Hermann
b2c5f8d68b Remove CONSOLE_VGA which was already dropped in r269 (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@272 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-04-05 21:37:06 +00:00
Uwe Hermann
f5d7ff1001 Drop obsolete and unused util/dtc/dtsqemu file.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@271 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-30 21:27:49 +00:00
Uwe Hermann
62a5027ee1 Coding style 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@270 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-30 13:56:10 +00:00
Stefan Reinauer
44f1f0170d * add PCI option rom switches to Kconfig
* fix up device specific code to honour those switches
* quoting fix for xcompile
* drop VGA_CONSOLE as it's not really useful for debugging purposes.
  VGA is only set up very late in the boot process, when everything
  critical in LinuxBIOS has already been initialized. If LinuxBIOS 
  fails, you will never see this on the console.

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




git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@269 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-22 18:03:28 +00:00
Stefan Reinauer
8a8f3f4836 * fix typos in device_util.c
* drop double error in malloc.c
* add extra CFLAGS to reduce code size by 10%
* add more build time defines and use them in the LB table.

The LB_TAG_COMPILE_TIME is a partly duplicate of LB_TAG_BUILD,
as LB_TAG_BUILD contains both date and time. I left this in for
compatibility reasons.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@268 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-22 00:36:11 +00:00
Uwe Hermann
bec074295e Fix incorrect comment nesting.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@267 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-14 11:54:38 +00:00
Ronald G. Minnich
3127ff6732 More docs on device tree issues.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@266 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-13 17:38:19 +00:00
Stefan Reinauer
7b482c19fa trivial fixes.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@265 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-13 16:54:26 +00:00
Ronald G. Minnich
aa41ff341f More legacy code removal since we have make xconfig.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@264 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-13 15:51:08 +00:00
Uwe Hermann
9963c4c616 Document origin of the arch/x86/i8259.c file.
Drop unneeded comments. Cosmetic fixes.

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



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@263 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-13 15:24:28 +00:00
Uwe Hermann
08dc781513 Various 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@262 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-13 11:32:54 +00:00
Stefan Reinauer
a28ba99d1a This part was missing in the last commit. Sorry.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@261 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-13 10:05:41 +00:00
Stefan Reinauer
0528863e20 This patch reshapes northbridge and southbridge inclusion. It selects
southbridge drivers in Kconfig.

* It includes initial superio code as well, but there is at least one
  error in the pnp_device.c/superio scenario left

* Fixed biosemu.c, vm86.c, pnp_device.c (sort of)

* Enable vm86 instead of x86emu per default for vga init for now. This
  makes VGA in qemu work. There might be a bug in x86emu or the compiler
  I am using. (gcc version 4.1.2 20070115 (prerelease) (SUSE Linux))

* Import isa-dma.c, keyboard.c and i8259.c from v2 /pc80, which was taken
  from LinuxBIOSv1 released from LANL under release LA-CC Number 00-34
  and using parts from the Linux kernel.

This patch makes vga and keyboard work in qemu. Yippie

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



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@260 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-13 09:31:08 +00:00
Ronald G. Minnich
305bb55783 Fixing up licensing headers.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@259 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-13 03:16:00 +00:00
Ronald G. Minnich
f9f7a0ed75 Correcting license headers.
This file originated in V1, although it has changed
somewhat.

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


git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@258 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-13 00:39:28 +00:00
Ronald G. Minnich
de4dffdbe5 This is just correcting the license headers and providing attribution.
This correction was made by looking at the v2 code base. 

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



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@257 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-13 00:20:22 +00:00
Stefan Reinauer
fe23cd79ba Add x86emu support. This adds initial x86emu/vm86 support to LinuxBIOSv3
This is an infrastructure patch, it will not make vga output work yet. 
Another patch will follow.

This code is imported from LinuxBIOSv2 which had this code imported from
LinuxBIOSv1.

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



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@256 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-12 23:47:26 +00:00
Stefan Reinauer
e21a1bddd3 small fixup missing in last patch.. trivial, as we agreed on the
solution already.

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



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@255 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-12 12:30:57 +00:00
Uwe Hermann
a73a37d820 Fix strcmp to match strcmp(3).
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@254 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-12 11:49:59 +00:00
Uwe Hermann
e895a471e0 Remove usused Makefile. Please use 'make doc' from the top-level directory.
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@253 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-12 11:47:38 +00:00
Uwe Hermann
fad0e246f4 Rename 'make doc' to 'make doxy' (and 'make doxygen').
Instead, we now use 'make doc' to generate the PDF doc/design/newboot.pdf.

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



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@252 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-12 11:46:33 +00:00
Uwe Hermann
4739d0078d Drop obsolete files from doc/design.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@251 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-12 10:34:56 +00:00
Ronald G. Minnich
d2b58cdd6f These are changes to the docs. Tihs is not a complete set, but has been
acked in this version by Stefan and I want to get it in before
continuing to make further changes. 

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


git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@250 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-12 04:18:38 +00:00
Uwe Hermann
eaf86e6a50 Coding style fixes and cosmetic 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@249 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-12 02:50:03 +00:00
Uwe Hermann
3aaa72165e Drop the bogus license header I added to include/device/pci_ids.h.
Merely document that the file is based on the pci_ids.h file
from the Linux kernel (trivial).

We assume all code from Linux to be licensed under the terms of the
GPLv2, if no explicit license header says something else.

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@248 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-12 02:25:47 +00:00
Uwe Hermann
2115b87f68 Reimplement the complete include/string.h file, as it has a bogus license
header, and I'm too lazy to do the research for such simple functions.

First, drop all functions, as we don't really use all of them. Only
reimplement from scratch the following ones: strnlen(), strlen(), strcmp().

No fancy, fast, or small implementations, but I think we don't care
(they're only called once or twice anyway). But, at least all functions
are well-documented now.

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



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@247 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-12 00:59:13 +00:00
Uwe Hermann
852587ce8c Document the origin of include/cpu/generic/x86/arch/swab.h in HACKING.
Don't put our own license header in the file, just leave it as is (with
a note where it was taken from).

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



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@246 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-11 23:54:23 +00:00
Uwe Hermann
9201b6fc7a This patch fixes the spurious warning we have been getting for this file.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@245 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-11 23:49:45 +00:00
Uwe Hermann
92a68191ba Here is a cleanup patch, removes 3 warnings from dtc build and some
commented-out code from stage0_i586.S. I am leaving the warnings about
gnu bintools in stage0_i586.S, just to make sure everyone knows why
some of the code is written the way it is, and nobody makes a mistake
in two years ...

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@244 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-11 19:54:30 +00:00
Stefan Reinauer
9c67ea60b7 Make the LinuxBIOS build output look a lot like the stuff people
are used to from the Linux kernel.

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



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@243 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-11 17:55:16 +00:00
Uwe Hermann
12213f870d This patch drives the idea of a hierarchical structure below $(obj) a bit
further. It is only tested with my Kconfig build dir fixes applied.

Not sure how pretty this is. All the mkdirs increase build time by 0.2s,
so it looks a lot more nasty than it actually is. If wishes, we can create the
whole directory structure below build in the "prepare" target. It's not faster,
but more limited to one place.

The next step could be to spread out *_LIB_OBJ to lib/Makefile. in which case
it is nice that you can just write object.o instead of $(obj)/object.o or
$(obj)/lib/object.o ...

The top level modules (initram, stage0, stage2, ..) are still in $(obj).

So are the northbridge and southbridge object files - These require some more
cleanup anyways, as they're defined in the mainboard Makefile.

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



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@242 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-11 16:48:33 +00:00
Stefan Reinauer
e9f291869e This patch fixes "make gconfig". It also moves all files to their
according subdirectories in $(obj)/util/kconfig[/lxdialog]

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



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@241 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-11 16:04:05 +00:00
Stefan Reinauer
d44bf71932 This is another LAR update. It changes the way a LinuxBIOS image is
built.
Instead of having a bootblock and a lar archive, the bootblock is now
part of the archive:

$ lar -l build/linuxbios.rom
  normal/initram (93 bytes @0x24)
  normal/payload (32768 bytes @0xb4)
  normal/stage2 (32028 bytes @0x80e4)
  linuxbios.bootblock (16384 bytes @0x3c000)

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



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@240 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-11 13:55:36 +00:00
Uwe Hermann
b22be2d54a Add Doxygen-comments to all functions in lib/mem.c.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@239 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-10 22:07:51 +00:00
Uwe Hermann
f2db8b407e Drop obsolete comment (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@238 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-10 19:15:12 +00:00
Stefan Reinauer
b1149de700 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
2007-03-10 18:39:22 +00:00
Uwe Hermann
0f9ac8eb8b Simple fix for a simple warning.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@236 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-10 17:28:17 +00:00
Uwe Hermann
bd5ca845e9 Run indent for util/lar/*. Cosmetic fixes in arch/x86/Makefile (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@235 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-10 16:31:02 +00:00
Uwe Hermann
88f2f6402a This is a major update to the lar archiver. It simplifies the build process and
is a base change to make the whole linuxbios.rom a lar file.

* fix a whole lot of lar bugs (that never showed up in production yet)
* add proper option parsing to lar
* add verbose option
* add option to automatically pad lar archive to a certain size
* add proper file handling (specifying a directory will now pack all files
  in that directory into the lar, instead of a 4k dummy file)
* catch lots of user errors, less implicit assumptions
* merge all header files into lib.h (except lar.h which is needed by other
  programs using the lar format). lib.h is still very small.
* print errors to stderr
* (slipped in) copy linuxbios.rom to bios.bin for qemu ;-)
* adapt arch/x86/Makefile to use the new features.
* set version to 0.9
* lots of security bugs fixed (thanks to Uwe!)
* catch low memory conditions in strdup

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



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@234 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-10 16:20:01 +00:00
Stefan Reinauer
6869f4a129 new device model from Ron
This tree shows the new model. It demonstrates the constructor array
in use, for devices that are and are not specified in the dts. It
introduces a new generic structure, device_id, analogous to
device_path, which can describe all the types of device IDs we have.
It shows a way to set up arrays of structs, in the dts, for the
constructors, so we avoid ldscript hacks.

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



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@233 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-10 15:55:41 +00:00