
-----Original Message----- From: Prafulla Wadaskar [mailto:prafulla@marvell.com] Sent: Monday, September 20, 2010 9:40 PM To: u-boot@lists.denx.de Cc: Prabhanjan Sarnaik; Ashish Karkare; Prafulla Wadaskar; Prafulla Wadaskar Subject: [PATCH v2] Kirkwood: print_cpuinfo fixed for valid devid revid
From: Prafulla Wadaskar <[prafulla@marvell.com]>
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
Change log: v2: Updated as per review comments for V1 debug replaced by printf, sprintf removed (??) kept as it is since we dont know future references for revid
arch/arm/cpu/arm926ejs/kirkwood/cpu.c | 34 ++++++++++++++++++++--------- arch/arm/include/asm/arch-kirkwood/cpu.h | 2 + 2 files changed, 25 insertions(+), 11 deletions(-)
Applied to u-boot-marvell.git master branch
Regards. Prafulla . .