diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-11 17:33:43 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-16 20:48:23 +0300 |
commit | 0df3c29f6883facf56ba422dbb060a1ad787f865 (patch) | |
tree | 23619f24aa3698f927500631f9038ac04899fe40 /arch/arm | |
parent | a0663189acf2861c2de4d5dc647b2111310ad0b2 (diff) | |
download | linux-0df3c29f6883facf56ba422dbb060a1ad787f865.tar.xz |
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
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-s3c64xx/common.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c64xx/common.c b/arch/arm/mach-s3c64xx/common.c index 13e91074308a..cb5aafcd66fb 100644 --- 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 = { |