[U-Boot] [PATCH 00/12] Drop old pre-generic-board code

Simon Glass sjg at chromium.org
Sun May 15 02:49:25 CEST 2016


The deadline for converting boards passed long ago. It is time to convert
the two remaining architectures (openrisc and sh) and remove the old code.

Both of these architectures will likely need work to get them running again.
If this doesn't happen we could consider removing the code at some point.

This series completes this migration.


Simon Glass (12):
  openrisc: Drop the arch-specific board init
  Remove/update old generic-board documentation and warning
  board_f: Don't require CONFIG_SYS_MONITOR_BASE
  sh: Fix build errors for generic board
  sh: Drop the arch-specific board init
  avr32: Drop unused code in u-boot.h
  m68k: Drop unused code in u-boot.h
  mips: Drop unused code in u-boot.h
  powerpc: Drop unused code related to generic board
  Drop use of CONFIG_SYS_GENERIC_BOARD in U-Boot
  Drop references to CONFIG_SYS_GENERIC_BOARD in config files
  Drop HAVE_GENERIC_BOARD and SYS_GENERIC_BOARD options

 Makefile                           |  14 ---
 README                             |  10 --
 arch/Kconfig                       |  32 -------
 arch/avr32/include/asm/u-boot.h    |  20 ----
 arch/m68k/include/asm/u-boot.h     |  39 --------
 arch/mips/include/asm/u-boot.h     |  16 ----
 arch/openrisc/lib/Makefile         |   1 -
 arch/openrisc/lib/board.c          | 140 ---------------------------
 arch/powerpc/cpu/mpc5xxx/start.S   |   3 +-
 arch/powerpc/cpu/ppc4xx/cpu_init.c |   7 --
 arch/powerpc/cpu/ppc4xx/start.S    |   4 -
 arch/powerpc/include/asm/u-boot.h  | 104 --------------------
 arch/powerpc/lib/Makefile          |   5 -
 arch/sh/cpu/sh2/cpu.c              |   6 ++
 arch/sh/cpu/sh2/start.S            |   7 +-
 arch/sh/cpu/sh3/cpu.c              |   6 ++
 arch/sh/cpu/sh3/start.S            |   7 +-
 arch/sh/cpu/sh4/cpu.c              |   6 ++
 arch/sh/cpu/sh4/start.S            |   7 +-
 arch/sh/cpu/u-boot.lds             |   1 +
 arch/sh/include/asm/u-boot.h       |  12 +--
 arch/sh/lib/Makefile               |   1 -
 arch/sh/lib/board.c                | 189 -------------------------------------
 board/renesas/sh7752evb/u-boot.lds |   1 +
 board/renesas/sh7753evb/u-boot.lds |   1 +
 board/renesas/sh7757lcr/u-boot.lds |   1 +
 board/sandbox/README.sandbox       |   3 +-
 common/Makefile                    |   4 +-
 common/board_f.c                   |   2 +-
 common/main.c                      |   6 --
 doc/README.fdt-control             |   6 --
 doc/README.generic-board           |  69 ++------------
 include/configs/gr_cpci_ax2000.h   |   1 -
 include/configs/gr_ep2s60.h        |   1 -
 include/configs/gr_xc3s_1500.h     |   1 -
 include/configs/grsim.h            |   1 -
 include/configs/grsim_leon2.h      |   1 -
 include/configs/openrisc-generic.h |   1 -
 include/watchdog.h                 |   3 +-
 39 files changed, 49 insertions(+), 690 deletions(-)
 delete mode 100644 arch/openrisc/lib/board.c
 delete mode 100644 arch/sh/lib/board.c

-- 
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list