ast2400: externalize revision numbers
commit79a9f323a80b802ca98895d1c2d4aaf23cff815a
authorCédric Le Goater <clg@kaod.org>
Thu, 14 Jul 2016 15:51:39 +0000 (14 16:51 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 14 Jul 2016 15:51:39 +0000 (14 16:51 +0100)
treec114f5c1d43f43419fbc550c8ce0333520fe3127
parent2e1f05020b80677f66b14277b7b1e8d4bb175640
ast2400: externalize revision numbers

AST2400_A0_SILICON_REV is defined twice. Fix this by including the
definition in the header file as well as the routine to check if a
silicon revision is supported. It will useful to reuse in other
controllers.

Let's add also AST2500_A0_SILICON_REV for future use.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 1467994016-11678-5-git-send-email-clg@kaod.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/ast2400.c
hw/misc/aspeed_scu.c
include/hw/misc/aspeed_scu.h