]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/rmobile/cpu_info-rcar.c
arm: rmobile: Add 1 to value of the CPU revision in rmobile_get_cpu_rev_integer()
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / rmobile / cpu_info-rcar.c
index 0289ece2f4a2292d720e7debf8828271e77a1915..65e89aa250d4f8331e7c6be87b6ce790bcac2c51 100644 (file)
@@ -17,5 +17,5 @@ u32 rmobile_get_cpu_type(void)
 
 u32 rmobile_get_cpu_rev_integer(void)
 {
-       return (readl(PRR) & 0x000000F0) >> 4;
+       return ((readl(PRR) & 0x000000F0) >> 4) + 1;
 }