From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/6] reboard: Create reloc.h and include it where needed
Date: Sun, 11 Dec 2011 22:45:49 +0100 [thread overview]
Message-ID: <4EE5248D.9050905@aribaud.net> (raw)
In-Reply-To: <CAPnjgZ1fmxz4wwcgzBJ7u=jPKGEOceAotgaN7tDj3qhyYNxaJQ@mail.gmail.com>
Hi Simon,
Le 11/12/2011 22:33, Simon Glass a ?crit :
> Hi Albert,
>
> On Sun, Dec 11, 2011 at 6:52 AM, Albert ARIBAUD
> <albert.u.boot@aribaud.net> wrote:
>> Le 10/12/2011 20:16, Simon Glass a ?crit :
>>
>>> Before adding new relocation functions, move this prototype out of
>>> common.h where things are pretty crowded.
>>>
>>> Signed-off-by: Simon Glass<sjg@chromium.org>
>>> ---
>>>
>>> arch/arm/cpu/arm926ejs/davinci/spl.c | 1 +
>>> arch/arm/cpu/armv7/omap-common/spl.c | 1 +
>>> arch/arm/lib/board.c | 1 +
>>> arch/avr32/lib/board.c | 1 +
>>> arch/m68k/lib/board.c | 1 +
>>> arch/mips/lib/board.c | 1 +
>>> arch/nds32/lib/board.c | 1 +
>>> arch/powerpc/lib/board.c | 1 +
>>> arch/x86/lib/board.c | 1 +
>>> board/freescale/mpc8313erdb/mpc8313erdb.c | 1 +
>>> board/freescale/mpc8315erdb/mpc8315erdb.c | 1 +
>>> board/samsung/smdk6400/smdk6400_nand_spl.c | 1 +
>>> board/sheldon/simpc8313/simpc8313.c | 1 +
>>> include/common.h | 2 +-
>>> include/reloc.h | 39
>>> +++++++++++++++++++++
>>> nand_spl/board/freescale/mpc8536ds/nand_boot.c | 1 +
>>> nand_spl/board/freescale/mpc8569mds/nand_boot.c | 1 +
>>> nand_spl/board/freescale/mpc8572ds/nand_boot.c | 1 +
>>> nand_spl/board/freescale/p1010rdb/nand_boot.c | 1 +
>>> nand_spl/board/freescale/p1023rds/nand_boot.c | 1 +
>>> nand_spl/board/freescale/p1_p2_rdb/nand_boot.c | 1 +
>>> nand_spl/board/freescale/p1_p2_rdb_pc/nand_boot.c | 1 +
>>> nand_spl/nand_boot_fsl_nfc.c | 1 +
>>> 23 files changed, 61 insertions(+), 1 deletions(-)
>>> create mode 100644 include/reloc.h
>>
>>
>> Since this patch set indicates that ARM, and only ARM, is moved over to
>> relocation, I would prefer it that no other arch file be modified in this
>> patch, and that the move of ARM to the new relocation mechanism be done in
>> an atomic commit, so that other architectures can refer to a single commit
>> in order to do their own move.
>
> What specifically are you asking for in this patch? I added this at
> the request of a reviewer of v1, who felt that we should be removing
> code from common.h instead of adding it, and that relocation is done
> in only a few sites so should not be in common.h. Do you think this
> patch should be pulled out of the series and done on its own?
What I am asking for, since your whole patch series only applies the
'new' relocation to ARM, is that this patch should not change anything
to any arch other than ARM. Any other arch should only be touched by a
later patch, whoever submits it, that will specifically aim to switch
that arch to the 'new' relocation.
> Regards,
> Simon
Amicalement,
--
Albert.
next prev parent reply other threads:[~2011-12-11 21:45 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-10 19:16 [U-Boot] [PATCH v2 0/6] reboard: Introduce generic relocation feature Simon Glass
2011-12-10 19:16 ` [U-Boot] [PATCH v2 1/6] reboard: Create reloc.h and include it where needed Simon Glass
2011-12-11 14:52 ` Albert ARIBAUD
2011-12-11 21:33 ` Simon Glass
2011-12-11 21:45 ` Albert ARIBAUD [this message]
2011-12-11 21:45 ` Graeme Russ
2011-12-11 22:29 ` Albert ARIBAUD
2011-12-11 22:31 ` Albert ARIBAUD
2011-12-12 5:02 ` Simon Glass
2011-12-10 19:16 ` [U-Boot] [PATCH v2 2/6] reboard: define CONFIG_SYS_SKIP_RELOC for all archs Simon Glass
2011-12-11 14:57 ` Albert ARIBAUD
2011-12-12 5:06 ` Simon Glass
2011-12-10 19:16 ` [U-Boot] [PATCH v2 3/6] reboard: Add generic relocation feature Simon Glass
2011-12-10 19:16 ` [U-Boot] [PATCH v2 4/6] reboard: arm: Add processor function library Simon Glass
2011-12-11 14:16 ` Albert ARIBAUD
2011-12-12 5:24 ` Simon Glass
2011-12-22 6:23 ` Simon Glass
2011-12-10 19:16 ` [U-Boot] [PATCH v2 5/6] reboard: arm: Move over to generic relocation Simon Glass
2011-12-10 19:16 ` [U-Boot] [PATCH v2 6/6] reboard: arm: Remove unused code in start.S Simon Glass
2011-12-11 14:59 ` Albert ARIBAUD
2011-12-12 5:09 ` Simon Glass
2011-12-11 14:47 ` [U-Boot] [PATCH v2 0/6] reboard: Introduce generic relocation feature Albert ARIBAUD
2011-12-11 21:30 ` Simon Glass
2011-12-11 22:27 ` Albert ARIBAUD
2011-12-12 5:20 ` Simon Glass
2011-12-12 5:58 ` Graeme Russ
2011-12-16 1:09 ` 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=4EE5248D.9050905@aribaud.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox