From patchwork Fri Dec 11 11:56:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 555704 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 5DC0214016A for ; Fri, 11 Dec 2015 22:57:15 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b=LSemVvcl; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A6A404B6F8; Fri, 11 Dec 2015 12:57:12 +0100 (CET) X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jrc3dbe7PyAT; Fri, 11 Dec 2015 12:57:12 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 472704B6E1; Fri, 11 Dec 2015 12:57:07 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 375F34B688 for ; Fri, 11 Dec 2015 12:57:03 +0100 (CET) X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3NUQnS6ILYQQ for ; Fri, 11 Dec 2015 12:57:03 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by theia.denx.de (Postfix) with ESMTPS id 03D934B67B for ; Fri, 11 Dec 2015 12:56:59 +0100 (CET) Received: by mail-wm0-f48.google.com with SMTP id c201so72319952wme.0 for ; Fri, 11 Dec 2015 03:56:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=mDxPVUYQFd8YDeFgRgTJ6OWiK88HGQLcx7Sgq8Gs8X0=; b=LSemVvclJvKTlHMSbhB1IuBp0Y+Mw1JSWxvTUwE7ZOEHcgxsrcscSb7IE4J/pVBWQj 3wooZyqfzvk5QmKqV2hE+QBTM3tD5PNY1n91EW9QPVc8SZB2EwPtDUt26vmbEqSysuBu hTift1S1qe6PlnBwkQcd8cuctllNU9uo+GuC999aGrgdzdJJ95tB1bbYyHuotYSfGEM3 g7+0JDBCxTyQ+wH5s206bUEm+RU4Hq9kWzQk3X29c0SZEqIm8cTdRDNa5+0ZTrO9ud7c nKwDL05g8hL3ntGhJEEuUQf368J9OYoIYsEk5+LuBUqzx0y+7poZARRZTJUftbtq4dp5 ImDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references; bh=mDxPVUYQFd8YDeFgRgTJ6OWiK88HGQLcx7Sgq8Gs8X0=; b=ORVUQBQF0JdZqnMlcM+gSYI5sg8Xqvs9eqnjmPheBAoQkTBQbysaIgAJ+PT3eTedhS UAOW3tW2Dl2cD5mtkuP8rou6QRusEJfi1sXpXCfvI4eCZGBTk6zg6huvRZWs+vqh1+2v a8Z3D/EavYmWziA7BFkUyUWXzQ4yhx1l1Hne7+pkzCYPM8PD0yT7Q13ZgN/9I1dWE0MF jStvz9MN7WCJsOqKegdDfGQNyfMRZXsdArvYXFhgYXJctg9Rc1FR9ZE03y1aU6fLimpx XFezJoGKDQStMSboHIzu5HS/1bp++1TKeIZC11+EI5RVZyBctzy37MGuTY580H0bcR1C +Cow== X-Gm-Message-State: ALoCoQkxLKo4La4a3PBNkbUuGnlMA54/XGtFumva+Z763BERjNdgc9O58ihVDW8mtrE4KvswPcVbxWiU6Z8Dgmqy3/cbncpEXw== X-Received: by 10.28.88.5 with SMTP id m5mr5560018wmb.54.1449835019088; Fri, 11 Dec 2015 03:56:59 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id dl8sm16687927wjb.29.2015.12.11.03.56.58 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 11 Dec 2015 03:56:58 -0800 (PST) From: Michal Simek To: u-boot@lists.denx.de Date: Fri, 11 Dec 2015 12:56:50 +0100 Message-Id: <54b8f38158a20f8f00107273d157f859f969ca6b.1449835012.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: Subject: [U-Boot] [PATCH 1/5] microblaze: Enable uart16550 DM by default X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Microblaze is uses uartlite or uart16550 as console drivers. Signed-off-by: Michal Simek --- configs/microblaze-generic_defconfig | 1 + include/configs/microblaze-generic.h | 13 ------------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig index 9a7bb915466f..499848f9eca0 100644 --- a/configs/microblaze-generic_defconfig +++ b/configs/microblaze-generic_defconfig @@ -9,4 +9,5 @@ CONFIG_CMD_GPIO=y # CONFIG_CMD_SETEXPR is not set CONFIG_SPL_OF_CONTROL=y CONFIG_OF_EMBED=y +CONFIG_SYS_NS16550=y CONFIG_XILINX_UARTLITE=y diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 6e3c80b14350..19d5506f4e1f 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -37,19 +37,6 @@ # define CONFIG_SYS_BAUDRATE_TABLE \ {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400} -#if XILINX_UART16550_BASEADDR -# define CONFIG_SYS_NS16550_SERIAL -# if defined(__MICROBLAZEEL__) -# define CONFIG_SYS_NS16550_REG_SIZE -4 -# else -# define CONFIG_SYS_NS16550_REG_SIZE 4 -# endif -# define CONFIG_CONS_INDEX 1 -# define CONFIG_SYS_NS16550_COM1 \ - ((XILINX_UART16550_BASEADDR & ~0xF) + 0x1000) -# define CONFIG_SYS_NS16550_CLK XILINX_UART16550_CLOCK_HZ -#endif - /* setting reset address */ /*#define CONFIG_SYS_RESET_ADDRESS CONFIG_SYS_TEXT_BASE*/