From d650e9934ff8da9b9cb69e42e642c0ee6d390bf6 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 22 Feb 2010 04:33:13 +0000 Subject: YABEL update - drop x86emu + old biosemu in favor of YABEL - Add YABEL_DIRECTHW to get the old biosemu behavior - add support for vesa console using YABEL - add coreboot table entry with console information - add bootsplash support (reads /bootsplash.jpg from CBFS) Signed-off-by: Stefan Reinauer Acked-by: Pattrick Hueper git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5135 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/lib/cbfs.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/lib/cbfs.c') diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c index f99f666d3c..0bb6e838fb 100644 --- a/src/lib/cbfs.c +++ b/src/lib/cbfs.c @@ -22,13 +22,7 @@ #include #include #include - -#ifndef CONFIG_BIG_ENDIAN -#define ntohl(x) ( ((x&0xff)<<24) | ((x&0xff00)<<8) | \ - ((x&0xff0000) >> 8) | ((x&0xff000000) >> 24) ) -#else -#define ntohl(x) (x) -#endif +#include int cbfs_decompress(int algo, void *src, void *dst, int len) { @@ -213,7 +207,7 @@ void * cbfs_load_stage(const char *name) void * cbfs_get_file(const char *name) { - return cbfs_find(name); + return (void *) cbfs_find(name); } int cbfs_execute_stage(const char *name) -- cgit v1.2.3