From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-sn1nam04on0711.outbound.protection.outlook.com ([2a01:111:f400:fe4c::711] helo=NAM04-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gVIpK-000149-Kr for barebox@lists.infradead.org; Fri, 07 Dec 2018 16:18:08 +0000 From: "Baeuerle, Florian" Date: Fri, 7 Dec 2018 16:17:53 +0000 Message-ID: <20181207161732.16561-1-florian.baeuerle@allegion.com> Content-Language: en-US Content-ID: <2BCFC714A70EBC4EAF98D77B431F71C2@prod.exchangelabs.com> 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] phycard-imx27: add support for 64MB RAM variants To: "barebox@lists.infradead.org" U29tZSBvbGRlciBwY2ExMDAgYm9hcmRzIHdlcmUgYXZhaWxhYmxlIHdpdGggNjRNQiBSQU0uIFRo ZSBjaGlwcw0KcmVxdWlyZSBhIHNsaWdodGx5IGRpZmZlcmVudCBzZHJhbSBjb250cm9sbGVyIGlu aXRpYWxpemF0aW9uLiBTdXBwb3J0DQp0aGlzIGJ5IGJ1aWxkaW5nIGJvb3Rsb2FkZXIgaW1hZ2Vz IGZvciBib3RoIHZhcmlhbnRzLg0KDQpTaWduZWQtb2ZmLWJ5OiBGbG9yaWFuIELDpHVlcmxlIDxm bG9yaWFuLmJhZXVlcmxlQGFsbGVnaW9uLmNvbT4NCi0tLQ0KIGFyY2gvYXJtL2JvYXJkcy9waHl0 ZWMtcGh5Y2FyZC1pbXgyNy9sb3dsZXZlbC5jIHwgNTIgKysrKysrKysrKysrKysrKysrKy0tLS0t LQ0KIGltYWdlcy9NYWtlZmlsZS5pbXggICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgMTA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