[PATCH 01/15] xtensa: Switch to using CONFIG_XTENSA for building device trees

Tom Rini trini at konsulko.com
Sat Jun 11 04:59:24 CEST 2022


The only use of CONFIG_XTFPGA was to build all of the in-tree device
trees.  Switch to using CONFIG_XTENSA instead of a non-Kconfig symbol.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 arch/xtensa/dts/Makefile | 2 +-
 include/configs/xtfpga.h | 6 ------
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/arch/xtensa/dts/Makefile b/arch/xtensa/dts/Makefile
index fbbdefaf2cf1..c22c50ac4e5d 100644
--- a/arch/xtensa/dts/Makefile
+++ b/arch/xtensa/dts/Makefile
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0+
 
-dtb-$(CONFIG_XTFPGA) += ml605.dtb ml605_nommu.dtb kc705.dtb kc705_nommu.dtb
+dtb-$(CONFIG_XTENSA) += ml605.dtb ml605_nommu.dtb kc705.dtb kc705_nommu.dtb
 
 include $(srctree)/scripts/Makefile.dts
 
diff --git a/include/configs/xtfpga.h b/include/configs/xtfpga.h
index 7392582b5e46..f1ea47654671 100644
--- a/include/configs/xtfpga.h
+++ b/include/configs/xtfpga.h
@@ -16,12 +16,6 @@
  * differences.
  */
 
-/*=====================*/
-/* Board and Processor */
-/*=====================*/
-
-#define CONFIG_XTFPGA
-
 /*===================*/
 /* RAM Layout        */
 /*===================*/
-- 
2.25.1



More information about the U-Boot mailing list