From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 4 Jun 2020 19:40:40 -0400 Subject: [PATCH] serial: Add missing Kconfig dependencies for debug consoles In-Reply-To: <4fbd0373ed4b10dda62371137c7d3a1c59fb0c7c.1590660308.git.michal.simek@xilinx.com> References: <4fbd0373ed4b10dda62371137c7d3a1c59fb0c7c.1590660308.git.michal.simek@xilinx.com> Message-ID: <20200604234040.GY32287@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, May 28, 2020 at 12:05:12PM +0200, Michal Simek wrote: > Debug console is the part of serial driver in the same file. It means to be > able to enable debug console you also need to enable driver itself. > That's why add all dependecies and list only debug consoles which are > enabled based on driver selection to avoid compilation error when user > asks for certain debug console but driver is not enable for it. > > Error: > aarch64-linux-gnu-ld.bfd: common/built-in.o: in function `putc': > /home/monstr/data/disk/u-boot/common/console.c:513: undefined reference to `printch' > aarch64-linux-gnu-ld.bfd: common/built-in.o: in function `puts': > /home/monstr/data/disk/u-boot/common/console.c:563: undefined reference to `printch' > > Signed-off-by: Michal Simek > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: