Commit graph

6 commits

Author SHA1 Message Date
Ronald G. Minnich
53283b1e36 fix a stupid bug in malloc.
add debug printks. 

make dtc put 'root' as the first_node, instead of making the last node
be the first node .... much happier in linuxbios. 

sprintf is broken ... dammit. I hope someone will fix it. I've got about
another week of full-time I can spend on this and then I go back to part
time. So I'm going to need some help soon.

other fixups, and also, make the dts conform to the needs of the device
tree. So we have a domain0 and a device (0,0) that is the north. 

Mostly things are working, but we're STILL not getting any memory in the
LB tables from the north. The device tree is a bitch. 

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@175 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-03 00:39:30 +00:00
Uwe Hermann
a4d2741601 Coding style fixes, mostly by running indent (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@170 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-03-02 14:52:28 +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
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
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
9051f6189c Library changes. Added malloc. Added mem* ops. Made a few other
changes. There is still debug crap in lar.c which will be pulled soon.

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@75 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-22 21:22:29 +00:00