projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56bd854
)
rk: cpu.c support rk3026
author
黄涛
<huangtao@rock-chips.com>
Thu, 18 Jul 2013 11:38:28 +0000
(19:38 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Thu, 18 Jul 2013 11:38:28 +0000
(19:38 +0800)
arch/arm/plat-rk/cpu.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-rk/cpu.c
b/arch/arm/plat-rk/cpu.c
index 139104aa64a1827050deefec5c4be5573a28785b..b4e3fb5e0acf11fbbb7774422b8695b8f53b2fe4 100644
(file)
--- a/
arch/arm/plat-rk/cpu.c
+++ b/
arch/arm/plat-rk/cpu.c
@@
-10,6
+10,8
@@
static ssize_t show_type(struct sysdev_class *dev, struct sysdev_class_attribute
type = "rk3188";
else if (cpu_is_rk3066b())
type = "rk3066b";
+ else if (cpu_is_rk3026())
+ type = "rk3026";
else if (cpu_is_rk30xx())
type = "rk30xx";
else if (cpu_is_rk2928())
@@
-36,6
+38,10
@@
static ssize_t show_soc(struct sysdev_class *dev, struct sysdev_class_attribute
soc = "rk3028";
else if (soc_is_rk3066b())
soc = "rk3066b";
+ else if (soc_is_rk3028a())
+ soc = "rk3028a";
+ else if (soc_is_rk3026())
+ soc = "rk3026";
else if (soc_is_rk2928g())
soc = "rk2928g";
else if (soc_is_rk2928l())