summaryrefslogtreecommitdiff
path: root/board/gth2/gth2.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/gth2/gth2.c')
-rw-r--r--board/gth2/gth2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/gth2/gth2.c b/board/gth2/gth2.c
index 6da80dc758..9bc4d3fe5e 100644
--- a/board/gth2/gth2.c
+++ b/board/gth2/gth2.c
@@ -135,7 +135,7 @@ int checkboard (void)
*sys_counter = 0x100; /* Enable 32 kHz oscillator for RTC/TOY */
- proc_id = read_32bit_cp0_register(CP0_PRID);
+ proc_id = read_c0_prid();
switch (proc_id >> 24) {
case 0: