No really, _these_ should be the last occurences of CONFIG_ without

config.h in libpayload - also removed CONFIG_ instance in libpayload
which would have been dangerous.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3497 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Jordan Crouse 2008-08-11 17:10:58 +00:00
parent 5e354b7a43
commit 12e27266c3
5 changed files with 12 additions and 5 deletions

View File

@ -20,6 +20,7 @@
* 34AA973C D4C4DAA4 F61EEB2B DBAD2731 6534016F * 34AA973C D4C4DAA4 F61EEB2B DBAD2731 6534016F
*/ */
#include <config.h>
#include <libpayload.h> #include <libpayload.h>
typedef u8 u_int8_t; typedef u8 u_int8_t;
@ -27,6 +28,14 @@ typedef u32 u_int32_t;
typedef u64 u_int64_t; typedef u64 u_int64_t;
typedef unsigned int u_int; typedef unsigned int u_int;
/* Moved from libpayload.h */
#ifdef CONFIG_TARGET_I386
#define BYTE_ORDER LITTLE_ENDIAN
#else
#define BYTE_ORDER BIG_ENDIAN
#endif
#if 0 #if 0
#include <sys/param.h> #include <sys/param.h>
#include <string.h> #include <string.h>

View File

@ -58,6 +58,7 @@
#undef USE_TERMLIB #undef USE_TERMLIB
#include <config.h>
#include <libpayload.h> #include <libpayload.h>
#include <curses.h> #include <curses.h>
#include <curses.priv.h> #include <curses.priv.h>

View File

@ -27,6 +27,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#include <config.h>
#include <libpayload.h> #include <libpayload.h>
#include <coreboot_tables.h> #include <coreboot_tables.h>

View File

@ -27,6 +27,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#include <config.h>
#include <libpayload.h> #include <libpayload.h>
/** /**

View File

@ -44,11 +44,6 @@
#define LITTLE_ENDIAN 1234 #define LITTLE_ENDIAN 1234
#define BIG_ENDIAN 4321 #define BIG_ENDIAN 4321
#ifdef CONFIG_TARGET_I386
#define BYTE_ORDER LITTLE_ENDIAN
#else
#define BYTE_ORDER BIG_ENDIAN
#endif
#define EXIT_SUCCESS 0 #define EXIT_SUCCESS 0
#define EXIT_FAILURE 1 #define EXIT_FAILURE 1