From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Fri, 1 Mar 2019 10:13:47 +0800 Subject: [U-Boot] [PATCH v2] x86: acpi: Not every platform has serial console a first device In-Reply-To: <20190228151954.11265-1-andriy.shevchenko@linux.intel.com> References: <20190228151954.11265-1-andriy.shevchenko@linux.intel.com> Message-ID: 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, Feb 28, 2019 at 11:19 PM Andy Shevchenko wrote: > > We may not do an assumption that current console device is always a first > of UCLASS_SERIAL one. > > For example, on properly described Intel Edison board the console UART > is a third one. > > Use current serial device as described in global data. > > Fixes: a61cbad78e67 ("dm: serial: Adjust serial_getinfo() to use proper API") > Cc: Simon Glass > Signed-off-by: Andy Shevchenko > --- > arch/x86/lib/acpi_table.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > Reviewed-by: Bin Meng