public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Chris Webb <chris@arachsys.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/2] rockchip: tpl.c #ifdef fixes
Date: Fri, 19 Jul 2019 14:22:45 +0100	[thread overview]
Message-ID: <20190719132245.GA20880@arachsys.com> (raw)

These are two trivial patches which fix up the #ifdef conditionals in
mach-rockchip/tpl.c to do the right thing in two configuration scenarios:

1. Debug UART enabled (for SPL and main U-Boot) but serial support disabled
for the TPL stage.

2. TPL banner disabled by unsetting CONFIG_TPL_BANNER_PRINT.

I stumbled over these edge cases while trying various permitted config
permutations, trying to make U-Boot less noisy without killing useful error
messages.

The diffs are against u-boot-rockchip.git: this already has changes that
haven't yet reached mainline u-boot yet, moving the relevant code from board
specific source files into the shared mach-rockchip/tpl.c.

             reply	other threads:[~2019-07-19 13:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-19 13:22 Chris Webb [this message]
2019-07-19 13:23 ` [U-Boot] [PATCH 1/2] rockchip: Fix TPL build without CONFIG_TPL_SERIAL_SUPPORT Chris Webb
2019-07-21  3:30   ` Kever Yang
2019-07-23  8:02     ` [U-Boot] [PATCH 1/2] rockchip: Fix TPL build without CONFIG_TPL_SERIAL_SUPPORT【请注意,邮件由u-boot-bounces@lists.denx.de代发】 Kever Yang
2019-07-19 13:23 ` [U-Boot] [PATCH 2/2] rockchip: TPL banner should depend on CONFIG_TPL_BANNER_PRINT Chris Webb
2019-07-21  3:30   ` Kever Yang
2019-07-23  8:03     ` [U-Boot] [PATCH 2/2] rockchip: TPL banner should depend on CONFIG_TPL_BANNER_PRINT【请注意,邮件由u-boot-bounces@lists.denx.de代发】 Kever Yang

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=20190719132245.GA20880@arachsys.com \
    --to=chris@arachsys.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox