summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2017-12-08 15:35:36 +0800
committerYork Sun <york.sun@nxp.com>2017-12-14 13:08:47 -0800
commit4a47bf8a2ba61e21b022b81e2234fdb47570ad22 (patch)
tree1443ba2ea4301fbcddd178ce951877e470c01386 /include
parent481fb01f41feec75366cd0790ff672638384b60a (diff)
downloadu-boot-4a47bf8a2ba61e21b022b81e2234fdb47570ad22.tar.gz
u-boot-4a47bf8a2ba61e21b022b81e2234fdb47570ad22.tar.xz
u-boot-4a47bf8a2ba61e21b022b81e2234fdb47570ad22.zip
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 d0ceae24f7..ab139b00dd 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