Use plain CONFIG_STM32MP15X to discern code which is specific to STM32MP15xx in DH STM32MP1 DHSOM board files.
Signed-off-by: Marek Vasut <[email protected]> --- Cc: Antonio Borneo <[email protected]> Cc: Patrice Chotard <[email protected]> Cc: Patrick Delaunay <[email protected]> Cc: Tom Rini <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] --- board/dhelectronics/dh_stm32mp1/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/dhelectronics/dh_stm32mp1/board.c b/board/dhelectronics/dh_stm32mp1/board.c index 55526189d5a..90590d14941 100644 --- a/board/dhelectronics/dh_stm32mp1/board.c +++ b/board/dhelectronics/dh_stm32mp1/board.c @@ -314,7 +314,7 @@ int board_stm32mp1_ddr_config_name_match(struct udevice *dev, return 0; } - if (IS_ENABLED(CONFIG_TARGET_DH_STM32MP15X)) { + if (IS_ENABLED(CONFIG_STM32MP15X)) { if (ddr3code == 1 && !strcmp(name, "st,ddr3l-dhsom-1066-888-bin-g-2x1gb-533mhz")) return 0; -- 2.51.0

