[U-Boot] [PATCH] arm: delete unused macro CONFIG_ARCH_DEVICE_TREE
Masahiro Yamada
yamada.m at jp.panasonic.com
Mon Feb 24 13:45:48 CET 2014
Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
Cc: Tom Warren <twarren at nvidia.com>
Cc: Stephen Warren <swarren at nvidia.com>
Cc: Rajeshwari Birje <rajeshwari.s at samsung.com>
Cc: Inderpal Singh <inderpal.singh at linaro.org>
---
Hi.
I grepped the whole tree and found
arch/arm/cpu/armv7/tegra124/config.mk
include/configs/arndale.h
include/configs/smdk5420.h
define CONFIG_ARCH_DEVICE_TREE,
but it is never used anywhere.
I cannot understand what this macro was added for.
If I am doing a wrong thing, please stop me.
arch/arm/cpu/armv7/tegra124/config.mk | 10 ----------
include/configs/arndale.h | 2 --
include/configs/smdk5420.h | 2 --
3 files changed, 14 deletions(-)
delete mode 100644 arch/arm/cpu/armv7/tegra124/config.mk
diff --git a/arch/arm/cpu/armv7/tegra124/config.mk b/arch/arm/cpu/armv7/tegra124/config.mk
deleted file mode 100644
index 2f1c645..0000000
--- a/arch/arm/cpu/armv7/tegra124/config.mk
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# (C) Copyright 2013
-# NVIDIA Corporation <www.nvidia.com>
-# (C) Copyright 2002
-# Gary Jennejohn, DENX Software Engineering, <garyj at denx.de>
-#
-# SPDX-License-Identifier: GPL-2.0+
-#
-
-CONFIG_ARCH_DEVICE_TREE := tegra124
diff --git a/include/configs/arndale.h b/include/configs/arndale.h
index 9584d82..515facf 100644
--- a/include/configs/arndale.h
+++ b/include/configs/arndale.h
@@ -22,8 +22,6 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DISPLAY_BOARDINFO
-/* Enable fdt support for Exynos5250 */
-#define CONFIG_ARCH_DEVICE_TREE exynos5250
#define CONFIG_OF_CONTROL
#define CONFIG_OF_SEPARATE
diff --git a/include/configs/smdk5420.h b/include/configs/smdk5420.h
index 447f8e5..b96eea8 100644
--- a/include/configs/smdk5420.h
+++ b/include/configs/smdk5420.h
@@ -17,8 +17,6 @@
#undef CONFIG_DEFAULT_DEVICE_TREE
#define CONFIG_DEFAULT_DEVICE_TREE exynos5420-smdk5420
-#define CONFIG_ARCH_DEVICE_TREE exynos5420
-
#define CONFIG_VAR_SIZE_SPL
#define CONFIG_SYS_SDRAM_BASE 0x20000000
--
1.8.3.2
More information about the U-Boot
mailing list