diff options
Diffstat (limited to 'hdata/test/hdata_to_dt.c')
-rw-r--r-- | hdata/test/hdata_to_dt.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hdata/test/hdata_to_dt.c b/hdata/test/hdata_to_dt.c index c75a4adc..fd2957ce 100644 --- a/hdata/test/hdata_to_dt.c +++ b/hdata/test/hdata_to_dt.c @@ -69,12 +69,14 @@ unsigned long tb_hz = 512000000; #define PVR_TYPE_P8 0x004d #define PVR_TYPE_P8NVL 0x004c #define PVR_TYPE_P9 0x004e +#define PVR_TYPE_P9P 0x004f #define PVR_P7 0x003f0201 #define PVR_P7P 0x004a0201 #define PVR_P8E 0x004b0201 #define PVR_P8 0x004d0200 #define PVR_P8NVL 0x004c0100 #define PVR_P9 0x004e0200 +#define PVR_P9P 0x004f0100 #define SPR_PVR 0x11f /* RO: Processor version register */ @@ -299,6 +301,10 @@ int main(int argc, char *argv[]) fake_pvr = PVR_P9; proc_gen = proc_gen_p9; opt_count++; + } else if (strcmp(argv[i], "-9P") == 0) { + fake_pvr = PVR_P9P; + proc_gen = proc_gen_p9; + opt_count++; } } |