
* 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: 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_addr_map 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/mmu.h | 2 +- arch/arm/include/asm/system.h | 2 +- arch/arm/lib/cache.c | 4 +- arch/arm/mach-bcm283x/init.c | 4 +- arch/m68k/lib/traps.c | 7 ++ arch/mips/lib/traps.c | 7 ++ arch/powerpc/cpu/mpc85xx/cpu_init.c | 4 +- arch/powerpc/cpu/mpc85xx/tlb.c | 4 +- arch/powerpc/cpu/mpc86xx/cpu_init.c | 4 +- arch/powerpc/include/asm/mmu.h | 2 +- arch/powerpc/lib/Makefile | 1 + arch/powerpc/lib/traps.c | 17 ++++ common/board_f.c | 78 +++++++------- common/board_r.c | 145 ++++----------------------- 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 | 2 +- include/asm-generic/global_data.h | 4 +- include/exports.h | 2 +- include/init.h | 13 ++- include/miiphy.h | 2 +- include/post.h | 2 +- include/xen.h | 2 +- post/post.c | 4 +- 31 files changed, 148 insertions(+), 200 deletions(-) create mode 100644 arch/powerpc/lib/traps.c