提交 7682a998 编写于 作者: R Rob Herring 提交者: Tom Rini

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: NRob 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: NLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: NŁukasz Majewski <l.majewski@samsung.com>
上级 3c0c1f02
......@@ -14,7 +14,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
/*
*************************************************************************
......
......@@ -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
......
......@@ -9,7 +9,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
#include <asm/hardware.h>
/*
......
......@@ -22,7 +22,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <common.h>
#include <version.h>
/*
*************************************************************************
......
......@@ -18,7 +18,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <common.h>
#include <version.h>
/*
*************************************************************************
......
......@@ -17,7 +17,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
/*
*************************************************************************
......
......@@ -3,7 +3,6 @@
*/
#include <config.h>
#include <version.h>
#include <linux/linkage.h>
ENTRY(save_boot_params)
......
......@@ -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>
......
......@@ -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
......
......@@ -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>
......
......@@ -5,7 +5,6 @@
*/
#include <config.h>
#include <version.h>
/* Set up the platform, once the cpu has been initialized */
.globl lowlevel_init
......
......@@ -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>
......
......@@ -15,7 +15,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
#include <asm/system.h>
#include <linux/linkage.h>
......
......@@ -9,7 +9,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
#include <asm/macro.h>
#include <linux/linkage.h>
......
......@@ -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>
......
......@@ -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>
......
......@@ -7,7 +7,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
#include <linux/linkage.h>
#include <asm/macro.h>
......
......@@ -7,7 +7,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
#include <linux/linkage.h>
#include <asm/macro.h>
......
......@@ -21,7 +21,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
/*
*************************************************************************
......
......@@ -11,7 +11,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
/*
*************************************************************************
......
......@@ -8,7 +8,6 @@
*/
#include <config.h>
#include <version.h>
#include <linux/linkage.h>
.align 5
......
......@@ -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>
......
......@@ -13,7 +13,6 @@
#include <config.h>
#include <common.h>
#include <asm/macro.h>
#include <version.h>
/*
* Jump vector table for EVIC mode
......
......@@ -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
......
......@@ -7,7 +7,6 @@
#include <config.h>
#include <command.h>
#include <mpc8260.h>
#include <version.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>
......
......@@ -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>
......
#include <config.h>
#include <mpc86xx.h>
#include <version.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>
......
......@@ -6,7 +6,6 @@
*/
#include <config.h>
#include <mpc86xx.h>
#include <version.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>
......
......@@ -7,7 +7,6 @@
#include <config.h>
#include <command.h>
#include <mpc8xx.h>
#include <version.h>
#include <ppc_asm.tmpl>
#include <ppc_defs.h>
......
......@@ -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 */
......
......@@ -7,7 +7,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
.text
.align 2
......
......@@ -10,7 +10,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
.text
.align 2
......
......@@ -7,7 +7,6 @@
#include <asm-offsets.h>
#include <config.h>
#include <version.h>
.text
.align 2
......
......@@ -11,7 +11,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/global_data.h>
#include <asm/post.h>
#include <asm/processor.h>
......
......@@ -5,7 +5,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -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"
......
......@@ -8,7 +8,6 @@
*/
#include <config.h>
#include <version.h>
/* Reset using CM control register */
.global reset_cpu
......
......@@ -8,7 +8,6 @@
*/
#include <config.h>
#include <version.h>
/* Set up the platform, once the cpu has been initialized */
.globl lowlevel_init
......
......@@ -8,7 +8,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -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>
......
......@@ -13,8 +13,6 @@
#include <config.h>
#include <version.h>
/* register definitions */
......
......@@ -11,7 +11,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -10,7 +10,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -11,7 +11,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -8,7 +8,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -8,7 +8,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
#include <configs/ecovec.h>
......
......@@ -5,7 +5,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -5,7 +5,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -7,7 +7,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -5,7 +5,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -8,7 +8,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -9,7 +9,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -5,7 +5,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -5,7 +5,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -5,7 +5,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -9,7 +9,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -4,7 +4,6 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -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>
......
......@@ -13,8 +13,6 @@
#include <config.h>
#include <version.h>
/* some parameters for the board */
......
......@@ -7,7 +7,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/arch/cpu.h>
#include <asm/arch/power.h>
......
......@@ -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) */
......
......@@ -5,7 +5,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/arch/imx-regs.h>
.globl lowlevel_init
......
......@@ -5,7 +5,6 @@
*/
#include <config.h>
#include <version.h>
#include <asm/processor.h>
#include <asm/macro.h>
......
......@@ -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;
......
......@@ -15,7 +15,6 @@
#include <sata.h>
#include <scsi.h>
#include <fat.h>
#include <version.h>
#include <image.h>
DECLARE_GLOBAL_DATA_PTR;
......
......@@ -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>
......
......@@ -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>
......
......@@ -13,7 +13,6 @@
#include <config.h>
#include <common.h>
#include <version.h>
#include <stdarg.h>
#include <linux/types.h>
#include <stdio_dev.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册