summaryrefslogtreecommitdiff
path: root/arch/i386/include/asm/ist.h
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2010-04-24 00:05:49 +1000
committerWolfgang Denk <wd@denx.de>2010-05-06 00:17:01 +0200
commit95ffaba39042064c5eb68404894fd6b0f1d6a3e3 (patch)
tree6a0a1572913552b1f6a94987a341677c00dbfc36 /arch/i386/include/asm/ist.h
parent79ea6b87011c0524ced31359e2be7aac97c29d0a (diff)
downloadu-boot-imx-95ffaba39042064c5eb68404894fd6b0f1d6a3e3.zip
u-boot-imx-95ffaba39042064c5eb68404894fd6b0f1d6a3e3.tar.gz
u-boot-imx-95ffaba39042064c5eb68404894fd6b0f1d6a3e3.tar.bz2
x86: Fix support for booting bzImage
Add support for newer (up to 2.6.33) kernels Add zboot command which takes the address of a bzImage as its first argument and (optionally) the size of the bzImage as the second argument (the second argument is needed for older kernels which do not include the bzImage size in the header) Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'arch/i386/include/asm/ist.h')
-rw-r--r--arch/i386/include/asm/ist.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/i386/include/asm/ist.h b/arch/i386/include/asm/ist.h
new file mode 100644
index 0000000..7e5dff1
--- /dev/null
+++ b/arch/i386/include/asm/ist.h
@@ -0,0 +1,34 @@
+#ifndef _ASM_X86_IST_H
+#define _ASM_X86_IST_H
+
+/*
+ * Include file for the interface to IST BIOS
+ * Copyright 2002 Andy Grover <andrew.grover@intel.com>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2, or (at your option) any
+ * later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ */
+
+
+#include <linux/types.h>
+
+struct ist_info {
+ __u32 signature;
+ __u32 command;
+ __u32 event;
+ __u32 perf_level;
+};
+
+#ifdef __KERNEL__
+
+extern struct ist_info ist_info;
+
+#endif /* __KERNEL__ */
+#endif /* _ASM_X86_IST_H */