From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Alexander Dahl Date: Mon, 15 Apr 2019 09:55:27 +0200 Message-Id: <20190415075527.2947-1-ada@thorsis.com> Subject: [ptxdist] [PATCH v3] u-boot: Allow generation of boot script List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Denis OSTERLAND , Ahmad Fatoum RnJvbTogQWhtYWQgRmF0b3VtIDxhLmZhdG91bUBwZW5ndXRyb25peC5kZT4KClUtQm9vdCBjYW4g YmUgY29uZmlndXJlZCB2aWEgdGhlIGVudmlyb25tZW50IHRvIGxvb2sgZm9yIGEgYm9vdCBzY3Jp cHQKaW4gdGhlIHJvb3Rmcy4gVGhlIGJvb3Qgc2NyaXB0IGNhbiB0aGVuIGJlIHVzZWQgdG8gY3Vz dG9taXplIHRoZSBib290aW5nCnByb2Nlc3MgZnVydGhlci4KCkNjOiBEZW5pcyBPU1RFUkxBTkQg PGRlbmlzLm9zdGVybGFuZEBkaWVobC5jb20+CkNvLWF1dGhvcmVkLWJ5OiBBbGV4YW5kZXIgRGFo bCA8YWRhQHRob3JzaXMuY29tPgpTaWduZWQtb2ZmLWJ5OiBBaG1hZCBGYXRvdW0gPGEuZmF0b3Vt QHBlbmd1dHJvbml4LmRlPgpTaWduZWQtb2ZmLWJ5OiBBbGV4YW5kZXIgRGFobCA8YWRhQHRob3Jz aXMuY29tPgotLS0KCk5vdGVzOgogICAgdjIgLT4gdjM6CiAgICAKICAgICogUmVuYW1lZCBpbWFn ZSBmaWxlIGluIGNvbXBpbGUgc3RhZ2UgKHN1Z2dlc3RlZCBieSBEZW5pcyBPU1RFUkxBTkQpCiAg ICAqIEFkZGVkIGNvbXBpbGUgZGVwZW5kZW5jeSB0by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