]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: vf610: Add SoC and CPU type detection
authorSanchayan Maity <maitysanchayan@gmail.com>
Wed, 15 Apr 2015 10:54:24 +0000 (16:24 +0530)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:43:51 +0000 (14:43 +0200)
commitd51b0b9b5586a9b4c8aa183c2a01cb9198a307bd
tree3e0dc5cdc71f0df2483ed6015cf6b004a350bad8
parent9f7ef4fd49cf2211772fc6572b1b4bcf7e75854f
ARM: vf610: Add SoC and CPU type detection

Vybrid product family consists of several rather similar SoC which
can be determined by softare during boot time. This allows use of
variable ${soc} for Linux device tree files. Detect VF5xx CPU's by
reading the CPU count register. We can determine the second number
of the CPU type (VF6x0) which indicates the presence of a L2 cache.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
arch/arm/cpu/armv7/vf610/generic.c
arch/arm/include/asm/arch-vf610/imx-regs.h