From: hl <hl@rock-chips.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/3] rockchip: Use the standard debug UART on rockchip
Date: Mon, 14 Dec 2015 14:26:04 +0800 [thread overview]
Message-ID: <566E60FC.2010306@rock-chips.com> (raw)
In-Reply-To: <1450067820-17357-1-git-send-email-sjg@chromium.org>
Hi Simon.
Thank you for updating this series patch, i have verified it in
evb-rk3036 board,
it worked.
On 14/12/15 12:36, Simon Glass wrote:
> The RK3036 has only 8KB of RAM available for SPL. At present it uses its own
> debug UART code.
>
> By allowing the ns16550 driver to provide a debug UART without providing a
> full serial driver, we can enable a UART with a very small overhead. This
> requires addition Kconfig options. The debug UART supports printhex8(),
> printascii() and a few other functions.
>
> The root driver and uclass are pulled in by this series, but their size is
> very small. It would possible to drop these by disabling CONFIG_DM_SERIAL.
> However the ns16550 driver makes this hard, due to it supporting operation
> without driver model, and operating differently in this case.
>
>
> Simon Glass (3):
> dm: serial: Allow the UART driver to be dropped from the image
> dm: ns16550: Allow the driver to be omitted if requested
> rockchip: Use the debug UART on rk3036
>
> arch/arm/mach-rockchip/Makefile | 1 -
> arch/arm/mach-rockchip/rk3036-board-spl.c | 9 ++++-
> arch/arm/mach-rockchip/rk_early_print.c | 63 -------------------------------
> configs/evb-rk3036_defconfig | 6 +++
> drivers/serial/Kconfig | 20 ++++++++++
> drivers/serial/ns16550.c | 2 +
> drivers/serial/serial-uclass.c | 2 +
> include/configs/rk3036_common.h | 2 +
> 8 files changed, 40 insertions(+), 65 deletions(-)
> delete mode 100644 arch/arm/mach-rockchip/rk_early_print.c
>
--
Lin Huang
next prev parent reply other threads:[~2015-12-14 6:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-14 4:36 [U-Boot] [PATCH 0/3] rockchip: Use the standard debug UART on rockchip Simon Glass
2015-12-14 4:36 ` [U-Boot] [PATCH 1/3] dm: serial: Allow the UART driver to be dropped from the image Simon Glass
2015-12-14 12:53 ` Thomas Chou
2015-12-19 22:23 ` Simon Glass
2015-12-14 4:36 ` [U-Boot] [PATCH 2/3] dm: ns16550: Allow the driver to be omitted if requested Simon Glass
2015-12-14 12:53 ` Thomas Chou
2015-12-19 22:23 ` Simon Glass
2015-12-14 4:37 ` [U-Boot] [PATCH 3/3] rockchip: Use the debug UART on rk3036 Simon Glass
2015-12-14 12:53 ` Thomas Chou
2015-12-19 22:23 ` Simon Glass
2015-12-14 6:26 ` hl [this message]
2015-12-14 22:14 ` [U-Boot] [PATCH 0/3] rockchip: Use the standard debug UART on rockchip Simon Glass
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=566E60FC.2010306@rock-chips.com \
--to=hl@rock-chips.com \
--cc=u-boot@lists.denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.