[SeaBIOS] [PATCH v3 2/3] Boot up with a splash picture configurable

2011-07-04 Thread Wayne Xia
fix the jpeg decoder problem emerged when it was used in 24 BPP mode. Signed-off-by: Wayne Xia xiaw...@linux.vnet.ibm.com --- src/bootsplash.c |3 ++- src/jpeg.c | 31 ++- src/jpeg.h |4 ++-- 3 files changed, 26 insertions(+), 12 deletions(-)

Re: [SeaBIOS] [PATCH 1/4] pci: add two-pass pci initialization code

2011-07-04 Thread Gerd Hoffmann
Hi, +static struct pci_bus { +/* pci region stats */ +u32 io_count[16 - PCI_IO_INDEX_SHIFT]; +u32 mem_count[32 - PCI_MEM_INDEX_SHIFT]; +u32 prefmem_count[32 - PCI_MEM_INDEX_SHIFT]; +u32 io_sum, io_max; +u32 mem_sum, mem_max; +u32 prefmem_sum, prefmem_max; +/*

[SeaBIOS] [PATCH v2 0/4] pci: two-pass initialization

2011-07-04 Thread Gerd Hoffmann
Hi, Here is v2 of the two-pass pci initialization code. Changed code according to Kevin's review: * Fixed the bus check. * Using a pci region type array now, which indeed made the code simpler and shorter. * The memory hole stuff is gone, there is a single address space area now.

[SeaBIOS] [PATCH v2 4/4] pci: init boot devices only on address space shortage

2011-07-04 Thread Gerd Hoffmann
Try to handle address space shortage by skipping any device which isn't essential for boot. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- src/pci.c |3 +++ src/pciinit.c | 51 +-- src/util.h|2 ++ 3 files changed, 54

Re: [SeaBIOS] [PATCH v2 1/4] pci: add two-pass pci initialization code

2011-07-04 Thread Kevin O'Connor
On Mon, Jul 04, 2011 at 12:59:09PM +0200, Gerd Hoffmann wrote: This patch adds a second device scan to the pci initialization, which counts the memory bars of the various sizes and types. Then it calculates the sizes and the packing of the prefetchable and non-prefetchable pci memory windows

[SeaBIOS] [PATCH v4 2/4] Boot up with a splash picture configurable

2011-07-04 Thread Wayne Xia
fix the jpeg decoder problem emerged when it was used in 24 BPP mode. Signed-off-by: Wayne Xia xiaw...@linux.vnet.ibm.com --- src/bootsplash.c |3 ++- src/jpeg.c | 31 ++- src/jpeg.h |4 ++-- 3 files changed, 26 insertions(+), 12 deletions(-)

[SeaBIOS] [PATCH v4 3/4] Boot up with a splash picture configurable

2011-07-04 Thread Wayne Xia
make the showing time configurable. Signed-off-by: Wayne Xia xiaw...@linux.vnet.ibm.com --- src/boot.c | 25 - 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/src/boot.c b/src/boot.c index f3c165c..a76da4f 100644 --- a/src/boot.c +++ b/src/boot.c @@

[SeaBIOS] [PATCH v4 4/4] Boot up with a splash picture configurable

2011-07-04 Thread Wayne Xia
added an option to do LZMA decompress on the splash data, in order to do this, adjusted some code in other files. Signed-off-by: Wayne Xia xiaw...@linux.vnet.ibm.com --- src/bootsplash.c | 35 --- src/coreboot.c | 47

[SeaBIOS] [PATCH v5 2/3] Boot up with a splash picture configurable

2011-07-04 Thread Wayne Xia
fix the jpeg decoder problem emerged when it was used in 24 BPP mode. Signed-off-by: Wayne Xia xiaw...@linux.vnet.ibm.com --- src/bootsplash.c |3 ++- src/jpeg.c | 31 ++- src/jpeg.h |4 ++-- 3 files changed, 26 insertions(+), 12 deletions(-)

[SeaBIOS] [PATCH v5 1/3] Boot up with a splash picture configurable

2011-07-04 Thread Wayne Xia
added an option to let seabios show BMP file as a logo. Signed-off-by: Wayne Xia xiaw...@linux.vnet.ibm.com --- Makefile |4 +- src/bmp.c| 116 ++ src/bmp.h| 25 src/bootsplash.c | 109