From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 7.mo68.mail-out.ovh.net ([46.105.63.230]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cmH06-0003or-ES for barebox@lists.infradead.org; Fri, 10 Mar 2017 09:38:22 +0000 Received: from player776.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo68.mail-out.ovh.net (Postfix) with ESMTP id 5E9EF3D4F9 for ; Fri, 10 Mar 2017 10:37:53 +0100 (CET) Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Jean-Christophe PLAGNIOL-VILLARD In-Reply-To: <20170310072649.whkr4d4vpwuvd2kn@pengutronix.de> Date: Fri, 10 Mar 2017 17:37:45 +0800 Message-Id: <29A532DB-5B12-40F4-BF82-7DF05C0B7ADC@jcrosoft.com> References: <1489053441-12772-1-git-send-email-plagnioj@jcrosoft.com> <1489053441-12772-2-git-send-email-plagnioj@jcrosoft.com> <20170310072649.whkr4d4vpwuvd2kn@pengutronix.de> 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: Re: [PATCH 2/2] video: some framebuffer such as efi does support enable/disable To: Sascha Hauer Cc: barebox@lists.infradead.org Cj4gT24gTWFyIDEwLCAyMDE3LCBhdCAzOjI2IFBNLCBTYXNjaGEgSGF1ZXIgPHMuaGF1ZXJAcGVu Z3V0cm9uaXguZGU+IHdyb3RlOgo+IAo+IE9uIFRodSwgTWFyIDA5LCAyMDE3IGF0IDEwOjU3OjIx QU0gKzAxMDAsIEplYW4tQ2hyaXN0b3BoZSBQTEFHTklPTC1WSUxMQVJEIHdyb3RlOgo+PiBzbyBh bGxvdyB0aGVtIHRvIGRvIG5vdCBwYXNzIHRoaXMgZnVuY3Rpb24gdmlhIGZib3BzCj4+IGFuZCBp bmRpY2F0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