diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-06-29 02:38:01 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-06-29 22:31:14 +0900 |
commit | caee7619a99ed54f9bc1d2d0e0872739576382e8 (patch) | |
tree | 64ef430d9f5f7c6649b241e7c8f5273d0dbc2d41 /arch/arm/mach-uniphier | |
parent | d5381853ad557d036c4d5d014d4a2e2837c5643e (diff) | |
download | u-boot-caee7619a99ed54f9bc1d2d0e0872739576382e8.zip u-boot-caee7619a99ed54f9bc1d2d0e0872739576382e8.tar.gz u-boot-caee7619a99ed54f9bc1d2d0e0872739576382e8.tar.bz2 |
ARM: uniphier: fix build error for CONFIG_DEBUG_LL=y
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>
Diffstat (limited to 'arch/arm/mach-uniphier')
-rw-r--r-- | arch/arm/mach-uniphier/arm32/debug_ll.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/arm32/debug_ll.S b/arch/arm/mach-uniphier/arm32/debug_ll.S index 9fe3eaa..c68522f 100644 --- a/arch/arm/mach-uniphier/arm32/debug_ll.S +++ b/arch/arm/mach-uniphier/arm32/debug_ll.S @@ -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)) |