Skip to content

Commit 8fff2f7

Browse files
author
Michal Simek
committed
ARM: zynq: Move early printk virtual address to vmalloc area
The patch "ARM: 8432/1: move VMALLOC_END from 0xff000000 to 0xff800000" (sha1: 6ff0966) has moved also start of VMALLOC area because size didn't change. That's why origin location of vmalloc was vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) and now is vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) That's why uart virtual addresses need to be changed to reflect this new memory setup. Starting address should be vmalloc start address. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
1 parent 6ded93a commit 8fff2f7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/arm/include/debug/zynq.S‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
#define UART_SR_TXEMPTY 0x00000008 /* TX FIFO empty */
2121

2222
#define UART0_PHYS 0xE0000000
23-
#define UART0_VIRT 0xF0000000
23+
#define UART0_VIRT 0xF0800000
2424
#define UART1_PHYS 0xE0001000
25-
#define UART1_VIRT 0xF0001000
25+
#define UART1_VIRT 0xF0801000
2626

2727
#if IS_ENABLED(CONFIG_DEBUG_ZYNQ_UART1)
2828
# define LL_UART_PADDR UART1_PHYS

0 commit comments

Comments
 (0)