summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorRajesh Bhagat <rajesh.bhagat@nxp.com>2018-01-17 16:13:08 +0530
committerYork Sun <york.sun@nxp.com>2018-01-23 11:20:46 -0800
commit1fab98fb90b0350210ac6938cb61647c66dcf0f7 (patch)
treed070d4563d88368d32172ce0abd4722327c89231 /include/common.h
parent75ad48153f29d54359a47bc06be6a64fbecead56 (diff)
downloadu-boot-1fab98fb90b0350210ac6938cb61647c66dcf0f7.tar.gz
common: board_f: vid: Add VID specific API to adjust core voltage
Adds a VID specific API in init_sequence_f and spl code flow namely init_func_vid which is required to adjust core voltage. VID specific code is required in spl, hence moving flag CONFIG_VID out of spl flags. Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 436200044f..0fe9439a93 100644
--- a/include/common.h
+++ b/include/common.h
@@ -364,6 +364,9 @@ int embedded_dtb_select(void);
int misc_init_f (void);
int misc_init_r (void);
+#if defined(CONFIG_VID)
+int init_func_vid(void);
+#endif
/* common/exports.c */
void jumptable_init(void);