aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/init.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/init.c b/core/init.c
index 612391c..9df634c 100644
--- a/core/init.c
+++ b/core/init.c
@@ -51,6 +51,7 @@
#include <phys-map.h>
#include <imc.h>
#include <dts.h>
+#include <sbe-p9.h>
enum proc_gen proc_gen;
unsigned int pcie_max_link_speed;
@@ -1029,6 +1030,12 @@ void __noreturn __nomcount main_cpu_entry(const void *fdt)
*/
chiptod_init();
+ /*
+ * SBE uses TB value for scheduling timer. Hence init after
+ * chiptod init
+ */
+ p9_sbe_init();
+
/* Initialize i2c */
p8_i2c_init();