From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 28 Apr 2022 15:21:55 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nk45l-000oRa-4w for lore@lore.pengutronix.de; Thu, 28 Apr 2022 15:21:55 +0200 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nk45h-0007MM-Rh for lore@pengutronix.de; Thu, 28 Apr 2022 15:21:55 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-reply-to: Date:Subject:Cc:To:From:References:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1JR96I7BTodSWCnC7odc6/xQsbsF5F3+L6yws8kS4eY=; b=3itD12BuRKD6aA vRJsZIXoT89mgJTmN5Hieym5meCdnfcfyV27SArGQ2Xh35UjZUcUjNFSY2BcXYKjXvyvnd9gOjn9/ CY2RpJtQokjIyH0VA9O+Kx2Wb2AbBrvAdnkcuev7L1CPBCQDBZz8FYR2xTFOC3A8Fjh9vy/6S5N/w I+2mfPOp0VxhSMlnJ7+hksqPGK5+R3XO1+T4FST8g3F9HDERG2rifMjD4CSPTiTTwFJOMn+7Er41s +AgiNPaV9ADcwd2bXTi8KAVD2DgiLoW9zFP2TrmXOctQiPk8YrfXUff/SsunjY4TQBFDebXuXjYRc X7EMk5QAu8EiXUQ1lu6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nk44A-006yok-Ha; Thu, 28 Apr 2022 13:20:19 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nk41i-006xcn-Oz for barebox@lists.infradead.org; Thu, 28 Apr 2022 13:17:48 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nk41d-0006bi-5C; Thu, 28 Apr 2022 15:17:41 +0200 Received: from uol by dude.hi.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1nk41c-001tCZ-Mb; Thu, 28 Apr 2022 15:17:40 +0200 References: <20220427121413.1887458-1-o.rempel@pengutronix.de> <20220427121413.1887458-2-o.rempel@pengutronix.de> User-agent: mu4e 1.6.9; emacs 29.0.50 From: Ulrich =?utf-8?Q?=C3=96lmann?= To: Oleksij Rempel Cc: Ahmad Fatoum , barebox@lists.infradead.org Date: Thu, 28 Apr 2022 15:16:05 +0200 In-reply-to: <20220427121413.1887458-2-o.rempel@pengutronix.de> Message-ID: <6rzgk5fitn.fsf@pengutronix.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220428_061746_885017_066A31CD X-CRM114-Status: GOOD ( 28.35 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:e::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: Re: [PATCH v3 1/5] common: add $global.serial_number with device tree fixup X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) SGkgT2xla3NpaiwKCk9uIFdlZCwgQXByIDI3IDIwMjIgYXQgMTQ6MTQgKzAyMDAsIE9sZWtzaWog UmVtcGVsIDxvLnJlbXBlbEBwZW5ndXRyb25peC5kZT4gd3JvdGU6Cj4gRnJvbTogQWhtYWQgRmF0 b3VtIDxhLmZhdG91bUBwZW5ndXRyb25peC5kZT4KPgo+IFRoaXMgbmV3IHZhcmlhYmxlIGNhbiBi ZSBzZXQgYnkgYm9hcmRzIGZyb20gQyBjb2RlIG9yIGZyb20gdGhlCj4gZW52aXJvbm1lbnQgdG8g Y2hhbmdlIHRoZSBzZXJpYWwgbnVtYmVyIGZpeGVkIHVwIGludG8gdGhlIGtlcm5lbCBkZXZpY2UK PiB0cmVlLgo+Cj4gU2lnbmVkLW9mZi1ieTogQWhtYWQgRmF0b3VtIDxhLmZhdG91bUBwZW5ndXRy b25peC5kZT4KPiBTaWduZWQtb2ZmLWJ5OiBPbGVrc2lqIFJlbXBlbCA8by5yZW1wZWxAcGVuZ3V0 cm9uaXguZGU+Cj4gLS0tCj4gIGNvbW1vbi9LY29uZmlnICAgfCAgNSArKysrKwo+ICBjb21tb24v bWlzYy5jICAgIHwgMTYgKysrKysrKysrKysrKysrKwo+ICBjb21tb24vb2Z0cmVlLmMgIHwgIDkg KysrKysrKysrCj4gIGluY2x1ZGUvY29tbW9uLmggfCA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