diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-05-10 17:42:16 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-05-10 17:42:16 +1000 |
commit | 6916c2a0faff1eedbe9138616e460792e50a0b94 (patch) | |
tree | c6e7ffbc0feb8d919ece0c70f96264631d7a0471 /hdata | |
parent | 8651a84bd07ef33dc10313012a6564612fdbf4ff (diff) | |
download | skiboot-6916c2a0faff1eedbe9138616e460792e50a0b94.zip skiboot-6916c2a0faff1eedbe9138616e460792e50a0b94.tar.gz skiboot-6916c2a0faff1eedbe9138616e460792e50a0b94.tar.bz2 |
test/hdata_to_dt: fix build breakage caused by phys_map_get
Fixes: 5f67c1e253788691d376e4e639d4a6e7785efa55
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata')
-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); |