From: Masahiro Yamada Date: Fri, 28 Jun 2019 17:38:01 +0000 (+0900) Subject: ARM: uniphier: fix build error for CONFIG_DEBUG_LL=y X-Git-Tag: v2019.07~14^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=caee7619a99ed54f9bc1d2d0e0872739576382e8;p=platform%2Fkernel%2Fu-boot.git 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 --- 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))