From patchwork Wed Apr 11 19:23:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sjoerd Simons X-Patchwork-Id: 133170 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp958573ljb; Wed, 11 Apr 2018 12:23:28 -0700 (PDT) X-Google-Smtp-Source: AIpwx48co4eki3iEEd5ZDl83RSSSgs0hfFSzcddwGi99mHaXXI3CyW9PPWLVet31B8j4dvUeXsmV X-Received: by 10.80.135.139 with SMTP id a11mr11617029eda.82.1523474607969; Wed, 11 Apr 2018 12:23:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523474607; cv=none; d=google.com; s=arc-20160816; b=HbEGhxmKSfo55AoXFrkw9w6F8nJl5+CVPR3lBuEEH1zwJguAz7EY0DyakMYZ8hIh7V zIW/nwBvbUKSzmLGp19wkEr3RGNnigBNm/l5RMKL0/WUJqT6WVDGl6FcK95mWOwdqd0e NFvzdiEi5kPRscN6ELrt1rgev8xslofCqcqMIxLM/1I3w95dzylHM4UG+cLYuOZlDNP6 Kzz7Q6sjwGc6GIy9N3ZJFGWWnaPTTJ7eqeu5oGe5rGUSureYma3Y2n4WAcqehOofZXvf to5oT6WcABhhUeMaeXide4h5dL5EFRGTHmWDWkv+I7jWaATJWNwxIA8R1HOV81gZVAtv aBzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from :arc-authentication-results; bh=ZPqCSvbtZUMYrJyeWbbVgGyO2RW1Qix9CSVr37jd/m8=; b=A4eDZqlgZqOfa2w5gfolgARpZQ0X3WOUdEzln6KogZecbrE3VW7oo3aj7HDFTs+wGx YMF+bW8bDpvciyJnGAwo3cI+GceGAN992m8WVr56+UHVfaCyiC2WISBs8oH2bLZHkQ3O nlVISk1RMuwSnuN40GbsS+lapUdDiUveE/B27LPscqbTKQ2V8kh721KO+BoOM+9Hc/B5 +kT/2E7qmniCbiyc6IgrKj417OLW1dseYOFemqeAv1DijctpXYyH5PVQjeoHAhZWp66z idoFtVq5EDxK1eDPFP6YCYWGM4n8WHUM87bRexyCYg4FUgtL+dJ3wYcy3alo3DNgV5lU tmFg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.co.uk Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id 50si2228392eds.499.2018.04.11.12.23.27; Wed, 11 Apr 2018 12:23:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.co.uk Received: by lists.denx.de (Postfix, from userid 105) id 19DFAC21DA1; Wed, 11 Apr 2018 19:23:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_PASS, UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id AB17FC21C3F; Wed, 11 Apr 2018 19:23:24 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id F1296C21C3F; Wed, 11 Apr 2018 19:23:22 +0000 (UTC) Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lists.denx.de (Postfix) with ESMTPS id 6CE97C21C38 for ; Wed, 11 Apr 2018 19:23:22 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sjoerd) with ESMTPSA id F2A21277B6D Received: by beast.luon.net (Postfix, from userid 1000) id 727FE3E230E; Wed, 11 Apr 2018 21:23:19 +0200 (CEST) From: Sjoerd Simons To: u-boot@lists.denx.de Date: Wed, 11 Apr 2018 21:23:19 +0200 Message-Id: <20180411192319.9992-1-sjoerd.simons@collabora.co.uk> X-Mailer: git-send-email 2.17.0 Subject: [U-Boot] [PATCH] configs: am335x_boneblack: add example debug uart configuration X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" To make it simpler to enable the debug uart on boneblack add debug uart configuration as an example in the defconfig but with CONFIG_DEBUG_UART disabled. Which allows a user to simple enable it when needing easily without figuring out the right values for memory base/clock and shift. Signed-off-by: Sjoerd Simons --- configs/am335x_boneblack_defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/am335x_boneblack_defconfig b/configs/am335x_boneblack_defconfig index 5688e44c0b..67c16e46d2 100644 --- a/configs/am335x_boneblack_defconfig +++ b/configs/am335x_boneblack_defconfig @@ -48,3 +48,8 @@ CONFIG_USBNET_HOST_ADDR="de:ad:be:af:00:00" CONFIG_LZO=y CONFIG_OF_LIBFDT=y CONFIG_OF_LIBFDT_OVERLAY=y +# CONFIG_DEBUG_UART is not set +CONFIG_DEBUG_UART_NS16550=y +CONFIG_DEBUG_UART_BASE=0x44e09000 +CONFIG_DEBUG_UART_CLOCK=48000000 +CONFIG_DEBUG_UART_SHIFT=2