ARM: uniphier: fix build error for CONFIG_DEBUG_LL=y
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 28 Jun 2019 17:38:01 +0000 (02:38 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 29 Jun 2019 13:31:14 +0000 (22:31 +0900)
Commit e27d6c7d328c ("ARM: uniphier: simplify SoC ID get function")
accidentally removed the macros needed to compile debug_ll.S

Revive them.

Fixes: e27d6c7d328c ("ARM: uniphier: simplify SoC ID get function")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/arm32/debug_ll.S

index 9fe3eaadf1d95adfd6a1884d89dd60274e978c0e..c68522f9c55eadd62cc6273dec2aaa2b85954dc0 100644 (file)
@@ -16,6 +16,8 @@
 #include CONFIG_DEBUG_LL_INCLUDE
 #endif
 
+#define SG_REVISION_TYPE_SHIFT         16
+#define SG_REVISION_TYPE_MASK          (0xff << SG_REVISION_TYPE_SHIFT)
 #define BAUDRATE               115200
 #define DIV_ROUND(x, d)                (((x) + ((d) / 2)) / (d))