Kirkwood: print_cpuinfo fixed for valid devid revid
authorPrafulla Wadaskar <[prafulla@marvell.com]>
Mon, 20 Sep 2010 11:49:42 +0000 (17:19 +0530)
committerWolfgang Denk <wd@denx.de>
Wed, 13 Oct 2010 07:35:58 +0000 (09:35 +0200)
commitc0cd02073da1ec0737d45b2e60aac53201209b30
tree1c073a2e54074dd8f2bb3e4ef38c55f15cc6040c
parentd3497138ff352841da3573c7aa9df993c4afd136
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