[U-Boot] [RFC PATCH v2 21/28] Add x86 fields to generic global_data
Simon Glass
sjg at chromium.org
Sat Jan 7 01:24:56 CET 2012
These fields are needed for x86.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
include/asm-generic/global_data.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 6199926..fb976f9 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -44,6 +44,8 @@ typedef struct global_data {
bd_t *bd;
unsigned long flags;
unsigned long baudrate;
+ unsigned long cpu_clk; /* CPU clock in Hz! */
+ unsigned long bus_clk;
#if defined(CONFIG_LCD) || defined(CONFIG_VIDEO)
unsigned long fb_base; /* Base address of framebuffer mem */
#endif
--
1.7.3.1
More information about the U-Boot
mailing list