Skip to contentSkip to conversation

arm: delete unused macro CONFIG_ARCH_DEVICE_TREE

PATCH In review Masahiro Yamada 3 participants 4 messages Feb 24, 2014 – Feb 25, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: delete unused macro CONFIG_ARCH_DEVICE_TREE

Cc Tom Warren <[email protected]>
Cc Stephen Warren <[email protected]>
Cc Rajeshwari Birje <[email protected]>
Cc Inderpal Singh <[email protected]>

---

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
deleted file mode 100644
index 2f1c645..0000000
@@ -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
index 9584d82..515facf 100644
@@ -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
index 447f8e5..b96eea8 100644
@@ -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
#1 lore raw

PATCH 1/1 arm: delete unused macro CONFIG_ARCH_DEVICE_TREE

Quoted 1 line · Masahiro Yamada

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.

#2 lore raw

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

Commit description?

This patch looked trivial so I did not write commit description. Sorry for my laziness..

Best Regards
Masahiro

#3 lore raw
In reply to Masahiro Yamada
Quoted 5 lines · Masahiro Yamada
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>