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:
f67bb3d
)
ARM: rockchip: cpu.c support rk3288
author
黄涛
<huangtao@rock-chips.com>
Tue, 11 Mar 2014 11:54:12 +0000
(19:54 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Tue, 11 Mar 2014 11:55:40 +0000
(19:55 +0800)
arch/arm/mach-rockchip/cpu.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/cpu.c
b/arch/arm/mach-rockchip/cpu.c
index 6ac8cc02892aa47e3a7c58f628f792934e743c0e..998dc9a6143f66ce2b04dc810ff4231755bc37b2 100644
(file)
--- a/
arch/arm/mach-rockchip/cpu.c
+++ b/
arch/arm/mach-rockchip/cpu.c
@@
-9,7
+9,9
@@
static ssize_t type_show(struct device *dev, struct device_attribute *attr, char
{
const char *type;
- if (cpu_is_rk319x())
+ if (cpu_is_rk3288())
+ type = "rk3288";
+ else if (cpu_is_rk319x())
type = "rk319x";
else if (cpu_is_rk3188())
type = "rk3188";
@@
-33,7
+35,9
@@
static ssize_t soc_show(struct device *dev, struct device_attribute *attr, char
{
const char *soc;
- if (soc_is_rk3190())
+ if (soc_is_rk3288())
+ soc = "rk3288";
+ else if (soc_is_rk3190())
soc = "rk3190";
else if (soc_is_rk3188plus())
soc = "rk3188+";