projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d538185
)
ARM: uniphier: fix build error for CONFIG_DEBUG_LL=y
author
Masahiro Yamada
<
[email protected]
>
Fri, 28 Jun 2019 17:38:01 +0000
(
02:38
+0900)
committer
Masahiro Yamada
<
[email protected]
>
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 <
[email protected]
>
arch/arm/mach-uniphier/arm32/debug_ll.S
patch
|
blob
|
history
diff --git
a/arch/arm/mach-uniphier/arm32/debug_ll.S
b/arch/arm/mach-uniphier/arm32/debug_ll.S
index 9fe3eaadf1d95adfd6a1884d89dd60274e978c0e..c68522f9c55eadd62cc6273dec2aaa2b85954dc0 100644
(file)
--- 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))