diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/init.c b/core/init.c index 9d4d185..dce10fd 100644 --- a/core/init.c +++ b/core/init.c @@ -47,6 +47,7 @@ #include <nvram.h> #include <libstb/stb.h> #include <libstb/container.h> +#include <phys-map.h> enum proc_gen proc_gen; unsigned int pcie_max_link_speed; @@ -828,6 +829,9 @@ void __noreturn __nomcount main_cpu_entry(const void *fdt) */ opal_table_init(); + /* Init the physical map table so we can start mapping things */ + phys_map_init(); + /* * If we are coming in with a flat device-tree, we expand it * now. Else look for HDAT and create a device-tree from them |