From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJ0LA-0002s8-Pv for barebox@lists.infradead.org; Thu, 17 Sep 2020 20:17:13 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Thu, 17 Sep 2020 22:17:06 +0200 Message-Id: <20200917201708.12168-2-u.kleine-koenig@pengutronix.de> In-Reply-To: <20200917201708.12168-1-u.kleine-koenig@pengutronix.de> References: <20200917201708.12168-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 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" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 2/4] imx/esdctl: Define new helper macros to reduce board entry boilerplate To: barebox@lists.infradead.org VGhlIG1hY3JvIHByb3ZpZGVzIHRoZSBleHRlcm4gZGVjbGFyYXRpb24gb2YgdGhlIGRldmljZXRy ZWUgdmFyaWFibGUsIGNhbGxzCklNRF9VU0VEX09GIHRvIGFkZCBtZXRhZGF0YSB0byB0aGUgcmVz dWx0aW5nIGJhcmVib3ggaW1hZ2UgYW5kIHRoZW4gY2FsbHMKdGhlIHJpZ2h0IGVudHJ5IGZ1bmN0 aW9uLgoKU2lnbmVkLW9mZi1ieTogVXdlIEtsZWluZS1Lw7ZuaWcgPHUua2xlaW5lLWtvZW5pZ0Bw ZW5ndXRyb25peC5kZT4KLS0tCiBhcmNoL2FybS9tYWNoLWlteC9pbmNsdWRlL21hY2gvZXNkY3Rs LmggfCAyMSArKysrKysrKysrKysrKysrKysrKysKIDEgZmlsZSBjaGFuZ2VkLCAyMSBpbnNlcnRp b25zKCspCgpkaWZmIC0tZ2l0IGEvYXJjaC9hcm0vbWFjaC1pbXgv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