projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cpufreq: highbank-cpufreq: Enable Midway/ECX-2000
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
cpufreq
/
highbank-cpufreq.c
diff --git
a/drivers/cpufreq/highbank-cpufreq.c
b/drivers/cpufreq/highbank-cpufreq.c
index 794123fcf3e3ebce87cdbcbf0a66b60f4b70db2c..bf8902a0866dd4d767cdab4ba45d84ca397033fe 100644
(file)
--- a/
drivers/cpufreq/highbank-cpufreq.c
+++ b/
drivers/cpufreq/highbank-cpufreq.c
@@
-66,7
+66,8
@@
static int hb_cpufreq_driver_init(void)
struct device_node *np;
int ret;
- if (!of_machine_is_compatible("calxeda,highbank"))
+ if ((!of_machine_is_compatible("calxeda,highbank")) &&
+ (!of_machine_is_compatible("calxeda,ecx-2000")))
return -ENODEV;
cpu_dev = get_cpu_device(0);