From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 4/4] ARM: vexpress: make debug_ll work
Date: Fri, 7 Jun 2024 03:12:59 +0300 [thread overview]
Message-ID: <20240607001259.107805-5-antonynpavlov@gmail.com> (raw)
In-Reply-To: <20240607001259.107805-1-antonynpavlov@gmail.com>
The UART address from dtb is used.
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
include/mach/vexpress/debug_ll.h | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/include/mach/vexpress/debug_ll.h b/include/mach/vexpress/debug_ll.h
index cd01d5d0185..3d67e7645d3 100644
--- a/include/mach/vexpress/debug_ll.h
+++ b/include/mach/vexpress/debug_ll.h
@@ -7,17 +7,7 @@
#ifndef __MACH_VEXPRESS_DEBUG_LL_H__
#define __MACH_VEXPRESS_DEBUG_LL_H__
-#include <linux/amba/serial.h>
-#include <io.h>
-
-#define DEBUG_LL_PHYS_BASE 0x10000000
-#define DEBUG_LL_PHYS_BASE_RS1 0x1c000000
-
-#ifdef MP
-#define DEBUG_LL_UART_ADDR DEBUG_LL_PHYS_BASE
-#else
-#define DEBUG_LL_UART_ADDR DEBUG_LL_PHYS_BASE_RS1
-#endif
+#define DEBUG_LL_UART_ADDR 0x1c090000
#include <debug_ll/pl011.h>
--
2.39.0
next prev parent reply other threads:[~2024-06-07 0:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-07 0:12 [PATCH 0/4] pbl and debug_ll fixes Antony Pavlov
2024-06-07 0:12 ` [PATCH 1/4] pbl: enable image verification for MIPS and RISC-V too Antony Pavlov
2024-06-07 0:12 ` [PATCH 2/4] RISC-V: fix crash on start if CONFIG_IMAGE_COMPRESSION_NONE=y Antony Pavlov
2024-06-07 0:12 ` [PATCH 3/4] ARM: bcm283x: fix compilation with debug_ll enabled Antony Pavlov
2024-06-07 0:12 ` Antony Pavlov [this message]
2024-06-07 6:24 ` [PATCH 4/4] ARM: vexpress: make debug_ll work Antony Pavlov
2024-06-10 12:28 ` Sascha Hauer
2024-06-10 12:25 ` [PATCH 0/4] pbl and debug_ll fixes Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240607001259.107805-5-antonynpavlov@gmail.com \
--to=antonynpavlov@gmail.com \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox