From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/5] spl: reorder the assignment of board info to global data
Date: Tue, 18 Apr 2017 15:25:49 +0200 [thread overview]
Message-ID: <20170418152549.1b345488@jawa> (raw)
In-Reply-To: <1492516647-26840-2-git-send-email-ravibabu@ti.com>
Hi Ravi,
> From: Lokesh Vutla <lokeshvutla@ti.com>
>
> Move the assignment of board info to global data a bit early which is
> safe,
> so that ram details can be used to enable caches.
>
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> Signed-off-by: Ravi Babu <ravibabu@ti.com>
> ---
> common/spl/spl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/common/spl/spl.c b/common/spl/spl.c
> index a3e73b8..f11b370 100644
> --- a/common/spl/spl.c
> +++ b/common/spl/spl.c
> @@ -322,6 +322,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
> struct spl_image_info spl_image;
>
> debug(">>spl:board_init_r()\n");
> + gd->bd = &bdata;
>
> #if defined(CONFIG_SYS_SPL_MALLOC_START)
> mem_malloc_init(CONFIG_SYS_SPL_MALLOC_START,
> @@ -383,7 +384,6 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
> */
> void preloader_console_init(void)
> {
> - gd->bd = &bdata;
> gd->baudrate = CONFIG_BAUDRATE;
>
> serial_init(); /* serial communications setup
> */
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
next prev parent reply other threads:[~2017-04-18 13:25 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-18 11:57 [U-Boot] [PATCH 0/5] QSPI: Falcon or single stage boot mode support Ravi Babu
2017-04-18 11:57 ` [U-Boot] [PATCH 1/5] spl: reorder the assignment of board info to global data Ravi Babu
2017-04-18 13:25 ` Lukasz Majewski [this message]
2017-04-18 13:42 ` Tom Rini
2017-05-12 17:18 ` [U-Boot] [U-Boot, " Tom Rini
2017-08-03 0:53 ` York Sun
2017-04-18 11:57 ` [U-Boot] [PATCH 2/5] arch: arm: omap: Declare size of ddr very early Ravi Babu
2017-04-18 13:33 ` Lukasz Majewski
2017-04-18 14:09 ` B, Ravi
2017-04-20 2:08 ` Lokesh Vutla
2017-05-12 17:18 ` [U-Boot] [U-Boot, " Tom Rini
2017-04-18 11:57 ` [U-Boot] [PATCH 3/5] qspi: dra7xx: enable qspi-boot for dra7x paltform Ravi Babu
2017-04-18 13:33 ` Lukasz Majewski
2017-05-12 17:18 ` [U-Boot] [U-Boot, " Tom Rini
2017-04-18 11:57 ` [U-Boot] [PATCH 4/5] spl: fdt: support for fdt fixup for falcon boot Ravi Babu
2017-04-18 13:35 ` Lukasz Majewski
2017-05-12 17:19 ` [U-Boot] [U-Boot, " Tom Rini
2017-04-18 11:57 ` [U-Boot] [PATCH 5/5] boot: fdt: fixup the memory dt nodes " Ravi Babu
2017-04-18 13:25 ` Lukasz Majewski
2017-04-18 14:05 ` B, Ravi
2017-04-20 1:54 ` Lokesh Vutla
2017-05-12 17:19 ` [U-Boot] [U-Boot, " Tom Rini
2017-08-02 19:10 ` York Sun
2017-08-02 19:32 ` Tom Rini
2017-08-26 11:50 ` Jagan Teki
2017-08-28 16:47 ` York Sun
2017-08-29 19:29 ` Jagan Teki
2017-08-29 20:21 ` York Sun
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=20170418152549.1b345488@jawa \
--to=lukma@denx.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox