GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)

This commit is contained in:
lai
2026-09-06 03:52:57 +08:00
commit b1928b41c0
21813 changed files with 4413081 additions and 0 deletions
@@ -0,0 +1,15 @@
#include <common.h>
#include <asm/io.h>
#include <asm/arch/platform.h>
unsigned int g_cpu_chipid = 0;
unsigned int get_chipid(void)
{
if (g_cpu_chipid == 0)
g_cpu_chipid = readl(REG_SC_CHIPID);
return g_cpu_chipid;
}