From: Peter Maydell <peter.maydell@linaro.org>
To: Evgeny Voevodin <e.voevodin@samsung.com>
Cc: kyungmin.park@samsung.com, m.kozlov@samsung.com,
jehyung.lee@samsung.com, qemu-devel@nongnu.org,
d.solodkiy@samsung.com
Subject: Re: [Qemu-devel] [PATCH v5 02/11] ARM: exynos4210: UART support
Date: Tue, 10 Jan 2012 12:11:30 +0000 [thread overview]
Message-ID: <CAFEAcA8c79B3yrD4Z+ug1XHY9Gh78bgsy4+VwocOr6DZ-5OmLg@mail.gmail.com> (raw)
In-Reply-To: <1324640414-16000-3-git-send-email-e.voevodin@samsung.com>
On 23 December 2011 11:40, Evgeny Voevodin <e.voevodin@samsung.com> wrote:
> From: Maksim Kozlov <m.kozlov@samsung.com>
>
> Add basic support of exynos4210 UART
>
> Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
> ---
> Makefile.target | 2 +-
> hw/exynos4210.c | 24 ++
> hw/exynos4210.h | 9 +
> hw/exynos4210_uart.c | 670 ++++++++++++++++++++++++++++++++++++++++++++++++++
> 4 files changed, 704 insertions(+), 1 deletions(-)
> create mode 100644 hw/exynos4210_uart.c
>
> diff --git a/Makefile.target b/Makefile.target
> index fc308bf..0246947 100644
> --- a/Makefile.target
> +++ b/Makefile.target
> @@ -336,7 +336,7 @@ obj-arm-y = integratorcp.o versatilepb.o arm_pic.o arm_timer.o
> obj-arm-y += arm_boot.o pl011.o pl031.o pl050.o pl080.o pl110.o pl181.o pl190.o
> obj-arm-y += versatile_pci.o
> obj-arm-y += realview_gic.o realview.o arm_sysctl.o arm11mpcore.o a9mpcore.o
> -obj-arm-y += exynos4_boards.o exynos4210.o
> +obj-arm-y += exynos4_boards.o exynos4210.o exynos4210_uart.o
> obj-arm-y += arm_mptimer.o
> obj-arm-y += armv7m.o armv7m_nvic.o stellaris.o pl022.o stellaris_enet.o
> obj-arm-y += pl061.o
> diff --git a/hw/exynos4210.c b/hw/exynos4210.c
> index 62d0ad5..afef4cb 100644
> --- a/hw/exynos4210.c
> +++ b/hw/exynos4210.c
> @@ -26,8 +26,19 @@
> #include "arm-misc.h"
> #include "exynos4210.h"
>
> +
stray blank line
> +
> +#ifdef DEBUG_UART
> +/* The only meaning of life - debugging. This functions should be only used
> + * inside PRINT_DEBUG_... macroses
> + */
"macros"
> + default:
> + level = 0;
> + PRINT_ERROR("Wrong UART chennel number: %d\n", s->channel);
"channel"
> +
> +#ifdef DEBUG_IRQ
> + fprintf(stderr, "UART%d: IRQ have been raised: %08x\n",
> + s->channel, s->reg[I_(UINTP)]);
"has been"
> + case UINTP:
> + s->reg[I_(UINTP)] &= ~val;
> + /* XXX: It's the assumption that it works in this way */
Can you expand this comment a little to clarify exactly what the
assumption you're making is?
-- PMM
next prev parent reply other threads:[~2012-01-10 12:11 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-23 11:40 [Qemu-devel] [PATCH v5 00/11] ARM: Samsung Exynos4210-based boards support Evgeny Voevodin
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 01/11] ARM: Samsung exynos4210-based boards emulation Evgeny Voevodin
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 02/11] ARM: exynos4210: UART support Evgeny Voevodin
2012-01-10 12:11 ` Peter Maydell [this message]
2012-01-11 5:28 ` Evgeny Voevodin
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 03/11] hw/sysbus.h: Increase maximum number of device IRQs Evgeny Voevodin
2012-01-10 12:40 ` Peter Maydell
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 04/11] ARM: exynos4210: IRQ subsystem support Evgeny Voevodin
2012-01-10 12:35 ` Peter Maydell
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 05/11] ARM: exynos4210: PWM support Evgeny Voevodin
2012-01-10 12:40 ` Peter Maydell
2012-01-10 13:46 ` Andreas Färber
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 06/11] hw/arm_boot.c: Extend secondary CPU bootloader Evgeny Voevodin
2012-01-10 15:32 ` Peter Maydell
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 07/11] ARM: exynos4210: MCT support Evgeny Voevodin
2012-01-10 16:13 ` Peter Maydell
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 08/11] hw/exynos4210.c: Boot secondary CPU Evgeny Voevodin
2012-01-10 16:16 ` Peter Maydell
2012-01-11 6:13 ` Evgeny Voevodin
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 09/11] hw/lan9118: Add basic 16-bit mode support Evgeny Voevodin
2012-01-10 16:29 ` Peter Maydell
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 10/11] hw/exynos4210.c: Add LAN support for SMDKC210 Evgeny Voevodin
2012-01-10 16:30 ` Peter Maydell
2011-12-23 11:40 ` [Qemu-devel] [PATCH v5 11/11] Exynos4210: added display controller implementation Evgeny Voevodin
2012-01-10 16:51 ` Peter Maydell
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=CAFEAcA8c79B3yrD4Z+ug1XHY9Gh78bgsy4+VwocOr6DZ-5OmLg@mail.gmail.com \
--to=peter.maydell@linaro.org \
--cc=d.solodkiy@samsung.com \
--cc=e.voevodin@samsung.com \
--cc=jehyung.lee@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=m.kozlov@samsung.com \
--cc=qemu-devel@nongnu.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).