[PATCH 003/149] Convert CONFIG_NEVER_ASSERT_ODT_TO_CPU to Kconfig

Tom Rini
2022-12-04T15:06:30Z

This converts the following to Kconfig:
CONFIG_NEVER_ASSERT_ODT_TO_CPU

Signed-off-by: Tom Rini <trini@konsulko.com>
---
arch/powerpc/cpu/mpc83xx/Kconfig | 3 +++
include/configs/MPC837XERDB.h | 2 --
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/cpu/mpc83xx/Kconfig b/arch/powerpc/cpu/mpc83xx/Kconfig
index 563f52c5fdb3..b695c7e4d811 100644
--- a/arch/powerpc/cpu/mpc83xx/Kconfig
+++ b/arch/powerpc/cpu/mpc83xx/Kconfig
@@ -200,6 +200,9 @@ config FSL_SERDES
bool "SerDes initialization"
depends on !MPC83XX_SERDES

+config NEVER_ASSERT_ODT_TO_CPU
+ bool "Never assert ODT to internal IOs"
+
source "board/freescale/mpc837xerdb/Kconfig"
source "board/gdsys/mpc8308/Kconfig"

diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h
index 7b932eb38901..e0ac9338d322 100644
--- a/include/configs/MPC837XERDB.h
+++ b/include/configs/MPC837XERDB.h
@@ -55,8 +55,6 @@

#define CFG_SYS_DDRCDR_VALUE (DDRCDR_DHC_EN | DDRCDR_ODT | DDRCDR_Q_DRN)

-#undef CONFIG_NEVER_ASSERT_ODT_TO_CPU /* Never assert ODT to internal IOs */
-
/*
* Manually set up DDR parameters
*/
--
2.25.1