mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 2/3] fixup! ARM: ep93xx: delete unused drivers
Date: Sun, 12 Jan 2025 09:21:12 +0100	[thread overview]
Message-ID: <20250112082113.313620-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20250112082113.313620-1-a.fatoum@pengutronix.de>

From: Ahmad Fatoum <ahmad@a3f.at>

The only file including this has been removed, so this can go away as
well.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 drivers/serial/serial_pl010.h | 80 -----------------------------------
 1 file changed, 80 deletions(-)
 delete mode 100644 drivers/serial/serial_pl010.h

diff --git a/drivers/serial/serial_pl010.h b/drivers/serial/serial_pl010.h
deleted file mode 100644
index ba81a66da03a..000000000000
--- a/drivers/serial/serial_pl010.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-/* SPDX-FileCopyrightText: 2003, 2004 ARM Ltd. */
-/* SPDX-FileCopyrightText: 2010 Matthias Kaehlcke <matthias@kaehlcke.net> */
-
-/* Contributor: Philippe Robin <philippe.robin@arm.com> */
-
-struct hldc_struct {
-	uint32_t ctrl;
-	uint32_t addmtchval;
-	uint32_t addmask;
-	uint32_t rxinfobuf;
-	uint32_t sts;
-};
-
-struct pl010_struct {
-	uint32_t data;
-	union {
-		uint32_t rxsts;
-		uint32_t errclr;
-	};
-	uint32_t linctrlhigh;
-	uint32_t linctrlmid;
-	uint32_t linctrllow;
-	uint32_t ctrl;
-	uint32_t flag;
-	union {
-		uint32_t intid;
-		uint32_t intclr;
-	};
-	uint32_t not_used0[2];
-	uint32_t dmactrl;
-	uint32_t not_used1[53];
-	uint32_t modemctrl;
-	uint32_t modemsts;
-	uint32_t not_used2[65];
-	struct hldc_struct hldc;
-};
-
-#define UART_PL010_RSR_OE	(1 << 3)
-#define UART_PL010_RSR_BE	(1 << 2)
-#define UART_PL010_RSR_PE	(1 << 1)
-#define UART_PL010_RSR_FE	(1 << 0)
-
-#define UART_PL010_FR_TXFE	(1 << 7)
-#define UART_PL010_FR_RXFF	(1 << 6)
-#define UART_PL010_FR_TXFF	(1 << 5)
-#define UART_PL010_FR_RXFE	(1 << 4)
-#define UART_PL010_FR_BUSY	(1 << 3)
-#define UART_PL010_FR_TMSK	(UART_PL010_FR_TXFF + UART_PL010_FR_BUSY)
-
-#define UART_PL010_CR_LPE	(1 << 7)
-#define UART_PL010_CR_RTIE	(1 << 6)
-#define UART_PL010_CR_TIE	(1 << 5)
-#define UART_PL010_CR_RIE	(1 << 4)
-#define UART_PL010_CR_MSIE	(1 << 3)
-#define UART_PL010_CR_IIRLP	(1 << 2)
-#define UART_PL010_CR_SIREN	(1 << 1)
-#define UART_PL010_CR_UARTEN	(1 << 0)
-
-#define UART_PL010_LCRH_WLEN_8	(3 << 5)
-#define UART_PL010_LCRH_WLEN_7	(2 << 5)
-#define UART_PL010_LCRH_WLEN_6	(1 << 5)
-#define UART_PL010_LCRH_WLEN_5	(0 << 5)
-#define UART_PL010_LCRH_FEN	(1 << 4)
-#define UART_PL010_LCRH_STP2	(1 << 3)
-#define UART_PL010_LCRH_EPS	(1 << 2)
-#define UART_PL010_LCRH_PEN	(1 << 1)
-#define UART_PL010_LCRH_BRK	(1 << 0)
-
-#define UART_PL010_BAUD_460800	1
-#define UART_PL010_BAUD_230400	3
-#define UART_PL010_BAUD_115200	7
-#define UART_PL010_BAUD_57600	15
-#define UART_PL010_BAUD_38400	23
-#define UART_PL010_BAUD_19200	47
-#define UART_PL010_BAUD_14400	63
-#define UART_PL010_BAUD_9600	95
-#define UART_PL010_BAUD_4800	191
-#define UART_PL010_BAUD_2400	383
-#define UART_PL010_BAUD_1200	767
-- 
2.39.5




  reply	other threads:[~2025-01-12  8:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-12  8:21 [PATCH 1/3] fixup! usb: add static inline wrapper for of_usb_get_phy_mode() Ahmad Fatoum
2025-01-12  8:21 ` Ahmad Fatoum [this message]
2025-01-12  8:21 ` [PATCH 3/3] fixup! fs: replace FILE.size by f_inode.i_size Ahmad Fatoum
2025-01-14  6:47 ` [PATCH 1/3] fixup! usb: add static inline wrapper for of_usb_get_phy_mode() 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=20250112082113.313620-2-a.fatoum@pengutronix.de \
    --to=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