aboutsummaryrefslogtreecommitdiff
path: root/hdata/test
diff options
context:
space:
mode:
authorReza Arbab <arbab@linux.ibm.com>2019-07-17 15:44:20 -0500
committerOliver O'Halloran <oohall@gmail.com>2019-07-26 15:30:21 +1000
commite7f76b4eb58c6230ce1ffd143f1c8a5a507bdbe9 (patch)
treef811c033294999caf75ba359165e4a48f1e03312 /hdata/test
parent7ff5558c50d38eaf576d3920b6c7f372ff1a741d (diff)
downloadskiboot-e7f76b4eb58c6230ce1ffd143f1c8a5a507bdbe9.zip
skiboot-e7f76b4eb58c6230ce1ffd143f1c8a5a507bdbe9.tar.gz
skiboot-e7f76b4eb58c6230ce1ffd143f1c8a5a507bdbe9.tar.bz2
hw/phys-map: Add pvr argument to phys_map_init()
When new chip types are added, phys_map_init() will need to know which memory map it should use. Instead of directly checking PVR, make it an argument to the function, so that 'make hw-check' can test all the maps. Signed-off-by: Reza Arbab <arbab@linux.ibm.com> Acked-by: Michael Neuling <mikey@neuling.org> Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com> Acked-by: Stewart Smith <stewart@linux.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'hdata/test')
-rw-r--r--hdata/test/hdata_to_dt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hdata/test/hdata_to_dt.c b/hdata/test/hdata_to_dt.c
index 56c0429..2c8de61 100644
--- a/hdata/test/hdata_to_dt.c
+++ b/hdata/test/hdata_to_dt.c
@@ -344,7 +344,7 @@ int main(int argc, char *argv[])
"Pipe to 'dtc -I dtb -O dts' for human readable output\n");
}
- phys_map_init();
+ phys_map_init(fake_pvr);
/* Copy in spira dump (assumes little has changed!). */
if (new_spira) {