All of lore.kernel.org
 help / color / mirror / Atom feed
From: Graeme Russ <graeme.russ@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 04/10] x86: Add some missing includes.
Date: Thu, 11 Oct 2012 11:22:40 +1100	[thread overview]
Message-ID: <CALButCLD0zUBCoDARCOhjYpt15MZAY-hTEFeHqXuO2KWmzBYYA@mail.gmail.com> (raw)
In-Reply-To: <1349910781-32088-5-git-send-email-sjg@chromium.org>

Hi Simon,

On Thu, Oct 11, 2012 at 10:12 AM, Simon Glass <sjg@chromium.org> wrote:
> From: Gabe Black <gabeblack@chromium.org>
>
> I suspect these includes were usually available because something else
> included them earlier or because they were brought in transitively.
>
> Signed-off-by: Gabe Black <gabeblack@chromium.org>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  arch/x86/include/asm/global_data.h |    2 ++
>  arch/x86/include/asm/u-boot.h      |    3 +++
>  2 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/arch/x86/include/asm/global_data.h b/arch/x86/include/asm/global_data.h
> index 6d29c0b..3c79508 100644
> --- a/arch/x86/include/asm/global_data.h
> +++ b/arch/x86/include/asm/global_data.h
> @@ -33,6 +33,8 @@
>
>  #ifndef __ASSEMBLY__
>
> +#include <asm/u-boot.h>
> +
>  typedef        struct global_data {
>         /* NOTE: gd_addr MUST be first member of struct global_data! */
>         unsigned long   gd_addr;        /* Location of Global Data */
> diff --git a/arch/x86/include/asm/u-boot.h b/arch/x86/include/asm/u-boot.h
> index 0671b8d..e2ba845 100644
> --- a/arch/x86/include/asm/u-boot.h
> +++ b/arch/x86/include/asm/u-boot.h
> @@ -36,6 +36,9 @@
>  #ifndef _U_BOOT_H_
>  #define _U_BOOT_H_     1
>
> +#include <config.h>
> +#include <compiler.h>
> +
>  typedef struct bd_info {
>         unsigned long   bi_memstart;    /* start of DRAM memory */
>         phys_size_t     bi_memsize;     /* size  of DRAM memory in bytes */
> --
> 1.7.7.3
>

Acked-by: Graeme Russ <graeme.russ@gmail.com>

  reply	other threads:[~2012-10-11  0:22 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-10 23:12 [U-Boot] [PATCH v2 0/10] x86: Patches to enable running U-Boot from coreboot Simon Glass
2012-10-10 23:12 ` [U-Boot] [PATCH v2 01/10] x86: Change board baud_rate to ulong Simon Glass
2012-10-11  0:15   ` Graeme Russ
2012-10-11  0:21   ` Graeme Russ
2012-10-11  7:32   ` Wolfgang Denk
2012-10-11  8:38     ` Graeme Russ
2012-10-12  0:46     ` Simon Glass
2012-10-12  0:51       ` Graeme Russ
2012-10-12  0:55         ` Simon Glass
2012-10-12  1:00           ` Graeme Russ
2012-10-12  1:14             ` Simon Glass
2012-10-10 23:12 ` [U-Boot] [PATCH v2 02/10] x86: Add initial memory barrier macros Simon Glass
2012-10-11  0:21   ` Graeme Russ
2012-10-10 23:12 ` [U-Boot] [PATCH v2 03/10] x86: Allow excluding reset vector code from u-boot Simon Glass
2012-10-11  0:22   ` Graeme Russ
2012-11-20  6:56   ` Wolfgang Denk
2012-11-26  6:03     ` Simon Glass
2012-10-10 23:12 ` [U-Boot] [PATCH v2 04/10] x86: Add some missing includes Simon Glass
2012-10-11  0:22   ` Graeme Russ [this message]
2012-10-10 23:12 ` [U-Boot] [PATCH v2 05/10] x86: coreboot: Move non-board specific files to coreboot arch directory Simon Glass
2012-10-11  0:23   ` Graeme Russ
2012-10-10 23:12 ` [U-Boot] [PATCH v2 06/10] x86: coreboot: Tell u-boot about PCI bus 0 when initializing Simon Glass
2012-10-11  0:23   ` Graeme Russ
2012-10-10 23:12 ` [U-Boot] [PATCH v2 07/10] x86: coreboot: Modify u-boot code to allow building coreboot payload Simon Glass
2012-10-11  0:24   ` Graeme Russ
2012-10-10 23:12 ` [U-Boot] [PATCH v2 08/10] x86: coreboot: Implement recursively scanning PCI busses Simon Glass
2012-10-11  0:24   ` Graeme Russ
2012-10-10 23:13 ` [U-Boot] [PATCH v2 09/10] x86: coreboot: Enable LPC TPM and CONFIG_NO_RESET_CODE Simon Glass
2012-10-11  0:25   ` Graeme Russ
2012-10-11  3:45     ` Marek Vasut
2012-10-11  3:47       ` Graeme Russ
2012-10-10 23:13 ` [U-Boot] [PATCH v2 10/10] x86: Remove coreboot start16 code Simon Glass
2012-10-11  0:25   ` Graeme Russ

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALButCLD0zUBCoDARCOhjYpt15MZAY-hTEFeHqXuO2KWmzBYYA@mail.gmail.com \
    --to=graeme.russ@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.