From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from m15-41.126.com ([220.181.15.41]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hcsJI-0001p3-Lw for barebox@lists.infradead.org; Mon, 17 Jun 2019 14:08:38 +0000 Date: Mon, 17 Jun 2019 21:37:19 +0800 (CST) From: =?GBK?B?1cXW0sm9?= MIME-Version: 1.0 Message-ID: <3bd6cd70.90d9.16b65a8086a.Coremail.zzs213@126.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="gbk" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: bugfix: _barebox_image_size wrong if enable To: barebox V2hlbiBhIHBibCBpbWFnZSB1bmNvbXByZXNzIGFuZCBjYWxsIHRoZSBub3JtYWwgYmFyZWJveCwg SW4KYmFyZWJveF9ub25fcGJsX3N0YXJ0KCkgaXQgc2hvdWxkIGNhbGwgcmVsb2NhdGVfdG9fYWRy KCkgdG8gcmVsb2NhdGUgYmFyZWJveAp0byBiYXJlYm94X2Jhc2UuIE9mY291c2UgQ09ORklHX1JF TE9DQVRBQkxFIGVuYWJsZWQuCgpBbmQgYmFyZWJveF9iYXNlIGNhbGN1bGF0ZWQgYnk6CgoJI2Rl ZmluZSBiYXJlYm94X2ltYWdlX3NpemUJKHVuc2lnbmVkIGludCkmX2JhcmVib3hfaW1hZ2Vfc2l6 ZQoKCXVuc2lnbmVkIGxvbmcgYmFyZWJveF9zaXplID0gYmFyZWJveF9pbWFnZV9zaXplICsKCQko KHVuc2lnbmVkIGxvbmcpJl9fYnNzX3N0b3AgLSAodW5zaWduZWQgbG9uZykmX19ic3Nfc3RhcnQp OwoKX2JhcmVib3hfaW1hZ2Vfc2l6ZSwgX19ic3Nfc3RvcCwgX19ic3Nfc3RhcnQgYWxsIGRlZmlu ZWQgaW4gbGlua3NjcmlwdAoiYXJjaC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CAgICAgICAgcHVzaCAgICB7cjQsIHI3LCBmcCwgbHJ9 CiAgIDE3NDM4OiAgICAgICBlMDg5NTAwNiAgICAgICAgYWRkICAgICByNSwgcjksIHI2CiAgIDE3 NDNjOiAgICAgICBlNTlmYjE5MCAgICAgICAgbGRyICAgICBmcCwgW3BjLCAjNDAwXSAgOyAxNzVk NCA8YmFyZWJveF9ub25fcGJsX3N0YXJ0KzB4MWIwPgogICAxNzQ0MDogICAgICAgZTNhMDAwNTgg ICAgICAgIG1vdiAgICAgcjAsICM4OCA7IDB4NTgKICAgMTc0NDQ6ICAgICAgIGUxYTA3MDAyICAg ICAgICBtb3YgICAgIHI3LCByMgogICAxNzQ0ODogICAgICAgZWJmZmZjYTcgICAgICAgIGJsICAg ICAgMTY2ZWMgPFBVVENfTEw+CiAgIDE3NDRjOiAgICAgICBlMDZiNTAwNSAgICAgICAgcnNiICAg ICByNSwgZnAsIHI1CiAgIDE3NDUwOiAgICAgICBlM2EwMDAwZCAgICAgICAgbW92ICAgICByMCwg IzEzCiAgIDE3NDU0OiAgICAgICBlYmZmZmNhNCAgICAgICAgYmwgICAgICAxNjZlYyA8UFVUQ19M TD4KICAgMTc0NTg6ICAgICAgIGUzYTAwMDBhICAgICAgICBtb3YgICAgIHIwLCAjMTAKICAgMTc0 NWM6ICAgICAgIGViZmZmY2EyICAgICAgICBibCAgICAgIDE2NmVjIDxQVVRDX0xMPgogICAxNzQ2 MDogICAgICAgZTFhMDAwMDUgICAgICAgIG1vdiAgICAgcjAsIHI1CiAgIDE3NDY0OiAgICAgICBl YmZmZmZlMCAgICAgICAgYmwgICAgICAxNzNlYyA8UFVUSEVYX0xMPgogICAxNzQ2ODogICAgICAg ZTNhMDAwMGQgICAgICAgIG1vdiAgICAgcjAsICMxMwogICAxNzQ2YzogICAgICAgZWJmZmZjOWUg ICAgICAgIGJsICAgICAgMTY2ZWMgPFBVVENfTEw+CiAgIDE3NDcwOiAgICAgICBlM2EwMDAwYSAg ICAgICAgbW92ICAgICByMCwgIzEwCiAgIDE3NDc0OiAgICAgICBlYmZmZmM5YyAgICAgICAgYmwg ICAgICAxNjZlYyA8UFVUQ19MTD4KICAgMTc0Nzg6ICAgICAgIGUxYTAwMDBiICAgICAgICBtb3Yg ICAgIHIwLCBmcAogICAxNzQ3YzogICAgICAgZWJmZmZmZGEgICAgICAgIGJsICAgICAgMTczZWMg PFBVVEhFWF9MTD4KICAgMTc0ODA6ICAgICAgIGUzYTAwMDBkICAgICAgICBtb3YgICAgIHIwLCAj MTMKICAgMTc0ODQ6ICAgICAgIGViZmZmYzk4ICAgICAgICBibCAgICAgIDE2NmVjIDxQVVRDX0xM PgogICAxNzQ4ODogICAgICAgZTNhMDAwMGEgICAgICAgIG1vdiAgICAgcjAsICMxMAogICAxNzQ4 YzogICAgICAgZWJmZmZjOTYgICAgICAgIGJsICAgICAgMTY2ZWMgPFBVVENfTEw+CiAgIDE3NDkw OiAgICAgICBlMWEwMDAwNiAgICAgICAgbW92ICAgICByMCwgcjYKICAgMTc0OTQ6ICAgICAgIGUy NGE2OTA2ICAgICAgICBzdWIgICAgIHI2LCBzbCwgIzk4MzA0ICA7IDB4MTgwMDAKICAgMTc0OTg6 ICAgICAgIGViZmZmZmQzICAgICAgICBibCAgICAgIDE3M2VjIDxQVVRIRVhfTEw+CiAgIDE3NDlj OiAgICAgICBlM2M2NmRmZiAgICAgICAgYmljICAgICByNiwgcjYsICMxNjMyMCAgOyAweDNmYzAK ICAgMTc0YTA6ICAgICAgIGUzYTAwMDBkICAgICAgICBtb3YgICAgIHIwLCAjMTMKICAgLi4uLi4u CiAgIDE3NWM0OiAgICAgICBlYmZmYTJjNSAgICAgICAgYmwgICAgICBlMCA8bWVtX21hbGxvY19p bml0PgogICAxNzVjODogICAgICAgZWJmZmE1YTUgICAgICAgIGJsICAgICAgYzY0IDxzdGFydF9i YXJlYm94PgogICAxNzVjYzogICAgICAgMDAwMDAwMDAgICAgICAgIGFuZGVxICAgcjAsIHIwLCBy MAogICAx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