From: Oleksandr Tyshchenko <olekstysh@gmail.com>
To: xen-devel@lists.xenproject.org
Cc: Artem_Mygaiev@epam.com, olekstysh@gmail.com,
Julien Grall <julien.grall@arm.com>,
Stefano Stabellini <sstabellini@kernel.org>,
Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Subject: [PATCH v1 1/4] xen/arm: drivers: scif: Remove unused #define-s
Date: Mon, 6 Aug 2018 21:35:49 +0300 [thread overview]
Message-ID: <1533580552-938-2-git-send-email-olekstysh@gmail.com> (raw)
In-Reply-To: <1533580552-938-1-git-send-email-olekstysh@gmail.com>
From: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
CC: Stefano Stabellini <sstabellini@kernel.org>
CC: Julien Grall <julien.grall@arm.com>
---
xen/drivers/char/scif-uart.c | 4 ----
xen/include/asm-arm/scif-uart.h | 11 -----------
2 files changed, 15 deletions(-)
diff --git a/xen/drivers/char/scif-uart.c b/xen/drivers/char/scif-uart.c
index 4a71bac..465fb34 100644
--- a/xen/drivers/char/scif-uart.c
+++ b/xen/drivers/char/scif-uart.c
@@ -29,10 +29,6 @@
#include <asm/scif-uart.h>
#include <asm/io.h>
-#define PARITY_NONE 0
-#define PARITY_EVEN 1
-#define PARITY_ODD 2
-
#define scif_readb(uart, off) readb((uart)->regs + (off))
#define scif_writeb(uart, off, val) writeb((val), (uart)->regs + (off))
diff --git a/xen/include/asm-arm/scif-uart.h b/xen/include/asm-arm/scif-uart.h
index d030b26..8137850 100644
--- a/xen/include/asm-arm/scif-uart.h
+++ b/xen/include/asm-arm/scif-uart.h
@@ -47,17 +47,6 @@
#define SCSCR_CKE1 (1 << 1) /* Clock Enable 1 */
#define SCSCR_CKE0 (1 << 0) /* Clock Enable 0 */
-#define SCSCR_CKE00 (0)
-#define SCSCR_CKE01 (SCSCR_CKE0)
-#define SCSCR_CKE10 (SCSCR_CKE1)
-#define SCSCR_CKE11 (SCSCR_CKE1 | SCSCR_CKE0)
-
-/* Serial Mode Register (SCSMR) */
-#define SCSMR_CHR (1 << 6) /* 7-bit Character Length */
-#define SCSMR_PE (1 << 5) /* Parity Enable */
-#define SCSMR_ODD (1 << 4) /* Odd Parity */
-#define SCSMR_STOP (1 << 3) /* Stop Bit Length */
-
/* Serial Status Register (SCFSR) */
#define SCFSR_ER (1 << 7) /* Receive Error */
#define SCFSR_TEND (1 << 6) /* Transmission End */
--
2.7.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2018-08-06 18:36 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-06 18:35 [PATCH v1 0/4] Renesas Stout board support (R-Car Gen2) Oleksandr Tyshchenko
2018-08-06 18:35 ` Oleksandr Tyshchenko [this message]
2018-08-07 13:28 ` [PATCH v1 1/4] xen/arm: drivers: scif: Remove unused #define-s Julien Grall
2018-08-06 18:35 ` [PATCH v1 2/4] xen/arm: drivers: scif: Add support for SCIFA compatible UARTs Oleksandr Tyshchenko
2018-08-07 13:43 ` Julien Grall
2018-08-07 15:01 ` Oleksandr Tyshchenko
2018-08-07 15:20 ` Julien Grall
2018-08-06 18:35 ` [PATCH v1 3/4] xen/arm: Add SCIFA UART support for early printk Oleksandr Tyshchenko
2018-08-07 13:48 ` Julien Grall
2018-08-07 14:28 ` Oleksandr Tyshchenko
2018-08-07 15:22 ` Julien Grall
2018-08-07 17:18 ` Oleksandr Tyshchenko
2018-08-06 18:35 ` [PATCH v1 4/4] xen/arm: Reuse R-Car Gen2 platform code for Stout board Oleksandr Tyshchenko
2018-08-07 15:18 ` Julien Grall
2018-08-07 17:12 ` Oleksandr Tyshchenko
2018-08-07 17:21 ` Julien Grall
2018-08-07 19:13 ` Oleksandr Tyshchenko
2018-08-09 16:10 ` Julien Grall
2018-08-09 16:18 ` Oleksandr Tyshchenko
2018-08-09 16:19 ` Oleksandr Tyshchenko
2018-08-09 16:20 ` Julien Grall
2018-08-09 18:18 ` Oleksandr Tyshchenko
2018-08-10 9:44 ` Julien Grall
2018-08-10 11:47 ` Oleksandr Tyshchenko
2018-08-10 12:50 ` Julien Grall
2018-08-13 12:41 ` Oleksandr Tyshchenko
2018-08-22 15:48 ` [PATCH v1 0/4] Renesas Stout board support (R-Car Gen2) Julien Grall
2018-08-22 15:53 ` Oleksandr Tyshchenko
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=1533580552-938-2-git-send-email-olekstysh@gmail.com \
--to=olekstysh@gmail.com \
--cc=Artem_Mygaiev@epam.com \
--cc=julien.grall@arm.com \
--cc=oleksandr_tyshchenko@epam.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.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;
as well as URLs for NNTP newsgroup(s).