diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2017-11-30 16:31:23 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-12-01 00:54:47 -0600 |
commit | 95a0f5d9db9897af212af66b6b87ccd09db26048 (patch) | |
tree | 96215a7391a87dc6448d1b88e9f0ccb2133c7464 /libfdt/fdt.h | |
parent | aee9b0218454b09e6e2e0f4c0b7045326299264c (diff) | |
download | skiboot-95a0f5d9db9897af212af66b6b87ccd09db26048.zip skiboot-95a0f5d9db9897af212af66b6b87ccd09db26048.tar.gz skiboot-95a0f5d9db9897af212af66b6b87ccd09db26048.tar.bz2 |
gard: Set chip generation based on PVR
Currently we assume that this tool is being used on a P8 system by
default and allow the user to override this behaviour using the -8 and
-9 command line arguments. When running on the host we can use the
PVR to guess what chip generation so do that.
This also changes the default behaviour to assume that the host is a P9
when running on an ARM system. This tool didn't even work when compiled
for ARM until recently and the OpenBMC vPNOR hack that we have currently
is broken for P9 systems that don't use vPNOR (Zaius and Romulus).
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libfdt/fdt.h')
0 files changed, 0 insertions, 0 deletions