summaryrefslogtreecommitdiff
path: root/include/asm-arm/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/setup.h')
-rw-r--r--include/asm-arm/setup.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-arm/setup.h b/include/asm-arm/setup.h
index 89df4dc70..cadc12435 100644
--- a/include/asm-arm/setup.h
+++ b/include/asm-arm/setup.h
@@ -205,6 +205,15 @@ struct tag_memclk {
u32 fmemclk;
};
+/* for automatic boot timing testcases */
+#define ATAG_BOOTTIME_UBOOT_INIT 0x41000403
+#define ATAG_BOOTTIME_LOAD_KERNEL 0x41000404
+#define ATAG_BOOTTIME_UBOOT_DONE 0x41000405
+
+struct tag_boottime {
+ u32 tick;
+};
+
struct tag {
struct tag_header hdr;
union {
@@ -227,6 +236,11 @@ struct tag {
* DC21285 specific
*/
struct tag_memclk memclk;
+ /*
+ * Boot time
+ */
+ struct tag_boottime boottime;
+
} u;
};