From patchwork Thu Dec 5 23:04:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1204875 X-Patchwork-Delegate: bmeng.cn@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="K4YpBGDt"; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47TWf05K1bz9sPW for ; Fri, 6 Dec 2019 10:10:16 +1100 (AEDT) Received: from phobos.denx.de (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 38B1381720; Fri, 6 Dec 2019 00:04:48 +0100 (CET) Authentication-Results: mail.denx.de; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: mail.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="K4YpBGDt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 13514816EC; Fri, 6 Dec 2019 00:04:40 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 659C581681 for ; Fri, 6 Dec 2019 00:04:36 +0100 (CET) Authentication-Results: mail.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: mail.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-f66.google.com with SMTP id k24so5431093ioc.4 for ; Thu, 05 Dec 2019 15:04:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TCV0Rnf1yKP/L/yKYJw6yOuMVHhBS+Ur3XcJLSlEx3o=; b=K4YpBGDt/ROM20mmbQFY+wzSrP6Rmtgq6kXmTh4+aYB8bdhLwft0Z/32mgC9g/olF/ HauuAN7jL0fKzvLAE1gRSwqwb6H+Pudt+JDsNrQaX+HCgw28c/dBZ9H3zFFCCxt8r9vq hsT1v/slI1mIWoTZIfJc/5vFnOgZeT+EtQyJ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TCV0Rnf1yKP/L/yKYJw6yOuMVHhBS+Ur3XcJLSlEx3o=; b=kAapn2db5HRsB8CuHBW6cpPWUQThcIF1UNAZDmW5ZTwiCzCmbd6sk2b7OshtLZrPfl QQg8cKWfXgvaML+CYnewGvtz3BdUVzyHP3IWbq6dHRb0P6i7+ZhFHalXp+FOW8v3SuXu PRfF6xLVm0F9iWTfo5D1O3b5/j2O120z3s73EqG3XrErYWffgH0BUQ24Qu1BrTl+QGeT HynjD2ODAlHwi53uaINikjYNr7qjCm5FnphUVi9UjrO3y9NN5WHEvEMjXepvTCdMJc67 UN0ioCR22itAs3G8ymmE0ahf8I0zQW14P2l7hRj954hpf6hue/xzjN6GBgIJzTYbSdth Kvdw== X-Gm-Message-State: APjAAAX/Q17yVJdT0FmzKuG0NDyLaf0TF+yhb+TfkyU/AjXEZiQ5lFoD QrgKlMCy6JKIXtgFAJpep3xowc5QS18= X-Google-Smtp-Source: APXvYqySpMxrZW47iOwSilZa8nmIC1CpMHsMh0J9UF3U1LPvCGEzAlhNwICh4HbrZuX51sov1v+K8A== X-Received: by 2002:a05:6602:2504:: with SMTP id i4mr8314874ioe.173.1575587075195; Thu, 05 Dec 2019 15:04:35 -0800 (PST) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id x2sm3267095ilk.76.2019.12.05.15.04.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2019 15:04:34 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Subject: [PATCH 4/4] x86: Move coreboot over to use the coreboot UART Date: Thu, 5 Dec 2019 16:04:27 -0700 Message-Id: <20191205230428.23497-4-sjg@chromium.org> X-Mailer: git-send-email 2.24.0.393.g34dc348eaf-goog In-Reply-To: <20191205230428.23497-1-sjg@chromium.org> References: <20191205230428.23497-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at mail.denx.de X-Virus-Status: Clean Use this UART to improve the compatibility of U-Boot when used as a coreboot payload. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- arch/x86/dts/coreboot.dts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/x86/dts/coreboot.dts b/arch/x86/dts/coreboot.dts index a88da6eafd..38ddaafa19 100644 --- a/arch/x86/dts/coreboot.dts +++ b/arch/x86/dts/coreboot.dts @@ -8,7 +8,6 @@ /dts-v1/; /include/ "skeleton.dtsi" -/include/ "serial.dtsi" /include/ "keyboard.dtsi" /include/ "pcspkr.dtsi" /include/ "reset.dtsi" @@ -40,6 +39,11 @@ u-boot,dm-pre-reloc; }; + serial: serial { + u-boot,dm-pre-reloc; + compatible = "coreboot-serial"; + }; + coreboot-fb { compatible = "coreboot-fb"; };