diff options
-rw-r--r-- | hdata/test/hdata_to_dt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hdata/test/hdata_to_dt.c b/hdata/test/hdata_to_dt.c index 54f3761..e8b7ed6 100644 --- a/hdata/test/hdata_to_dt.c +++ b/hdata/test/hdata_to_dt.c @@ -112,6 +112,7 @@ static bool spira_check_ptr(const void *ptr, const char *file, unsigned int line #include "../../core/chip.c" #include "../../test/dt_common.c" #include "../../core/fdt.c" +#include "../../hw/phys-map.c" #include <err.h> @@ -267,6 +268,8 @@ int main(int argc, char *argv[]) "Pipe to 'dtc -I dtb -O dts' for human readable\n"); } + phys_map_init(); + /* Copy in spira dump (assumes little has changed!). */ if (new_spira) { fd = open(argv[1], O_RDONLY); |