[U-Boot] [PATCH v2 1/6] reboard: Create reloc.h and include it where needed

Albert ARIBAUD albert.u.boot at aribaud.net
Sun Dec 11 15:52:30 CET 2011


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 at 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.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list