mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
ARM: stm32: Use CONFIG_STM32MP15X to discern STM32MP15xx on DH STM32MP15xx DHSOM
Use plain CONFIG_STM32MP15X to discern code which is specific to STM32MP15xx in DH STM32MP1 DHSOM board files. Signed-off-by: Marek Vasut <marex@nabladev.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
This commit is contained in:
committed by
Patrice Chotard
parent
7f637df3db
commit
9fca4cc1d0
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user