From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Tue, 27 Dec 2011 22:35:56 -0800 Subject: [U-Boot] [RFC PATCH 15/19] Add fields required by x86 to global_data In-Reply-To: <1325054160-24894-1-git-send-email-sjg@chromium.org> References: <1325054160-24894-1-git-send-email-sjg@chromium.org> Message-ID: <1325054160-24894-16-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de These two fields are needed for x86. Signed-off-by: Simon Glass --- include/asm-generic/global_data.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 16fee5a..99750a8 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -50,6 +50,10 @@ typedef struct global_data { #endif unsigned long env_addr; /* Address of Environment struct */ unsigned long env_valid; /* Checksum of Environment valid? */ +#ifdef CONFIG_X86 + unsigned long cpu_clk; /* CPU clock in Hz! */ + unsigned long bus_clk; +#endif unsigned long fb_base; /* base address of frame buffer */ #ifdef CONFIG_FSL_ESDHC unsigned long sdhc_clk; -- 1.7.3.1