[U-Boot] [PATCH v4 20/27] Add x86 fields to generic global_data

Graeme Russ graeme.russ at gmail.com
Thu Mar 15 03:36:58 CET 2012


Hi Simon,

On Thu, Mar 15, 2012 at 1:16 PM, Simon Glass <sjg at chromium.org> wrote:
> 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;

Refer to my other comment, but this impacts all arches for no good reason

Regards,

Graeme


More information about the U-Boot mailing list