summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2017-12-08 07:35:36 (GMT)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>2017-12-26 13:35:59 (GMT)
commit7a76b46592b62012fe9b8308b59568e3a15f0329 (patch)
tree361267aeae876f999fe4724023314320cd6ddbdc /include
parentef277af44c88312104a3d7e28c862477f96d25e0 (diff)
downloadu-boot-7a76b46592b62012fe9b8308b59568e3a15f0329.tar.xz
armv8: ls1012ardb: add more board version information
Add LS1012ARDB RevC/RevC1/RevC2/RevD/RevE information and detect it when u-boot starts up. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ls1012ardb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h
index 7065f83..9dcedaf 100644
--- a/include/configs/ls1012ardb.h
+++ b/include/configs/ls1012ardb.h
@@ -34,6 +34,11 @@
#define SW_REV_MASK 0xF8
#define SW_REV_A 0xF8
#define SW_REV_B 0xF0
+#define SW_REV_C 0xE8
+#define SW_REV_C1 0xE0
+#define SW_REV_C2 0xD8
+#define SW_REV_D 0xD0
+#define SW_REV_E 0xC8
/* MMC */
#ifdef CONFIG_MMC