diff options
author | Hal Feng <hal.feng@starfivetech.com> | 2023-08-22 04:58:05 +0300 |
---|---|---|
committer | Hal Feng <hal.feng@starfivetech.com> | 2023-11-29 05:53:53 +0300 |
commit | 65a9e044bdbec0119d78efe1ab5464614bb2a698 (patch) | |
tree | d310bcd4bd60574f30369184916ee4ace1995839 /common | |
parent | d006806e64b0120df0c28272e4cb0c2e5c15bd9b (diff) | |
download | u-boot-65a9e044bdbec0119d78efe1ab5464614bb2a698.tar.xz |
common: board_r: Enable set_pmic()
The code is ported from tag JH7110_DVK_515_v3.9.3 of Devkits repo.
Signed-off-by: ziv.xu <ziv.xu@starfive.com>
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/board_r.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/board_r.c b/common/board_r.c index 630c2451a2..e75efc97ad 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -690,6 +690,9 @@ static init_fnc_t init_sequence_r[] = { #ifdef CONFIG_ARCH_EARLY_INIT_R arch_early_init_r, #endif +#if CONFIG_IS_ENABLED(TARGET_STARFIVE_DEVKITS) + set_pmic, +#endif power_init_board, #ifdef CONFIG_MTD_NOR_FLASH initr_flash, |