From patchwork Thu Mar 15 02:16:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [U-Boot,v4,20/27] Add x86 fields to generic global_data X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 146813 Message-Id: <1331777784-8528-21-git-send-email-sjg@chromium.org> To: U-Boot Mailing List Date: Wed, 14 Mar 2012 19:16:17 -0700 From: Simon Glass List-Id: U-Boot discussion These fields are needed for x86. Signed-off-by: Simon Glass --- 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