mirror of https://github.com/OpenIPC/firmware.git
Merge pull request #44 from OpenIPC/revert-35-patch-1
Revert "Fix Hi3536 series support"pull/47/head
commit
cc7fac41e7
|
@ -301,13 +301,6 @@ void get_chip_id(unsigned long *Chip_Id, unsigned char *cpu, unsigned char *hard
|
||||||
*Chip_Id = 0;
|
*Chip_Id = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
SCBASE = 0x12050000; //Hi3536
|
|
||||||
if(GetValueRegister(SCBASE)==-1) //затем читаем другой
|
|
||||||
{
|
|
||||||
sprintf(cpu,"unknown");
|
|
||||||
*Chip_Id = 0;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
//---------------------------------------------
|
//---------------------------------------------
|
||||||
if((GetValueRegister(SCBASE+SCSYSID0) & 0xFF000000) >> 24 == 0x35) //если старший байт = 0x35 значит все ID в одном регистре
|
if((GetValueRegister(SCBASE+SCSYSID0) & 0xFF000000) >> 24 == 0x35) //если старший байт = 0x35 значит все ID в одном регистре
|
||||||
|
|
Loading…
Reference in New Issue