common: board_f: vid: Add VID specific API to adjust core voltage
[oweals/u-boot.git] / arch / arm / cpu / armv8 / fsl-layerscape / spl.c
index 1c694e7c67dbc20daada5ca80dd2c7653f088d80..4093d15e56983d864564ed7000526b4db8a8fe86 100644 (file)
@@ -84,6 +84,9 @@ void board_init_f(ulong dummy)
 
 #ifdef CONFIG_SPL_I2C_SUPPORT
        i2c_init_all();
+#endif
+#ifdef CONFIG_VID
+       init_func_vid();
 #endif
        dram_init();
 #ifdef CONFIG_SPL_FSL_LS_PPA