From: 黄涛 Date: Tue, 11 Mar 2014 11:54:12 +0000 (+0800) Subject: ARM: rockchip: cpu.c support rk3288 X-Git-Tag: firefly_0821_release~6142 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=804c5171911401853fe0792cb2faf3e395ba6912;p=firefly-linux-kernel-4.4.55.git ARM: rockchip: cpu.c support rk3288 --- diff --git a/arch/arm/mach-rockchip/cpu.c b/arch/arm/mach-rockchip/cpu.c index 6ac8cc02892a..998dc9a6143f 100644 --- 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+";