mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
cpufreq: Add T8112 clusters
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
efc83f61da
commit
55ca4855a5
1 changed files with 9 additions and 0 deletions
|
@ -80,6 +80,12 @@ static const struct cluster_t t6002_clusters[] = {
|
|||
{},
|
||||
};
|
||||
|
||||
static const struct cluster_t t8112_clusters[] = {
|
||||
{"ECPU", 0x210e20000, false, 7},
|
||||
{"PCPU", 0x211e20000, true, 6},
|
||||
{},
|
||||
};
|
||||
|
||||
int cpufreq_init(void)
|
||||
{
|
||||
printf("cpufreq: Initializing clusters\n");
|
||||
|
@ -97,6 +103,9 @@ int cpufreq_init(void)
|
|||
case T6002:
|
||||
cluster = t6002_clusters;
|
||||
break;
|
||||
case T8112:
|
||||
cluster = t8112_clusters;
|
||||
break;
|
||||
default:
|
||||
printf("cpufreq: Chip 0x%x is unsupported\n", chip_id);
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue