Skip to content
Snippets Groups Projects
Commit 622e5fee authored by Przemyslaw Marczak's avatar Przemyslaw Marczak Committed by Simon Glass
Browse files

dm: board:samsung: power_init_board: add requirement of CONFIG_DM_PMIC


In the power_init_board function call, regulator driver init is called,
so before compile, make sure that any power framework is defined.

Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent fdea8bbb
No related branches found
No related tags found
No related merge requests found
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
#include <asm/arch/pinmux.h> #include <asm/arch/pinmux.h>
#include <asm/arch/power.h> #include <asm/arch/power.h>
#include <asm/arch/system.h> #include <asm/arch/system.h>
#include <power/pmic.h>
#include <asm/arch/sromc.h> #include <asm/arch/sromc.h>
#include <lcd.h> #include <lcd.h>
#include <i2c.h>
#include <samsung/misc.h> #include <samsung/misc.h>
#include <usb.h> #include <usb.h>
...@@ -169,7 +169,7 @@ int board_early_init_f(void) ...@@ -169,7 +169,7 @@ int board_early_init_f(void)
} }
#endif #endif
#if defined(CONFIG_POWER) #if defined(CONFIG_POWER) || defined(CONFIG_DM_PMIC)
int power_init_board(void) int power_init_board(void)
{ {
set_ps_hold_ctrl(); set_ps_hold_ctrl();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment