From patchwork Thu Apr 5 09:37:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 132855 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp6068486ljb; Thu, 5 Apr 2018 02:38:03 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/9WCropCw/4WMbXAXVLBPbr2Sk479AgyFhjhrUPK7KoKgLnpDaF0ICTdgU0iEnbc9GdgWX X-Received: by 10.80.232.195 with SMTP id l3mr2238592edn.307.1522921083778; Thu, 05 Apr 2018 02:38:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522921083; cv=none; d=google.com; s=arc-20160816; b=Mwzxcl/x0x925L0HsYqgJnAsot6pcLx1Q5/+cdBdlW1y+H2d5hb60cOpuIcbbhzjVN LUTnBvMZZt6Gh/+R0JNnrXxLfgoHY3A4t92SdufYChrUzj9oWYHd+YnZOPlR0VOhkiPA n4lV7LKn8ZtNShTla6mRCZJc1Kuex7N9I/3oiDS817PP5C0hywVWK0/mQEuBuaS5lD9e ughKrbeEZGD+vIg/mR2vzQgd4sfvaKVLCTETgB/Oxvno/Xhcv59LzTkKCQ++l6jGGWEH GyGgOClQRmryt94eyc+n3R0QFkbSgUJ2Qb/El0YT2bIHOcuSO1BZL5iPn9YpXNKkmh8p O+hQ== 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=cQWSCfoPZd1LdiJ/+NA1hNmUM2soer6Ptgv2+UzEPGM=; b=km6/c4VwK3Ggv5NDblm6mEeqQgCES6a1RxfYlAAi6cNbteclQPC8nfcnonFDuS09om /d0dUBJKAXQpeOjmxqcB/UXrImkDmI72pb3hpJHQIfAMn8S0tGVrUOwScLx6oYRgJKR/ HX+Gs+PzVZNfa5OHwEw9Z7yqCWbnRqtVmXL3HD10DHHRsCT+IjF90XhQRTbZodTeFPfH K38xb++bSPMuJfTpXguUJ5GUH7NyYgzzeWrnYrNw3qbaLAeDeWrMovyUVZEQsDBn5zJi QzfUmyZ4j+0cQxe9OdpouKzzQsKuSqa3Zckm5e9T3cpqSu0eXA+5MZTYcLdbGPisN7+i qZMg== 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 Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id a23si590520edj.329.2018.04.05.02.38.03; Thu, 05 Apr 2018 02:38:03 -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 Received: by lists.denx.de (Postfix, from userid 105) id 19562C21DFB; Thu, 5 Apr 2018 09:37:57 +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=RCVD_IN_DNSWL_BLOCKED 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 E8D48C21D72; Thu, 5 Apr 2018 09:37:55 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id BC76AC21C51; Thu, 5 Apr 2018 09:37:54 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id 4D952C21D8A for ; Thu, 5 Apr 2018 09:37:54 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 84279ADD2 for ; Thu, 5 Apr 2018 09:37:53 +0000 (UTC) From: Alexander Graf To: u-boot@lists.denx.de Date: Thu, 5 Apr 2018 11:37:52 +0200 Message-Id: <20180405093752.32985-1-agraf@suse.de> X-Mailer: git-send-email 2.12.3 Subject: [U-Boot] [PATCH] rpi: Allow to boot without serial 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" When we enable CONFIG_OF_BOARD on Raspberry Pis, we may end up without serial console support in early boot. Hence we need to make the serial port optional, otherwise we will never get to the point where serial would be probed. Signed-off-by: Alexander Graf --- configs/rpi_0_w_defconfig | 1 + configs/rpi_2_defconfig | 1 + configs/rpi_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git a/configs/rpi_0_w_defconfig b/configs/rpi_0_w_defconfig index 04717d5e50..6e02cf34e9 100644 --- a/configs/rpi_0_w_defconfig +++ b/configs/rpi_0_w_defconfig @@ -34,3 +34,4 @@ CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y CONFIG_OF_LIBFDT_OVERLAY=y +# CONFIG_REQUIRE_SERIAL_CONSOLE is not set diff --git a/configs/rpi_2_defconfig b/configs/rpi_2_defconfig index f8203c9d47..dd3c60cc93 100644 --- a/configs/rpi_2_defconfig +++ b/configs/rpi_2_defconfig @@ -34,3 +34,4 @@ CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y CONFIG_OF_LIBFDT_OVERLAY=y +# CONFIG_REQUIRE_SERIAL_CONSOLE is not set diff --git a/configs/rpi_defconfig b/configs/rpi_defconfig index d13d3d3e2e..2c0412d8ea 100644 --- a/configs/rpi_defconfig +++ b/configs/rpi_defconfig @@ -34,3 +34,4 @@ CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y CONFIG_OF_LIBFDT_OVERLAY=y +# CONFIG_REQUIRE_SERIAL_CONSOLE is not set