]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: mx6 correct get_cpu_rev
authorPeng Fan <Peng.Fan@freescale.com>
Thu, 11 Jun 2015 10:30:36 +0000 (18:30 +0800)
committerStefano Babic <sbabic@denx.de>
Sat, 27 Jun 2015 16:18:40 +0000 (18:18 +0200)
commitdfd4861c22389066e37d104ddfb925321231f876
tree9276b950dfb1c10678802ef484f20a575eb6c02c
parentb65d9d868efcae5bf40377deafc60a968f78e55c
imx: mx6 correct get_cpu_rev

The DIGPROG register map:
23 ------- 16 | 15 ------ 8 | 7 --- 0 |
 Major upper  | Major Lower |  Minor  |

We also need to account for Major Lower.

Signed-off-by: Ye.Li <B37916@freescale.com>
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
arch/arm/cpu/armv7/mx6/soc.c