arm: delete unused macro CONFIG_ARCH_DEVICE_TREE
Subsystems (2)
PATCH 1/1 arm: delete unused macro CONFIG_ARCH_DEVICE_TREE
---
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
arch/arm/cpu/armv7/tegra124/config.mk deleted +0 -10
@@ -1,10 +0,0 @@ -# -# (C) Copyright 2013 -# NVIDIA Corporation <www.nvidia.com> -# (C) Copyright 2002 -# Gary Jennejohn, DENX Software Engineering, <[email protected]> -# -# SPDX-License-Identifier: GPL-2.0+ -# - -CONFIG_ARCH_DEVICE_TREE := tegra124
include/configs/arndale.h +0 -2
@@ -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
include/configs/smdk5420.h +0 -2
@@ -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
Signature · 1 line
1.8.3.2
PATCH 1/1 arm: delete unused macro CONFIG_ARCH_DEVICE_TREE
Quoted 1 line · Masahiro Yamada
Signed-off-by Masahiro Yamada <[email protected]>
Commit description?
FWIW, this config option was used prior to:
8ad723acd7e9 dts/Makefile: don't define ARCH_CPU_DTS, BOARD_DTS 6e8e0311ccc7 dt: don't use ARCH_CPU_DTS
...6c5be646b47e Tegra: fdt: Change /include/ to #include for C preprocessor
I evidently forgot to remove some of the places where Exynos boards defined CONFIG_ARCH_DEVICE_TREE, and when sending the Tegra124 patches recently, didn't notice that I didn't need the file that defined it there.
PATCH 1/1 arm: delete unused macro CONFIG_ARCH_DEVICE_TREE
Hello Stephen
Quoted 4 lines · On Mon, 24 Feb 2014 10:26:46 -0700 Stephen Warren <[email protected]> wrote:
Quoted 1 line · Masahiro Yamada
Signed-off-by Masahiro Yamada <[email protected]>Commit description?
This patch looked trivial so I did not write commit description. Sorry for my laziness..
Best Regards
Masahiro
Quoted 5 lines · Masahiro Yamada
Signed-off-by Masahiro Yamada <[email protected]>Cc Tom Warren <[email protected]>Cc Stephen Warren <[email protected]>Cc Rajeshwari Birje <[email protected]>Cc Inderpal Singh <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140225/e53b1d4a/attachment.pgp>