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 /include | |
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 'include')
-rw-r--r-- | include/init.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/init.h b/include/init.h index c781789e36..b29b6ecd98 100644 --- a/include/init.h +++ b/include/init.h @@ -267,6 +267,9 @@ int cpu_init_r(void); int last_stage_init(void); int mac_read_from_eeprom(void); int set_cpu_clk_info(void); +#if CONFIG_IS_ENABLED(TARGET_STARFIVE_DEVKITS) +int set_pmic(void); +#endif int update_flash_size(int flash_size); int arch_early_init_r(void); int misc_init_r(void); |