projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a066318
)
ARM: s3c64xx: bring back notes from removed debug-macro.S
author
Krzysztof Kozlowski
<krzk@kernel.org>
Fri, 11 Sep 2020 14:33:43 +0000
(16:33 +0200)
committer
Krzysztof Kozlowski
<krzk@kernel.org>
Wed, 16 Sep 2020 17:48:23 +0000
(19:48 +0200)
Documentation references notes from a removed debug-macro.S file so
bring the contents here.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link:
https://lore.kernel.org/r/20200911143343.498-3-krzk@kernel.org
arch/arm/mach-s3c64xx/common.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-s3c64xx/common.c
b/arch/arm/mach-s3c64xx/common.c
index 13e91074308aeaf51fa3b69ec498655c19f1e5c2..cb5aafcd66fb78ed6f0846c637e2da70b0b223e8 100644
(file)
--- a/
arch/arm/mach-s3c64xx/common.c
+++ b/
arch/arm/mach-s3c64xx/common.c
@@
-97,7
+97,12
@@
static struct cpu_table cpu_ids[] __initdata = {
/* minimal IO mapping */
-/* see notes on uart map in arch/arm/mach-s3c64xx/include/mach/debug-macro.S */
+/*
+ * note, for the boot process to work we have to keep the UART
+ * virtual address aligned to an 1MiB boundary for the L1
+ * mapping the head code makes. We keep the UART virtual address
+ * aligned and add in the offset when we load the value here.
+ */
#define UART_OFFS (S3C_PA_UART & 0xfffff)
static struct map_desc s3c_iodesc[] __initdata = {