hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/arm/include/debug/ux500.S
....@@ -1,12 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Debugging macro include header
34 *
45 * Copyright (C) 2009 ST-Ericsson
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
9
- *
106 */
117
128
....@@ -24,21 +20,16 @@
2420 #define U8500_UART0_PHYS_BASE (0x80120000)
2521 #define U8500_UART1_PHYS_BASE (0x80121000)
2622 #define U8500_UART2_PHYS_BASE (0x80007000)
27
-#define U8500_UART0_VIRT_BASE (0xf8120000)
28
-#define U8500_UART1_VIRT_BASE (0xf8121000)
29
-#define U8500_UART2_VIRT_BASE (0xf8007000)
3023 #define __UX500_PHYS_UART(n) U8500_UART##n##_PHYS_BASE
31
-#define __UX500_VIRT_UART(n) U8500_UART##n##_VIRT_BASE
3224 #endif
3325
34
-#if !defined(__UX500_PHYS_UART) || !defined(__UX500_VIRT_UART)
26
+#if !defined(__UX500_PHYS_UART)
3527 #error Unknown SOC
3628 #endif
3729
3830 #define UX500_PHYS_UART(n) __UX500_PHYS_UART(n)
39
-#define UX500_VIRT_UART(n) __UX500_VIRT_UART(n)
4031 #define UART_PHYS_BASE UX500_PHYS_UART(CONFIG_UX500_DEBUG_UART)
41
-#define UART_VIRT_BASE UX500_VIRT_UART(CONFIG_UX500_DEBUG_UART)
32
+#define UART_VIRT_BASE (0xfff07000)
4233
4334 .macro addruart, rp, rv, tmp
4435 ldr \rp, =UART_PHYS_BASE @ no, physical address