Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 29309C6FA82 for ; Tue, 20 Sep 2022 21:40:49 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C26C284C44; Tue, 20 Sep 2022 23:40:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="EN44oO/7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3412284C72; Tue, 20 Sep 2022 23:40:46 +0200 (CEST) Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) (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 E3BDC84609 for ; Tue, 20 Sep 2022 23:40:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf33.google.com with SMTP id m9so3078509qvv.7 for ; Tue, 20 Sep 2022 14:40:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=r2ZdpTyXp3e9G/GhUNOkIoA+nvLB4fOn7BHoNV81L3M=; b=EN44oO/7SP0MXvVeMvS6JBnW/gJcnVtPkjPQhawKj88JoSUgF8tgXJOdRD5yDDyHU7 TnzZaLKvYlPT5QiC4uiiN/VBOwM9kJ3hccxSDsLPKh6lUdNTd0sFYXpP8hzTwBToSz5n 9mJZuRC+TQDJCOi+36e8E/8VlFT9fWfoI+a2A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=r2ZdpTyXp3e9G/GhUNOkIoA+nvLB4fOn7BHoNV81L3M=; b=OaZr43ustgwm7eAn1a6QhnZDm4ra4g+1qHvnP76s6h9APcOXV+hfhcPjlxIOd4QmGt XJrGZvQmtg5hSII80dcWOh74UFFAvWV87g9PZY0pxzDMbcXIKlEGoenqT7sCEjTqJd4e SbzsaXZ8PrUY87MW64tXww56yGTR4qUK0YwYP83Z0uwDXKNou7y7hsx4Qmt+D3fUu4Ri RfPPmCT3DeLR3I7tQBEJzzrwgiNVggXwVG1tUjWinWxAPDLKyXRhTqnwtNfcNoOcI7Hk vIEJAbdRB9AukJXNuF1fQzuscYYLbiQcpHCVAT1ijYwY/fBJ5xFmgi0LvU7jAgSZZO8p xa6Q== X-Gm-Message-State: ACrzQf1lDv2CuhRqFbyRATMt5QhjOHBg2wmfB9wgc/JWwWgu14I+tpuv Ljc+tDMRLJo9mMDtLAEal8hIkw== X-Google-Smtp-Source: AMsMyM6SFoG5VNILssEHZ1K1UJVLyR2BGMdezxbEffaUTW8C5Vl8tVZUuVPTqp6DSMOcvD+2x77zSw== X-Received: by 2002:ad4:596c:0:b0:4ad:5b16:3789 with SMTP id eq12-20020ad4596c000000b004ad5b163789mr4703704qvb.84.1663710042566; Tue, 20 Sep 2022 14:40:42 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-0ca7-0a1a-8231-1683.res6.spectrum.com. [2603:6081:7b00:6400:ca7:a1a:8231:1683]) by smtp.gmail.com with ESMTPSA id v18-20020a05620a441200b006bb82221013sm795100qkp.0.2022.09.20.14.40.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 14:40:41 -0700 (PDT) Date: Tue, 20 Sep 2022 17:40:39 -0400 From: Tom Rini To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Simon Glass , u-boot@lists.denx.de Subject: Re: [PATCH v3 4/6] serial: Implement serial_flush() function for console flush() fallback Message-ID: <20220920214039.GA571952@bill-the-cat> References: <20220905093121.11630-1-pali@kernel.org> <20220905093121.11630-5-pali@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <20220905093121.11630-5-pali@kernel.org> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.6 at phobos.denx.de X-Virus-Status: Clean --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 05, 2022 at 11:31:19AM +0200, Pali Roh=E1r wrote: > Like in all other console functions, implement also serial_flush() functi= on > as a fallback int console flush() function. >=20 > Flush support is available only when config option CONSOLE_FLUSH_SUPPORT = is > enabled. So when it is disabled then provides just empty static inline > function serial_flush(). >=20 > Signed-off-by: Pali Roh=E1r > Reviewed-by: Simon Glass This breaks building on a number of platforms such as ds109 probably due to DM_SERIAL not being enabled. --=20 Tom --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmMqM1QACgkQFHw5/5Y0 tyzkPgwAlZ39qKGkNNY4uMOI4rCbTJELCdfiw2k4oVs4Bq8eMi959XLiHEnk8luj zvzIzkxxBiE+HdecWD9sUyr6bm0R7Ka2wRZ3zZV38SDoX7NuMU73PJkTQTjsDmq1 CDYzdDqa+UgDJLKIl3aVPzvgS42XaPZWHU1yC211H5yMD3s2yJZH7j/sQVzkg94e AahEk1I8ZTfEdpzmU/MezkQT71bqT8YDNjsw6FUVvDqoEWi/POBlN0A+r0aqLOoI rGnCGwHBIIKvnydo5aG+7XLjzQoU6jsBBMfpTTK+r2Y1Jc2GCNlpigQGAFTLQxy2 ewUZ954Q77motlDJLkQPobreIRtGfU54V4QSFcJGfYaAe54VJJJswQmaD7h65P3m 9hXpMG7gqw1den+RsVAOyFYHAXM8sWo3y7RNUV0K2MvzJkuk7Y4RspeUsxVDuAuh x7Pj87cHWHr52TfURnGJ/HH1l15Wq8X91f1higkelreLA9glBSvRDJdSBLgYegL+ zmLQ0wpY =vDmC -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/--