From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 01/14] arm: spl: Avoid setting up a duplicate global data structure
Date: Thu, 13 Nov 2014 12:31:52 +0100 [thread overview]
Message-ID: <20141113123152.4828396e@lilith> (raw)
In-Reply-To: <1415665015-12651-2-git-send-email-sjg@chromium.org>
Hello Simon,
On Mon, 10 Nov 2014 17:16:41 -0700, Simon Glass <sjg@chromium.org> wrote:
> This is already set up in crt0.S. We don't need a new structure and don't
> really want one in the 'data' section of the image, since it will be empty
> and crt0.S's changes will be ignored.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
> Changes in v3: None
> Changes in v2: None
>
> arch/arm/lib/spl.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/arch/arm/lib/spl.c b/arch/arm/lib/spl.c
> index 75ab546..6361a62 100644
> --- a/arch/arm/lib/spl.c
> +++ b/arch/arm/lib/spl.c
> @@ -13,10 +13,6 @@
> #include <image.h>
> #include <linux/compiler.h>
>
> -/* Pointer to as well as the global data structure for SPL */
> -DECLARE_GLOBAL_DATA_PTR;
> -gd_t gdata __attribute__ ((section(".data")));
> -
> /*
> * In the context of SPL, board_init_f must ensure that any clocks/etc for
> * DDR are enabled, ensure that the stack pointer is valid, clear the BSS
> --
> 2.1.0.rc2.206.gedb03e5
>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Amicalement,
--
Albert.
next prev parent reply other threads:[~2014-11-13 11:31 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-11 0:16 [U-Boot] [PATCH v3 0/14] dm: Implement driver model support in SPL Simon Glass
2014-11-11 0:16 ` [U-Boot] [PATCH v3 01/14] arm: spl: Avoid setting up a duplicate global data structure Simon Glass
2014-11-13 11:31 ` Albert ARIBAUD [this message]
2014-11-11 0:16 ` [U-Boot] [PATCH v3 02/14] dm: tegra: Avoid using arch-specific memcpy() in SPL Simon Glass
2014-11-23 12:55 ` Simon Glass
2014-11-11 0:16 ` [U-Boot] [PATCH v3 03/14] dm: Split the simple malloc() implementation into its own file Simon Glass
2014-11-23 12:56 ` Simon Glass
2014-11-11 0:16 ` [U-Boot] [PATCH v3 04/14] dm: arm: spl: Allow simple malloc() in SPL Simon Glass
2014-11-23 12:56 ` Simon Glass
2014-11-11 0:16 ` [U-Boot] [PATCH v3 05/14] dm: spl: Make simple malloc() available when enabled Simon Glass
2014-11-23 12:58 ` Simon Glass
2014-11-11 0:16 ` [U-Boot] [PATCH v3 06/14] dm: spl: Allow driver model to be used Simon Glass
2014-11-23 12:58 ` Simon Glass
2014-11-11 0:16 ` [U-Boot] [PATCH v3 07/14] dm: Allow device removal features to be dropped Simon Glass
2014-11-17 1:45 ` Tom Rini
2014-11-11 0:16 ` [U-Boot] [PATCH v3 08/14] dm: Allow stdio registration " Simon Glass
2014-11-23 12:58 ` Simon Glass
2014-11-11 0:16 ` [U-Boot] [PATCH v3 09/14] dm: Disable dm_warn() in SPL Simon Glass
2014-11-23 12:59 ` Simon Glass
2014-11-11 0:16 ` [U-Boot] [PATCH v3 10/14] dm: tegra: Add platform data for the SPL uart Simon Glass
2014-11-23 12:59 ` Simon Glass
2014-11-11 0:16 ` [U-Boot] [PATCH v3 11/14] dm: tegra: Add platform data for the GPIO driver Simon Glass
2014-11-23 12:59 ` Simon Glass
2014-11-11 0:16 ` [U-Boot] [PATCH v3 12/14] dm: arm: spl: Make driver model linker lists available Simon Glass
2014-11-23 12:59 ` Simon Glass
2014-11-11 0:16 ` [U-Boot] [PATCH v3 13/14] dm: tegra: Enable driver model in SPL and adjust the GPIO driver Simon Glass
2014-11-11 0:16 ` [U-Boot] [PATCH v3 14/14] dm: Update documentation to include CONFIG_DM... options Simon Glass
2014-11-23 12:59 ` Simon Glass
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=20141113123152.4828396e@lilith \
--to=albert.u.boot@aribaud.net \
--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.