From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sun, 11 Dec 2011 22:45:49 +0100 Subject: [U-Boot] [PATCH v2 1/6] reboard: Create reloc.h and include it where needed In-Reply-To: References: <1323544576-25940-1-git-send-email-sjg@chromium.org> <1323544576-25940-2-git-send-email-sjg@chromium.org> <4EE4C3AE.1060208@aribaud.net> Message-ID: <4EE5248D.9050905@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > 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 >>> --- >>> >>> 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.