]> git.dujemihanovic.xyz Git - u-boot.git/commit
Kirkwood: print_cpuinfo fixed for valid devid revid
authorPrafulla Wadaskar <[prafulla@marvell.com]>
Mon, 20 Sep 2010 11:49:42 +0000 (17:19 +0530)
committerPrafulla Wadaskar <prafulla@marvell.com>
Tue, 12 Oct 2010 09:09:15 +0000 (14:39 +0530)
commit35883cca8a7f3e2ef0bcbe14d52ef9e9b2b1ab81
tree1c073a2e54074dd8f2bb3e4ef38c55f15cc6040c
parent7054cfda6501d67b6796fb1b140655fe2b91aed5
Kirkwood: print_cpuinfo fixed for valid devid revid

Earlier Device Identification register was used to detect
the type for SoC, considering 88F6282 support to be added,
It is not possible to detect the same using current
algorithm.

With this patch, device ID is being read using PCIE devid
register, also valid chip revision ID will also be read and
displayed

Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
arch/arm/cpu/arm926ejs/kirkwood/cpu.c
arch/arm/include/asm/arch-kirkwood/cpu.h