From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Webb Date: Fri, 19 Jul 2019 14:22:45 +0100 Subject: [U-Boot] [PATCH 0/2] rockchip: tpl.c #ifdef fixes Message-ID: <20190719132245.GA20880@arachsys.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.