All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 6/8] nios2: define _end in link script
Date: Fri, 4 Sep 2015 16:01:16 +0200	[thread overview]
Message-ID: <201509041601.17045.marex@denx.de> (raw)
In-Reply-To: <1441369343-4638-7-git-send-email-thomas@wytron.com.tw>

On Friday, September 04, 2015 at 02:22:21 PM, Thomas Chou wrote:
> Since commit 44c6e6591cb451ae606f8bde71dd5fb7b4002544
> "rename _end to __bss_end__" , the _end was removed.
> But we need it now for separated device tree control,
> ie, CONFIG_OF_SEPARATE .
> 
> The _end is used by fdtdec_setup() to find the blob.
> 
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> ---
>  arch/nios2/cpu/u-boot.lds | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/nios2/cpu/u-boot.lds b/arch/nios2/cpu/u-boot.lds
> index 951785c..535a974 100644
> --- a/arch/nios2/cpu/u-boot.lds
> +++ b/arch/nios2/cpu/u-boot.lds
> @@ -66,6 +66,11 @@ SECTIONS
>  	_edata = .;
>  	PROVIDE (edata = .);
> 
> +	/* _end - This is end of u-boot.bin image.
> +	 * dtb will be appended here to make u-boot-dtb.bin
> +         */
> +	_end = .;

Same comment about the comment as in the previous patch, but otherwise:

Acked-by: Marek Vasut <marex@denx.de>

>  	/* UNINIT DATA - Small uninitialized data is first so it's
>  	 * adjacent to sdata and can be referenced via gp. The normal
>  	 * bss follows. We keep it adjacent to simplify init code.

Best regards,
Marek Vasut

  reply	other threads:[~2015-09-04 14:01 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-04  3:15 [U-Boot] [PATCH 0/5] nios2: add device tree control of U-Boot Thomas Chou
2015-09-04  3:15 ` [U-Boot] [PATCH 1/5] nios2: permit " Thomas Chou
2015-09-04  4:08   ` Simon Glass
2015-09-04  3:15 ` [U-Boot] [PATCH 2/5] nios2: enable " Thomas Chou
2015-09-04  4:09   ` Simon Glass
2015-09-04  3:15 ` [U-Boot] [PATCH 3/5] nios2: revert _end symbol in link script Thomas Chou
2015-09-04  4:09   ` Simon Glass
2015-09-04  3:15 ` [U-Boot] [PATCH 4/5] nios2: initialize stack earlier in startup Thomas Chou
2015-09-04  4:09   ` Simon Glass
2015-09-04  3:15 ` [U-Boot] [PATCH 5/5] nios2: relocate dtb for separated device tree Thomas Chou
2015-09-04  4:09   ` Simon Glass
2015-09-04  4:47     ` Thomas Chou
2015-09-04 12:22 ` [U-Boot] [PATCH v2 0/8] nios2: add device tree control of U-Boot Thomas Chou
2015-09-04 12:22   ` [U-Boot] [PATCH v2 1/8] nios2: permit " Thomas Chou
2015-09-04 13:54     ` Marek Vasut
2015-09-04 12:22   ` [U-Boot] [PATCH v2 2/8] nios2: move altera_pio_init to board_early_init_r Thomas Chou
2015-09-04 13:55     ` Marek Vasut
2015-09-05  0:16       ` Thomas Chou
2015-09-05  0:54         ` Marek Vasut
2015-09-04 12:22   ` [U-Boot] [PATCH v2 3/8] nios2: BSS should be cleared only after board_init_f Thomas Chou
2015-09-04 13:56     ` Marek Vasut
2015-09-04 12:22   ` [U-Boot] [PATCH v2 4/8] nios2: enlarge the code relocation range Thomas Chou
2015-09-04 13:59     ` Marek Vasut
2015-09-05  2:17       ` Thomas Chou
2015-09-05 12:50         ` Marek Vasut
2015-09-06 11:28           ` Thomas Chou
2015-09-06 12:29             ` Marek Vasut
2015-09-06 13:12               ` Thomas Chou
2015-09-06 13:18                 ` Marek Vasut
2015-09-06 13:49                   ` Thomas Chou
2015-09-06 15:23                     ` Marek Vasut
2015-09-07  0:22                       ` Thomas Chou
2015-09-07  0:53                         ` Marek Vasut
2015-09-07  1:47                           ` Thomas Chou
2015-09-07  9:31                             ` Marek Vasut
2015-09-04 12:22   ` [U-Boot] [PATCH v2 5/8] nios2: remove gp assignments in link script Thomas Chou
2015-09-04 14:00     ` Marek Vasut
2015-09-05  2:31       ` [U-Boot] [PATCH v3 " Thomas Chou
2015-09-04 12:22   ` [U-Boot] [PATCH v2 6/8] nios2: define _end " Thomas Chou
2015-09-04 14:01     ` Marek Vasut [this message]
2015-09-05  2:41       ` [U-Boot] [PATCH v3 " Thomas Chou
2015-09-05 12:49         ` Marek Vasut
2015-09-04 14:09     ` [U-Boot] [PATCH v2 " Simon Glass
2015-09-04 12:22   ` [U-Boot] [PATCH v2 7/8] nios2: show fdt blob address in board info command Thomas Chou
2015-09-04 14:01     ` Marek Vasut
2015-09-05  2:54       ` Thomas Chou
2015-09-05 12:51         ` Marek Vasut
2015-09-06 11:31           ` Thomas Chou
2015-09-06 13:20           ` Thomas Chou
2015-09-06 14:27             ` Marek Vasut
2015-09-08  3:55               ` Simon Glass
2015-09-08 10:10                 ` Marek Vasut
2015-09-04 14:10     ` Simon Glass
2015-09-09  4:26     ` Thomas Chou
2015-09-04 12:22   ` [U-Boot] [PATCH v2 8/8] nios2: enable device tree control of U-Boot Thomas Chou
2015-09-04 14:03     ` Marek Vasut
2015-09-05  3:36       ` Thomas Chou
2015-09-05 12:52         ` Marek Vasut
2015-09-04 14:04   ` [U-Boot] [PATCH v2 0/8] nios2: add " Marek Vasut
2015-09-05  3:20     ` Thomas Chou
2015-09-05 12:53       ` Marek Vasut
2015-09-07  1:36       ` Ley Foon Tan
2015-09-07  1:03 ` [U-Boot] [PATCH v4 0/7] " Thomas Chou
2015-09-07  1:03   ` [U-Boot] [PATCH v4 1/7] nios2: permit " Thomas Chou
2015-09-07  2:24     ` Thomas Chou
2015-09-07  1:03   ` [U-Boot] [PATCH v4 2/7] nios2: move altera_pio_init to board_early_init_r Thomas Chou
2015-09-07  2:24     ` Thomas Chou
2015-09-07  1:03   ` [U-Boot] [PATCH v4 3/7] nios2: BSS should be cleared only after board_init_f Thomas Chou
2015-09-07  2:25     ` Thomas Chou
2015-09-07  1:03   ` [U-Boot] [PATCH v4 4/7] nios2: enlarge the code relocation range Thomas Chou
2015-09-07  2:26     ` Thomas Chou
2015-09-07  1:03   ` [U-Boot] [PATCH v4 5/7] nios2: remove gp assignments in link script Thomas Chou
2015-09-07  2:26     ` Thomas Chou
2015-09-07  1:03   ` [U-Boot] [PATCH v4 6/7] nios2: define _end " Thomas Chou
2015-09-07  2:27     ` Thomas Chou
2015-09-07  1:03   ` [U-Boot] [PATCH v4 7/7] nios2: enable device tree control of U-Boot Thomas Chou
2015-09-07  2:28     ` Thomas Chou
2015-09-07  9:29   ` [U-Boot] [PATCH v4 0/7] nios2: add " Marek Vasut
2015-09-07 14:20     ` Thomas Chou

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=201509041601.17045.marex@denx.de \
    --to=marex@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 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.