[U-Boot] [PATCH v3 0/7] Some improvements related to build system

Masahiro Yamada yamada.masahiro at socionext.com
Thu Mar 19 11:42:50 CET 2015


 - Move GENERIC_BOARD CONFIGs
 - Remove arch/m68k/lib/board.c
 - Clean ups CONFIG_SYS_MALLOC_F and CONFIG_SYS_MALLOC_F_LEN
 - Move BCM283x code into arch/arm/mach-bcm283x

Changes in v3:
  - No change.  Just add Stephen's Acked-by tag

Changes in v2:
  - Fix a typo   s/not board-independent/board-independent/

Masahiro Yamada (7):
  generic-board: move __HAVE_ARCH_GENERIC_BOARD to Kconfig
  generic-board: select SYS_GENERIC_BOARD for some architectures
  m68k: remove arch/m68k/lib/board.c
  malloc_f: remove redundant defalut values of CONFIG_SYS_MALLOC_F_LEN
  malloc_f: enable SYS_MALLOC_F by default if DM is on
  ARM: bcm283x: merge BCM2835/BCM2836 directories into mach-bcm283x
  ARM: bcm283x: move SoC headers to mach-bcm283x/include/mach

 Kconfig                                            |   2 +-
 Makefile                                           |   2 +-
 README                                             |   6 +-
 arch/Kconfig                                       |  26 +
 arch/arc/config.mk                                 |   3 -
 arch/arc/include/asm/config.h                      |   1 -
 arch/arm/Kconfig                                   |  15 +-
 arch/arm/Makefile                                  |   1 +
 arch/arm/config.mk                                 |   3 -
 arch/arm/cpu/arm1176/Makefile                      |   2 -
 arch/arm/cpu/arm1176/bcm2835/Kconfig               |  12 -
 arch/arm/cpu/armv7/Makefile                        |   1 -
 arch/arm/cpu/armv7/bcm2835/Makefile                |  13 -
 arch/arm/cpu/armv7/exynos/Kconfig                  |   6 -
 arch/arm/cpu/armv7/omap3/Kconfig                   |   6 -
 arch/arm/mach-bcm283x/Kconfig                      |  40 ++
 .../{cpu/arm1176/bcm2835 => mach-bcm283x}/Makefile |   2 +-
 .../include/mach}/gpio.h                           |   0
 .../include/mach}/mbox.h                           |   0
 .../include/mach}/sdhci.h                          |   0
 .../include/mach}/timer.h                          |   0
 .../include/mach}/wdog.h                           |   0
 .../{cpu/arm1176/bcm2835 => mach-bcm283x}/init.c   |   0
 .../bcm2835 => mach-bcm283x}/lowlevel_init.S       |   0
 .../{cpu/arm1176/bcm2835 => mach-bcm283x}/mbox.c   |   0
 .../{cpu/arm1176/bcm2835 => mach-bcm283x}/reset.c  |   0
 .../{cpu/arm1176/bcm2835 => mach-bcm283x}/timer.c  |   0
 arch/arm/mach-tegra/Kconfig                        |   3 -
 arch/arm/mach-uniphier/Kconfig                     |   6 -
 arch/avr32/config.mk                               |   3 -
 arch/blackfin/config.mk                            |   3 -
 arch/blackfin/include/asm/config.h                 |   1 -
 arch/m68k/config.mk                                |   3 -
 arch/m68k/include/asm/config.h                     |   1 -
 arch/m68k/lib/Makefile                             |   3 -
 arch/m68k/lib/board.c                              | 642 ---------------------
 arch/microblaze/config.mk                          |   1 -
 arch/microblaze/include/asm/config.h               |   1 -
 arch/mips/config.mk                                |   2 -
 arch/nios2/config.mk                               |   2 -
 arch/nios2/include/asm/config.h                    |   1 -
 arch/powerpc/config.mk                             |   3 -
 arch/sandbox/config.mk                             |   5 +-
 arch/x86/Kconfig                                   |   3 -
 arch/x86/config.mk                                 |   3 -
 arch/x86/include/asm/config.h                      |   1 -
 board/amcc/canyonlands/Kconfig                     |   8 -
 board/raspberrypi/rpi/Kconfig                      |  15 -
 board/raspberrypi/rpi_2/Kconfig                    |  15 -
 board/ti/am335x/Kconfig                            |   6 -
 configs/Linksprite_pcDuino3_fdt_defconfig          |   2 -
 configs/am335x_igep0033_defconfig                  |   2 -
 configs/cm_fx6_defconfig                           |   2 -
 configs/cm_t335_defconfig                          |   2 -
 configs/gwventana_defconfig                        |   1 -
 configs/mx6dlsabreauto_defconfig                   |   2 -
 configs/mx6qsabreauto_defconfig                    |   2 -
 configs/mx6qsabresd_defconfig                      |   2 -
 configs/mx6sxsabresd_defconfig                     |   2 -
 configs/nokia_rx51_defconfig                       |   2 -
 configs/pcm051_rev1_defconfig                      |   2 -
 configs/pcm051_rev3_defconfig                      |   2 -
 configs/pengwyn_defconfig                          |   2 -
 configs/pepper_defconfig                           |   2 -
 configs/rpi_2_defconfig                            |   3 +-
 configs/rpi_defconfig                              |   3 +-
 configs/s5p_goni_defconfig                         |   2 -
 configs/sandbox_defconfig                          |   2 -
 configs/smdkc100_defconfig                         |   2 -
 configs/snapper9260_defconfig                      |   2 -
 configs/snapper9g20_defconfig                      |   2 -
 configs/stv0991_defconfig                          |   1 -
 doc/README.generic-board                           |  12 +-
 drivers/mmc/bcm2835_sdhci.c                        |   4 +-
 include/configs/amcore.h                           |   2 -
 include/configs/dbau1x00.h                         |   1 -
 include/configs/malta.h                            |   1 -
 include/configs/pb1x00.h                           |   1 -
 include/configs/qemu-mips.h                        |   1 -
 include/configs/qemu-mips64.h                      |   1 -
 include/configs/rcar-gen2-common.h                 |   2 -
 include/configs/vct.h                              |   1 -
 82 files changed, 89 insertions(+), 853 deletions(-)
 delete mode 100644 arch/arm/cpu/arm1176/bcm2835/Kconfig
 delete mode 100644 arch/arm/cpu/armv7/bcm2835/Makefile
 create mode 100644 arch/arm/mach-bcm283x/Kconfig
 rename arch/arm/{cpu/arm1176/bcm2835 => mach-bcm283x}/Makefile (72%)
 rename arch/arm/{include/asm/arch-bcm2835 => mach-bcm283x/include/mach}/gpio.h (100%)
 rename arch/arm/{include/asm/arch-bcm2835 => mach-bcm283x/include/mach}/mbox.h (100%)
 rename arch/arm/{include/asm/arch-bcm2835 => mach-bcm283x/include/mach}/sdhci.h (100%)
 rename arch/arm/{include/asm/arch-bcm2835 => mach-bcm283x/include/mach}/timer.h (100%)
 rename arch/arm/{include/asm/arch-bcm2835 => mach-bcm283x/include/mach}/wdog.h (100%)
 rename arch/arm/{cpu/arm1176/bcm2835 => mach-bcm283x}/init.c (100%)
 rename arch/arm/{cpu/arm1176/bcm2835 => mach-bcm283x}/lowlevel_init.S (100%)
 rename arch/arm/{cpu/arm1176/bcm2835 => mach-bcm283x}/mbox.c (100%)
 rename arch/arm/{cpu/arm1176/bcm2835 => mach-bcm283x}/reset.c (100%)
 rename arch/arm/{cpu/arm1176/bcm2835 => mach-bcm283x}/timer.c (100%)
 delete mode 100644 arch/m68k/lib/board.c
 delete mode 100644 board/raspberrypi/rpi/Kconfig
 delete mode 100644 board/raspberrypi/rpi_2/Kconfig

-- 
1.9.1



More information about the U-Boot mailing list