[PATCH v3 00/18] Minor board_f/board_r cleanups

Ovidiu Panait ovidiu.panait at windriver.com
Mon Nov 23 14:16:33 CET 2020


v3:
* Use only "default y" for CONFIG_CONSOLE_RECORD_INIT_F Kconfig option
* Add reviewed-by tags

v2:
* Introduce CONFIG_CONSOLE_RECORD_INIT_F Kconfig to eliminate complex ifdef
  around console_record_init in board_f.c
* Add function comments to all routines that get their signatures changed
* Add reviewed-by tags

v1:
* Use IS_ENABLED() instead of #ifdef where possible
* Add int return values to various functions so we can drop multiple initr_*
  stub wrappers
* Clean some arch-specific ifdefs
* Minor CONFIG_HANDOFF patches

Ovidiu Panait (18):
  common: Kconfig: Introduce CONFIG_CONSOLE_RECORD_INIT_F
  common: board_f: Drop initf_console_record wrapper
  common: board_f: Use IS_ENABLED(CONFIG_TIMER_EARLY) in initf_dm
  common: board_f: Move setup_machine code to setup_bdinfo
  common: board_f: Use IS_ENABLED(CONFIG_OF_EMBED) in
    reserve_fdt,reloc_fdt
  common: board_r: Drop initr_console_record wrapper
  common: board_r: Drop initr_secondary_cpu wrapper
  common: board_r: Drop initr_post_backlog wrapper
  common: board_r: Drop initr_pci_ep wrapper
  common: board_r: Drop initr_pci wrapper
  common: board_r: Drop initr_noncached wrapper
  common: board_r: Drop initr_xen wrapper
  common: board_r: Drop initr_jumptable wrapper
  common: board_r: Drop initr_api wrapper
  common: board_r: Drop initr_bbmii wrapper
  common: board_r: Drop arch-specific ifdefs around initr_trap
  spl: Kconfig: Add SPL dependency to CONFIG_HANDOFF
  global_data: Enable spl_handoff only if CONFIG_HANDOFF is set

 api/api.c                            |   6 +-
 api/api_private.h                    |   2 +-
 arch/arm/include/asm/system.h        |  13 ++-
 arch/arm/lib/cache.c                 |   4 +-
 arch/m68k/lib/traps.c                |   7 ++
 arch/mips/lib/traps.c                |   7 ++
 arch/powerpc/cpu/mpc85xx/cpu_init.c  |   4 +-
 arch/powerpc/lib/Makefile            |   1 +
 arch/powerpc/lib/traps.c             |  17 ++++
 common/Kconfig                       |   8 ++
 common/board_f.c                     |  78 +++++++---------
 common/board_r.c                     | 134 ++++-----------------------
 common/exports.c                     |   4 +-
 common/spl/Kconfig                   |   2 +-
 drivers/net/phy/miiphybb.c           |   4 +-
 drivers/pci/pci-uclass.c             |   4 +-
 drivers/pci/pci.c                    |   6 +-
 drivers/pci_endpoint/pci_ep-uclass.c |   4 +-
 drivers/xen/hypervisor.c             |   4 +-
 include/api.h                        |  10 +-
 include/asm-generic/global_data.h    |   4 +-
 include/exports.h                    |  10 +-
 include/init.h                       |  46 ++++++++-
 include/miiphy.h                     |  10 +-
 include/post.h                       |  11 ++-
 include/xen.h                        |   2 +-
 post/post.c                          |   4 +-
 27 files changed, 221 insertions(+), 185 deletions(-)
 create mode 100644 arch/powerpc/lib/traps.c

-- 
2.17.1



More information about the U-Boot mailing list