remove unnecessary version.h includes
Subsystems (12)
PATCH 1/1 remove unnecessary version.h includes
Various files are needlessly rebuilt every time due to the version and build time changing. As version.h is not actually needed, remove the include.
Signed-off-by Rob Herring <[email protected]>
Cc Albert Aribaud <[email protected]>
Cc Stefano Babic <[email protected]>
Cc Minkyu Kang <[email protected]>
Cc Marek Vasut <[email protected]>
Cc Tom Warren <[email protected]>
Cc Michal Simek <[email protected]>
Cc Macpaul Lin <[email protected]>
Cc Wolfgang Denk <[email protected]>
Cc York Sun <[email protected]>
Cc Stefan Roese <[email protected]>
Cc Nobuhiro Iwamatsu <[email protected]>
Cc Simon Glass <[email protected]>
Cc Philippe Reynes <[email protected]>
Cc Eric Jarrige <[email protected]>
Cc Linus Walleij <[email protected]>
Cc "David M?ller" <[email protected]>
Cc Phil Edworthy <[email protected]>
Cc Robert Baldyga <[email protected]>
Cc "?ukasz Majewski" <[email protected]>
Cc Torsten Koschorrek <[email protected]>
Cc Anatolij Gustschin <[email protected]>
---
arch/arm/cpu/arm1136/start.S | 1 - arch/arm/cpu/arm1176/start.S | 1 - arch/arm/cpu/arm720t/start.S | 1 - arch/arm/cpu/arm926ejs/mxs/start.S | 1 - arch/arm/cpu/arm926ejs/start.S | 1 - arch/arm/cpu/arm946es/start.S | 1 - arch/arm/cpu/armv7/armada-xp/lowlevel_spl.S | 1 - arch/arm/cpu/armv7/exynos/clock_init_exynos4.c | 1 - arch/arm/cpu/armv7/exynos/exynos4_setup.h | 1 - arch/arm/cpu/armv7/omap3/lowlevel_init.S | 1 - arch/arm/cpu/armv7/socfpga/lowlevel_init.S | 1 - arch/arm/cpu/armv7/socfpga/spl.c | 1 - arch/arm/cpu/armv7/start.S | 1 - arch/arm/cpu/armv8/cache.S | 1 - arch/arm/cpu/armv8/exceptions.S | 1 - arch/arm/cpu/armv8/start.S | 1 - arch/arm/cpu/armv8/tlb.S | 1 - arch/arm/cpu/armv8/transition.S | 1 - arch/arm/cpu/pxa/start.S | 1 - arch/arm/cpu/sa1100/start.S | 1 - arch/arm/mach-tegra/lowlevel_init.S | 1 - arch/microblaze/cpu/spl.c | 1 - arch/nds32/cpu/n1213/start.S | 1 - arch/powerpc/config.mk | 9 +++++---- arch/powerpc/cpu/mpc8260/kgdb.S | 1 - arch/powerpc/cpu/mpc85xx/release.S | 1 - arch/powerpc/cpu/mpc86xx/cache.S | 1 - arch/powerpc/cpu/mpc86xx/release.S | 1 - arch/powerpc/cpu/mpc8xx/kgdb.S | 1 - arch/powerpc/cpu/ppc4xx/kgdb.S | 1 - arch/sh/cpu/sh2/start.S | 1 - arch/sh/cpu/sh3/start.S | 1 - arch/sh/cpu/sh4/start.S | 1 - arch/x86/cpu/start.S | 1 - board/alphaproject/ap_sh4a_4a/lowlevel_init.S | 1 - board/armadeus/apf27/lowlevel_init.S | 1 - board/armltd/integrator/lowlevel_init.S | 1 - board/armltd/versatile/lowlevel_init.S | 1 - board/espt/lowlevel_init.S | 1 - board/logicpd/imx27lite/lowlevel_init.S | 1 - board/mpl/vcma9/lowlevel_init.S | 2 -- board/ms7722se/lowlevel_init.S | 1 - board/ms7750se/lowlevel_init.S | 1 - board/renesas/MigoR/lowlevel_init.S | 1 - board/renesas/ap325rxa/lowlevel_init.S | 1 - board/renesas/ecovec/lowlevel_init.S | 1 - board/renesas/r0p7734/lowlevel_init.S | 1 - board/renesas/r2dplus/lowlevel_init.S | 1 - board/renesas/r7780mp/lowlevel_init.S | 1 - board/renesas/rsk7203/lowlevel_init.S | 1 - board/renesas/rsk7264/lowlevel_init.S | 1 - board/renesas/rsk7269/lowlevel_init.S | 1 - board/renesas/sh7752evb/lowlevel_init.S | 1 - board/renesas/sh7753evb/lowlevel_init.S | 1 - board/renesas/sh7757lcr/lowlevel_init.S | 1 - board/renesas/sh7763rdp/lowlevel_init.S | 1 - board/renesas/sh7785lcr/lowlevel_init.S | 1 - board/samsung/goni/lowlevel_init.S | 1 - board/samsung/smdk2410/lowlevel_init.S | 2 -- board/samsung/smdkc100/lowlevel_init.S | 1 - board/samsung/trats/setup.h | 1 - board/scb9328/lowlevel_init.S | 1 - board/shmin/lowlevel_init.S | 1 - common/spl/spl_mmc.c | 1 - common/spl/spl_sata.c | 1 - drivers/rtc/mc146818.c | 1 - drivers/video/mpc8xx_lcd.c | 1 - drivers/video/pxa_lcd.c | 1 - 68 files changed, 5 insertions(+), 73 deletions(-)
arch/arm/cpu/arm1136/start.S +0 -1
@@ -14,7 +14,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> /* *************************************************************************
arch/arm/cpu/arm1176/start.S +0 -1
@@ -16,7 +16,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> #ifndef CONFIG_SYS_PHY_UBOOT_BASE #define CONFIG_SYS_PHY_UBOOT_BASE CONFIG_SYS_UBOOT_BASE
arch/arm/cpu/arm720t/start.S +0 -1
@@ -9,7 +9,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> #include <asm/hardware.h> /*
arch/arm/cpu/arm926ejs/mxs/start.S +0 -1
@@ -22,7 +22,6 @@ #include <asm-offsets.h> #include <config.h> #include <common.h> -#include <version.h> /* *************************************************************************
arch/arm/cpu/arm926ejs/start.S +0 -1
@@ -18,7 +18,6 @@ #include <asm-offsets.h> #include <config.h> #include <common.h> -#include <version.h> /* *************************************************************************
arch/arm/cpu/arm946es/start.S +0 -1
@@ -17,7 +17,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> /* *************************************************************************
arch/arm/cpu/armv7/armada-xp/lowlevel_spl.S +0 -1
@@ -3,7 +3,6 @@ */ #include <config.h> -#include <version.h> #include <linux/linkage.h> ENTRY(save_boot_params)
arch/arm/cpu/armv7/exynos/clock_init_exynos4.c +0 -1
@@ -25,7 +25,6 @@#include <common.h> #include <config.h> -#include <version.h> #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/clk.h>
arch/arm/cpu/armv7/exynos/exynos4_setup.h +0 -1
@@ -10,7 +10,6 @@#define _ORIGEN_SETUP_H#include <config.h> -#include <version.h> #include <asm/arch/cpu.h> #ifdef CONFIG_CLK_800_330_165
arch/arm/cpu/armv7/omap3/lowlevel_init.S +0 -1
@@ -12,7 +12,6 @@ */ #include <config.h> -#include <version.h> #include <asm/arch/mem.h> #include <asm/arch/clocks_omap3.h> #include <linux/linkage.h>
arch/arm/cpu/armv7/socfpga/lowlevel_init.S +0 -1
@@ -5,7 +5,6 @@ */ #include <config.h> -#include <version.h> /* Set up the platform, once the cpu has been initialized */ .globl lowlevel_init
arch/arm/cpu/armv7/socfpga/spl.c +0 -1
@@ -8,7 +8,6 @@#include <asm/io.h> #include <asm/u-boot.h> #include <asm/utils.h> -#include <version.h> #include <image.h> #include <asm/arch/reset_manager.h> #include <spl.h>
arch/arm/cpu/armv7/start.S +0 -1
@@ -15,7 +15,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> #include <asm/system.h> #include <linux/linkage.h>
arch/arm/cpu/armv8/cache.S +0 -1
@@ -9,7 +9,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> #include <asm/macro.h> #include <linux/linkage.h>
arch/arm/cpu/armv8/exceptions.S +0 -1
@@ -7,7 +7,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> #include <asm/ptrace.h> #include <asm/macro.h> #include <linux/linkage.h>
arch/arm/cpu/armv8/start.S +0 -1
@@ -7,7 +7,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> #include <linux/linkage.h> #include <asm/macro.h> #include <asm/armv8/mmu.h>
arch/arm/cpu/armv8/tlb.S +0 -1
@@ -7,7 +7,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> #include <linux/linkage.h> #include <asm/macro.h>
arch/arm/cpu/armv8/transition.S +0 -1
@@ -7,7 +7,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> #include <linux/linkage.h> #include <asm/macro.h>
arch/arm/cpu/pxa/start.S +0 -1
@@ -21,7 +21,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> /* *************************************************************************
arch/arm/cpu/sa1100/start.S +0 -1
@@ -11,7 +11,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> /* *************************************************************************
arch/arm/mach-tegra/lowlevel_init.S +0 -1
@@ -8,7 +8,6 @@ */ #include <config.h> -#include <version.h> #include <linux/linkage.h> .align 5
arch/microblaze/cpu/spl.c +0 -1
@@ -9,7 +9,6 @@#include <common.h> #include <image.h> #include <spl.h> -#include <version.h> #include <asm/io.h> #include <asm/u-boot.h>
arch/nds32/cpu/n1213/start.S +0 -1
@@ -13,7 +13,6 @@ #include <config.h> #include <common.h> #include <asm/macro.h> -#include <version.h> /* * Jump vector table for EVIC mode
arch/powerpc/config.mk +5 -4
@@ -12,10 +12,11 @@ endif CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000 LDFLAGS_FINAL += --gc-sections LDFLAGS_FINAL += --bss-plt -PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections -fdata-sections \ - -meabi -PLATFORM_CPPFLAGS += -D__powerpc__ -ffixed-r2 -PLATFORM_LDFLAGS += -n +PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections \ +-fdata-sections -mcall-linux + +PLATFORM_CPPFLAGS += -D__powerpc__ -ffixed-r2 -m32 +PLATFORM_LDFLAGS += -m32 -melf32ppclinux # Support generic board on PPC __HAVE_ARCH_GENERIC_BOARD := y
arch/powerpc/cpu/mpc8260/kgdb.S +0 -1
@@ -7,7 +7,6 @@ #include <config.h> #include <command.h> #include <mpc8260.h> -#include <version.h> #include <ppc_asm.tmpl> #include <ppc_defs.h>
arch/powerpc/cpu/mpc85xx/release.S +0 -1
@@ -8,7 +8,6 @@ #include <asm-offsets.h> #include <config.h> #include <mpc85xx.h> -#include <version.h> #include <ppc_asm.tmpl> #include <ppc_defs.h>
arch/powerpc/cpu/mpc86xx/cache.S +0 -1
@@ -1,6 +1,5 @@ #include <config.h> #include <mpc86xx.h> -#include <version.h> #include <ppc_asm.tmpl> #include <ppc_defs.h>
arch/powerpc/cpu/mpc86xx/release.S +0 -1
@@ -6,7 +6,6 @@ */ #include <config.h> #include <mpc86xx.h> -#include <version.h> #include <ppc_asm.tmpl> #include <ppc_defs.h>
arch/powerpc/cpu/mpc8xx/kgdb.S +0 -1
@@ -7,7 +7,6 @@ #include <config.h> #include <command.h> #include <mpc8xx.h> -#include <version.h> #include <ppc_asm.tmpl> #include <ppc_defs.h>
arch/powerpc/cpu/ppc4xx/kgdb.S +0 -1
@@ -7,7 +7,6 @@ #include <config.h> #include <command.h> #include <asm/ppc4xx.h> -#include <version.h> #define CONFIG_405GP 1 /* needed for Linux kernel header files */
arch/sh/cpu/sh2/start.S +0 -1
@@ -7,7 +7,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> .text .align 2
arch/sh/cpu/sh3/start.S +0 -1
@@ -10,7 +10,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> .text .align 2
arch/sh/cpu/sh4/start.S +0 -1
@@ -7,7 +7,6 @@ #include <asm-offsets.h> #include <config.h> -#include <version.h> .text .align 2
arch/x86/cpu/start.S +0 -1
@@ -11,7 +11,6 @@ */ #include <config.h> -#include <version.h> #include <asm/global_data.h> #include <asm/post.h> #include <asm/processor.h>
board/alphaproject/ap_sh4a_4a/lowlevel_init.S +0 -1
@@ -5,7 +5,6 @@ * SPDX-License-Identifier: GPL-2.0+ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/armadeus/apf27/lowlevel_init.S +0 -1
@@ -6,7 +6,6 @@ #include <config.h> #include <generated/asm-offsets.h> -#include <version.h> #include <asm/macro.h> #include <asm/arch/imx-regs.h> #include "apf27.h"
board/armltd/integrator/lowlevel_init.S +0 -1
@@ -8,7 +8,6 @@ */ #include <config.h> -#include <version.h> /* Reset using CM control register */ .global reset_cpu
board/armltd/versatile/lowlevel_init.S +0 -1
@@ -8,7 +8,6 @@ */ #include <config.h> -#include <version.h> /* Set up the platform, once the cpu has been initialized */ .globl lowlevel_init
board/espt/lowlevel_init.S +0 -1
@@ -8,7 +8,6 @@ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/logicpd/imx27lite/lowlevel_init.S +0 -1
@@ -10,7 +10,6 @@ #include <config.h> -#include <version.h> #include <asm/macro.h> #include <asm/arch/imx-regs.h> #include <generated/asm-offsets.h>
board/mpl/vcma9/lowlevel_init.S +0 -2
@@ -13,8 +13,6 @@ #include <config.h> -#include <version.h> - /* register definitions */
board/ms7722se/lowlevel_init.S +0 -1
@@ -11,7 +11,6 @@ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/ms7750se/lowlevel_init.S +0 -1
@@ -10,7 +10,6 @@ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/renesas/MigoR/lowlevel_init.S +0 -1
@@ -11,7 +11,6 @@ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/renesas/ap325rxa/lowlevel_init.S +0 -1
@@ -8,7 +8,6 @@ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/renesas/ecovec/lowlevel_init.S +0 -1
@@ -8,7 +8,6 @@ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h> #include <configs/ecovec.h>
board/renesas/r0p7734/lowlevel_init.S +0 -1
@@ -5,7 +5,6 @@ * SPDX-License-Identifier: GPL-2.0+ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/renesas/r2dplus/lowlevel_init.S +0 -1
@@ -5,7 +5,6 @@ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/renesas/r7780mp/lowlevel_init.S +0 -1
@@ -7,7 +7,6 @@ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/renesas/rsk7203/lowlevel_init.S +0 -1
@@ -5,7 +5,6 @@ * SPDX-License-Identifier: GPL-2.0+ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/renesas/rsk7264/lowlevel_init.S +0 -1
@@ -8,7 +8,6 @@ * SPDX-License-Identifier: GPL-2.0+ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/renesas/rsk7269/lowlevel_init.S +0 -1
@@ -9,7 +9,6 @@ * SPDX-License-Identifier: GPL-2.0+ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/renesas/sh7752evb/lowlevel_init.S +0 -1
@@ -5,7 +5,6 @@ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/renesas/sh7753evb/lowlevel_init.S +0 -1
@@ -5,7 +5,6 @@ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/renesas/sh7757lcr/lowlevel_init.S +0 -1
@@ -5,7 +5,6 @@ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/renesas/sh7763rdp/lowlevel_init.S +0 -1
@@ -9,7 +9,6 @@ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/renesas/sh7785lcr/lowlevel_init.S +0 -1
@@ -4,7 +4,6 @@ * SPDX-License-Identifier: GPL-2.0+ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
board/samsung/goni/lowlevel_init.S +0 -1
@@ -8,7 +8,6 @@ */ #include <config.h> -#include <version.h> #include <asm/arch/cpu.h> #include <asm/arch/clock.h> #include <asm/arch/power.h>
board/samsung/smdk2410/lowlevel_init.S +0 -2
@@ -13,8 +13,6 @@ #include <config.h> -#include <version.h> - /* some parameters for the board */
board/samsung/smdkc100/lowlevel_init.S +0 -1
@@ -7,7 +7,6 @@ */ #include <config.h> -#include <version.h> #include <asm/arch/cpu.h> #include <asm/arch/power.h>
board/samsung/trats/setup.h +0 -1
@@ -11,7 +11,6 @@#define _TRATS_SETUP_H#include <config.h> -#include <version.h> #include <asm/arch/cpu.h> /* CLK_SRC_CPU: APLL(1), MPLL(1), CORE(0), HPM(0) */
board/scb9328/lowlevel_init.S +0 -1
@@ -5,7 +5,6 @@ */ #include <config.h> -#include <version.h> #include <asm/arch/imx-regs.h> .globl lowlevel_init
board/shmin/lowlevel_init.S +0 -1
@@ -5,7 +5,6 @@ */ #include <config.h> -#include <version.h> #include <asm/processor.h> #include <asm/macro.h>
common/spl/spl_mmc.c +0 -1
@@ -10,7 +10,6 @@#include <spl.h> #include <asm/u-boot.h> #include <mmc.h> -#include <version.h> #include <image.h> DECLARE_GLOBAL_DATA_PTR ;
common/spl/spl_sata.c +0 -1
@@ -15,7 +15,6 @@#include <sata.h> #include <scsi.h> #include <fat.h> -#include <version.h> #include <image.h> DECLARE_GLOBAL_DATA_PTR ;
drivers/rtc/mc146818.c +0 -1
@@ -14,7 +14,6 @@#include <common.h> #include <command.h> #include <rtc.h> -#include <version.h> #if defined(__I386__) || defined(CONFIG_MALTA )#include <asm/io.h>
drivers/video/mpc8xx_lcd.c +0 -1
@@ -15,7 +15,6 @@#include <common.h> #include <command.h> #include <watchdog.h> -#include <version.h> #include <stdarg.h> #include <lcdvideo.h> #include <linux/types.h>
drivers/video/pxa_lcd.c +0 -1
@@ -13,7 +13,6 @@#include <config.h> #include <common.h> -#include <version.h> #include <stdarg.h> #include <linux/types.h> #include <stdio_dev.h>
Signature · 1 line
2.1.0
PATCH 1/1 remove unnecessary version.h includes
Quoted 18 lines · Rob Herring
Various files are needlessly rebuilt every time due to the version and build time changing. As
version.his not actually needed, remove the include.Signed-off-by Rob Herring <[email protected]>Cc Albert Aribaud <[email protected]>Cc Stefano Babic <[email protected]>Cc Minkyu Kang <[email protected]>Cc Marek Vasut <[email protected]>Cc Tom Warren <[email protected]>Cc Michal Simek <[email protected]>Cc Macpaul Lin <[email protected]>Cc Wolfgang Denk <[email protected]>Cc York Sun <[email protected]>Cc Stefan Roese <[email protected]>Cc Nobuhiro Iwamatsu <[email protected]>Cc Simon Glass <[email protected]>Cc Philippe Reynes <[email protected]>
Quoted 8 lines
Cc Eric Jarrige <[email protected]>Cc Linus Walleij <[email protected]>Cc "David M?ller" <[email protected]>Cc Phil Edworthy <[email protected]>Cc Robert Baldyga <[email protected]>Cc "?ukasz Majewski" <[email protected]>Cc Torsten Koschorrek <[email protected]>Cc Anatolij Gustschin <[email protected]>
Thanks for spotting this very obvious mess.
Reviewed-by Linus Walleij <[email protected]>
Yours,
Linus Walleij
PATCH 1/1 remove unnecessary version.h includes
In reply to Rob HerringHi Rob,
Quoted 1 line
board/samsung/trats/setup.h | 1 -
Acked-by Lukasz Majewski <[email protected]>
Rob, thanks for preparing the patch.
Signature · 5 lines
Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group