[PATCH v2 09/14] ast2600: spl: Add ARCY probing
Chia-Wei Wang
chiawei_wang at aspeedtech.com
Fri Jul 16 07:55:41 CEST 2021
Probe ARCY driver in SPL board init if enabled.
Signed-off-by: Chia-Wei Wang <chiawei_wang at aspeedtech.com>
---
arch/arm/mach-aspeed/ast2600/spl.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/mach-aspeed/ast2600/spl.c b/arch/arm/mach-aspeed/ast2600/spl.c
index a0fc420ff1..2172bb4ae7 100644
--- a/arch/arm/mach-aspeed/ast2600/spl.c
+++ b/arch/arm/mach-aspeed/ast2600/spl.c
@@ -49,6 +49,12 @@ void spl_board_init(void)
&dev);
if (rc)
debug("HACE initialization failure, rc=%d\n", rc);
+
+ rc = uclass_get_device_by_driver(UCLASS_MOD_EXP,
+ DM_DRIVER_GET(aspeed_arcy),
+ &dev);
+ if (rc)
+ debug("ARCY initialization failure, rc=%d\n", rc);
}
#endif
--
2.17.1
More information about the U-Boot
mailing list