Skip to content

Commit 0df3c29

Browse files
committed
ARM: s3c64xx: bring back notes from removed debug-macro.S
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
1 parent a066318 commit 0df3c29

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

arch/arm/mach-s3c64xx/common.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,12 @@ static struct cpu_table cpu_ids[] __initdata = {
9797

9898
/* minimal IO mapping */
9999

100-
/* see notes on uart map in arch/arm/mach-s3c64xx/include/mach/debug-macro.S */
100+
/*
101+
* note, for the boot process to work we have to keep the UART
102+
* virtual address aligned to an 1MiB boundary for the L1
103+
* mapping the head code makes. We keep the UART virtual address
104+
* aligned and add in the offset when we load the value here.
105+
*/
101106
#define UART_OFFS (S3C_PA_UART & 0xfffff)
102107

103108
static struct map_desc s3c_iodesc[] __initdata = {

0 commit comments

Comments
 (0)