mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
[MIPS] <asm/mipsregs.h>: Update coprocessor register access macros
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
This commit is contained in:
committed by
Shinya Kuribayashi
parent
1a3adac81c
commit
e2ad842662
@@ -38,7 +38,7 @@ int checkboard(void)
|
||||
u32 proc_id;
|
||||
u32 config1;
|
||||
|
||||
proc_id = read_32bit_cp0_register(CP0_PRID);
|
||||
proc_id = read_c0_prid();
|
||||
printf("Board: Qemu -M mips CPU: ");
|
||||
switch (proc_id) {
|
||||
case 0x00018000:
|
||||
@@ -51,7 +51,7 @@ int checkboard(void)
|
||||
printf("4KEc");
|
||||
break;
|
||||
case 0x00019300:
|
||||
config1 = read_mips32_cp0_config1();
|
||||
config1 = read_c0_config1();
|
||||
if (config1 & 1)
|
||||
printf("24Kf");
|
||||
else
|
||||
@@ -64,7 +64,7 @@ int checkboard(void)
|
||||
printf("R4000");
|
||||
break;
|
||||
case 0x00018100:
|
||||
config1 = read_mips32_cp0_config1();
|
||||
config1 = read_c0_config1();
|
||||
if (config1 & 1)
|
||||
printf("5Kf");
|
||||
else
|
||||
|
Reference in New Issue
Block a user