summaryrefslogtreecommitdiff
path: root/board/gth2
diff options
context:
space:
mode:
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2008-05-30 00:53:38 +0900
committerShinya Kuribayashi <shinya.kuribayashi@necel.com>2008-05-30 00:53:38 +0900
commite2ad8426624bac457acc6925b6ff408e9bf20466 (patch)
treec8659df110945904985611ce85a326ca1e2364cf /board/gth2
parent1a3adac81c292f2ee76e43cdeb2fbe8f915fe194 (diff)
downloadu-boot-imx-e2ad8426624bac457acc6925b6ff408e9bf20466.zip
u-boot-imx-e2ad8426624bac457acc6925b6ff408e9bf20466.tar.gz
u-boot-imx-e2ad8426624bac457acc6925b6ff408e9bf20466.tar.bz2
[MIPS] <asm/mipsregs.h>: Update coprocessor register access macros
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Diffstat (limited to 'board/gth2')
-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 6da80dc..9bc4d3f 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: