]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: vf610 add get_cpu_rev
authorPeng Fan <Peng.Fan@freescale.com>
Tue, 1 Sep 2015 09:15:03 +0000 (17:15 +0800)
committerStefano Babic <sbabic@denx.de>
Wed, 2 Sep 2015 13:39:51 +0000 (15:39 +0200)
commit37cf215253a488ba6b903989b1eff072f59d266e
tree0076385b26ec2d5f1d03419ce9d195cb83f52338
parent7296a023580f3cf1e386d6924b226bc1f4db2217
imx: vf610 add get_cpu_rev

Since we need to support runtime check for different drivers, we need
to add get_cpu_rev for vf610, otherwise there will be build errors.

This patch introduces a dummy CPU id which is not read from chip
silicon. Later when we can get the real id from chip, can fix the
value of MXC_CPU_VF610 then.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Suggested-by: Stefano Babic <sbabic@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/armv7/vf610/generic.c
arch/arm/include/asm/arch-imx/cpu.h