Home
last modified time | relevance | path

Searched hist:"499 c8679be13383c44a1f277d5b0d7c63b6b2008" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/arch/arm/mach-uniphier/
H A Dmicro-support-card.c499c8679be13383c44a1f277d5b0d7c63b6b2008 Thu Aug 25 08:02:31 UTC 2016 Masahiro Yamada <yamada.masahiro@socionext.com> ARM: uniphier: display revision of Micro Support Card 3.6.x kindly

The revision of the original support card (rev 3.5, rev 3.6) fits in
the 8 bit width revision register. When it was extended in a weird
way, it was versioned in the format of "3.6.x" (where it should have
been "3.7", of course). What is worse, only the sub-level version
"6.x" was recorded in the 8 bit width register, completely ignoring
the compatibility of the revision register format.

This patch saves madly-versioned support cards by assuming the major
version "3" when the MSB 4 bit of the register is read as "6". With
this, the support card revision that were displayed as "6.10" is now
corrected to "3.6.10".

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>