From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 931C1C433EF for ; Mon, 13 Sep 2021 10:43:42 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 981B460FF2 for ; Mon, 13 Sep 2021 10:43:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 981B460FF2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 43E2983A4E; Mon, 13 Sep 2021 12:43:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1631529819; bh=Ofu+o5t9+dW4HEiO0r8T2E1KiIBITmsgukjXAEW4P/Q=; h=To:cc:From:Subject:In-reply-to:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=xvYtXmyMaKBqj7U6PCURezP1jDqkZpK2ahLWQzN43h0oVH8Rb0QdAbyYq+EJ4IbiU X+6ccm04p6L++RgYdpIdpOvFYv02GYscWRo/1YSeOd15Z2fTswZTdf84+iaxBQeLlf ER+V5UtbjuO+fT5QYq6A/wsU8nf+d1TdOTE9VuPXO+OgzWCPjZu674Tu99iRMfsS/t U3WpwT3S6u5oBZYT7njTUtqOECq8pyY3r4NIcLoOQ7yEBhBLvS9sL4poXmV+bPPXJP sAxVP1Pjh3HQ2yBc/NA4z0oaINYIioGLEUyCls7XamgIyHXb3JMHAaCAyBSnU51iDY Ja7HIOSlgY5Iw== Received: from janitor.denx.de (unknown [62.91.23.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: noc@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 579A283A4E for ; Mon, 13 Sep 2021 12:43:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1631529817; bh=Ofu+o5t9+dW4HEiO0r8T2E1KiIBITmsgukjXAEW4P/Q=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=GoV3hLZYWYy6uU3CgB5XehQZIQ0tnlzcaCZ6VRD4oEJOJ1KC8pR1GNgL+TZZV7e3U 5+XY7SVRE54AyAt7H1DziLXK1R5W71fwf1q9WuUH7RV+l9D5PHEalCD8NoBxUh9+q4 or0Xcgu82z1l0jqJncAHtK3zxHITeo+173tycoE/JXdQdKFcFQ8oIyIMEd4JYi2O0h BmW6xYZCpGSQzS7MmsnnF/UCkfWuaJ/26aYjN9OHFYsvEB+RTjm02oOKbOgCQjsusB DqQEzVYv2ky8L9aGy/V3/9gGNMKEOL92WxNf0T9CTCywPBx6mIY3tnciB8GFGzpb2z 53FaEmVM2TdKQ== Received: by janitor.denx.de (Postfix, from userid 108) id 0D931A011E; Mon, 13 Sep 2021 12:43:37 +0200 (CEST) Received: from gemini.denx.de (gemini.denx.de [10.4.0.2]) by janitor.denx.de (Postfix) with ESMTPS id CC96DA0036; Mon, 13 Sep 2021 12:43:31 +0200 (CEST) Received: from gemini.denx.de (localhost [IPv6:::1]) by gemini.denx.de (Postfix) with ESMTP id BE6A91E0AE8; Mon, 13 Sep 2021 12:43:31 +0200 (CEST) To: =?UTF-8?q?Pali=20Roh=C3=A1r?= cc: Simon Glass , Heinrich Schuchardt , u-boot@lists.denx.de From: Wolfgang Denk Subject: Re: [PATCH 2/2] xyz-modem: Wait infinitely for initial x-modem packet MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8bit In-reply-to: <20210910204653.3066-2-pali@kernel.org> References: <20210910204653.3066-1-pali@kernel.org> <20210910204653.3066-2-pali@kernel.org> Comments: In-reply-to =?UTF-8?q?Pali=20Roh=C3=A1r?= message dated "Fri, 10 Sep 2021 22:46:53 +0200." Date: Mon, 13 Sep 2021 12:43:31 +0200 Message-ID: <1325983.1631529811@gemini.denx.de> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean Dear Pali Rohár, In message <20210910204653.3066-2-pali@kernel.org> you wrote: > Implement same thing also for x-modem protocol. As x-modem protocol does > not have header packet, first packet is directly first data packet. > > Signed-off-by: Pali Rohár > --- > common/xyzModem.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) Ditto here. Please don't. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de "I believe the use of noise to make music will increase until we reach a music produced through the aid of electrical instruments which will make available for musical purposes any and all sounds that can be heard." - composer John Cage, 1937