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 <robh@kernel.org>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Tom Warren <twarren@nvidia.com>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Macpaul Lin <macpaul@andestech.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: York Sun <yorksun@freescale.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Simon Glass <sjg@chromium.org>
Cc: Philippe Reynes <tremyfr@yahoo.fr>
Cc: Eric Jarrige <eric.jarrige@armadeus.org>
Cc: "David Müller" <d.mueller@elsoft.ch>
Cc: Phil Edworthy <phil.edworthy@renesas.com>
Cc: Robert Baldyga <r.baldyga@samsung.com>
Cc: Torsten Koschorrek <koschorrek@synertronixx.de>
Cc: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Łukasz Majewski <l.majewski@samsung.com>
This commit is contained in:
Rob Herring 2015-03-17 15:28:55 -05:00 committed by Tom Rini
parent 3c0c1f02d5
commit 7682a99826
68 changed files with 5 additions and 73 deletions

View File

@ -14,7 +14,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
/*
*************************************************************************

View File

@ -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

View File

@ -9,7 +9,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
#include <asm/hardware.h>
/*

View File

@ -22,7 +22,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <common.h>
#include <version.h>
/*
*************************************************************************

View File

@ -18,7 +18,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <common.h>
#include <version.h>
/*
*************************************************************************

View File

@ -17,7 +17,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
/*
*************************************************************************

View File

@ -3,7 +3,6 @@
*/
#include <config.h>
#include <version.h>
#include <linux/linkage.h>
ENTRY(save_boot_params)

View File

@ -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>

View File

@ -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

View File

@ -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>

View File

@ -5,7 +5,6 @@
*/
#include <config.h>
#include <version.h>
/* Set up the platform, once the cpu has been initialized */
.globl lowlevel_init

View File

@ -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>

View File

@ -15,7 +15,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
#include <asm/system.h>
#include <linux/linkage.h>

View File

@ -9,7 +9,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
#include <asm/macro.h>
#include <linux/linkage.h>

View File

@ -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>

View File

@ -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>

View File

@ -7,7 +7,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
#include <linux/linkage.h>
#include <asm/macro.h>

View File

@ -7,7 +7,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
#include <linux/linkage.h>
#include <asm/macro.h>

View File

@ -21,7 +21,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
/*
*************************************************************************

View File

@ -11,7 +11,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
/*
*************************************************************************

View File

@ -8,7 +8,6 @@
*/
#include <config.h>
#include <version.h>
#include <linux/linkage.h>
.align 5

View File

@ -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>

View File

@ -13,7 +13,6 @@
#include <config.h>
#include <common.h>
#include <asm/macro.h>
#include <version.h>
/*
* Jump vector table for EVIC mode

View File

@ -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

View File

@ -7,7 +7,6 @@
#include <config.h>
#include <command.h>
#include <mpc8260.h>
#include <version.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>

View File

@ -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>

View File

@ -1,6 +1,5 @@
#include <config.h>
#include <mpc86xx.h>
#include <version.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>

View File

@ -6,7 +6,6 @@
*/
#include <config.h>
#include <mpc86xx.h>
#include <version.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>

View File

@ -7,7 +7,6 @@
#include <config.h>
#include <command.h>
#include <mpc8xx.h>
#include <version.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>

View File

@ -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 */

View File

@ -7,7 +7,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
.text
.align 2

View File

@ -10,7 +10,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
.text
.align 2

View File

@ -7,7 +7,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
.text
.align 2

View File

@ -11,7 +11,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/global_data.h>
#include <asm/post.h>
#include <asm/processor.h>

View File

@ -5,7 +5,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -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"

View File

@ -8,7 +8,6 @@
*/
#include <config.h>
#include <version.h>
/* Reset using CM control register */
.global reset_cpu

View File

@ -8,7 +8,6 @@
*/
#include <config.h>
#include <version.h>
/* Set up the platform, once the cpu has been initialized */
.globl lowlevel_init

View File

@ -8,7 +8,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -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>

View File

@ -13,8 +13,6 @@
#include <config.h>
#include <version.h>
/* register definitions */

View File

@ -11,7 +11,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -10,7 +10,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -11,7 +11,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -8,7 +8,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -8,7 +8,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
#include <configs/ecovec.h>

View File

@ -5,7 +5,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -5,7 +5,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -7,7 +7,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -5,7 +5,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -8,7 +8,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -9,7 +9,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -5,7 +5,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -5,7 +5,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -5,7 +5,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -9,7 +9,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -4,7 +4,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -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>

View File

@ -13,8 +13,6 @@
#include <config.h>
#include <version.h>
/* some parameters for the board */

View File

@ -7,7 +7,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/arch/cpu.h>
#include <asm/arch/power.h>

View File

@ -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) */

View File

@ -5,7 +5,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/arch/imx-regs.h>
.globl lowlevel_init

View File

@ -5,7 +5,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>

View File

@ -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;

View File

@ -15,7 +15,6 @@
#include <sata.h>
#include <scsi.h>
#include <fat.h>
#include <version.h>
#include <image.h>
DECLARE_GLOBAL_DATA_PTR;

View File

@ -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>

View File

@ -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>

View File

@ -13,7 +13,6 @@
#include <config.h>
#include <common.h>
#include <version.h>
#include <stdarg.h>
#include <linux/types.h>
#include <stdio_dev.h>