From patchwork Wed Dec 19 11:03:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 154252 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4800814ljp; Wed, 19 Dec 2018 03:07:28 -0800 (PST) X-Google-Smtp-Source: AFSGD/U6ogOVeEs/81+b6RE9LfooCe9rn/IrblMTU3ahAFE4Gw3fre1kvPDMsceHAnuBRhqE3htQ X-Received: by 2002:a05:6402:13d6:: with SMTP id a22mr18766055edx.39.1545217648059; Wed, 19 Dec 2018 03:07:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545217648; cv=none; d=google.com; s=arc-20160816; b=qI6MHFlG93KfcWs9NXuOCGdAuqv3XAb5Tp0qtA1HpbzMkD1A2Ok6HRl3uGcCYqz2t7 xJLx00Jlr06SjasFvn9m3RRHOV0VAOZ5KCWZ/Oq47U36IBvwbMAb4X6VOHWaNZt7FEGD 4gJOfJskE5k7y5tCfMwpPB01JxMg6oR8zilAWII5VTtkjbFTDZRNcfFcjdCzQicACUWz klmev0RfvqpCOLKT3IL4+hnXpZsD6I9FaaXZIo3iVwLdKf9cBlNFqx0wpUYGRYYN82ZG k0CIy0XWcfb8pitni2xpi3dsXuU0qj2sMaxbMDmlzAg0hbxLVqWTvnDEenhlNjY/eD/K 1v1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:dkim-filter; bh=DkchfjS4Y8kxT/HB1YZkS4uJJW2KCJL8vqCYpYdrIkc=; b=uAl0LYO94vbivJbaAW3GZF/4h7CefWfrAIlm+xDO45ucwo2H7UheAhYpzMP0OZ4GYH NrEJpZf/Vd/LZHbb+hnOlK5bj6YWyKrlk4zJ7A6tLE5nhdwYeLeCQNmeLCNJtjtn9zv1 z4dOUCF7bxOMQ/Q6E5lfA3bB2bH773MUh3u1WYHgsiU72ixyYY7l3cDhPoMMBkfpBpeI 3dHArI0sfsSwOIzK8Z+WpWnnFhvVtU8SUgYw03HfJW32maPK12MiKGSOrkoNukEXtVUc OogPd8wBKEl3Tr/aVUIn65YFyiRfOWFFlznJohkvB/sb0XEt6tQX0Xd+IW2yUAN63tCN gCRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=0pwXwRCa; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id p10si396552eds.243.2018.12.19.03.07.27; Wed, 19 Dec 2018 03:07:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=0pwXwRCa; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id A4274C21FDC; Wed, 19 Dec 2018 11:05:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 3EF6CC220B2; Wed, 19 Dec 2018 11:04:20 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E7F37C21FA0; Wed, 19 Dec 2018 11:04:01 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id A2628C220D5 for ; Wed, 19 Dec 2018 11:03:57 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id wBJB3SMM001192; Wed, 19 Dec 2018 20:03:30 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com wBJB3SMM001192 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1545217410; bh=Fp7n7xkEf04Ny72CUfq5N4cmQoRgxes2HZ2rlLQWoyU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0pwXwRCaoIBPteUo+z918Ol7i8YBy0GrWaEvGNplUhZ4oI1NsmW0lVYI0HsxUTEiR lTI7jrN0tbt5wgW4a9+kQ8vAU3lEpShVMSzJgc86XQElXXkmqEHK1r+0tVbEAE9n/w P4f3xNaxzCruFJMURzrVK85VNtF4QTuc/b8EHAYfKXQ1nmi3tM+wH4orRykRSg4KVy H/EPAaYy6fT9/Ks+FIV2R2yymeAcsEyTYHYu2A1lhWfpGNQZ4UqPFFa2Ef3KzwpLbr 5S09aQy0ejNdFdxevqElfCutUBDbv61F3zjS9qxqg/z48gKskSurGakClFIdPKkuli rswap5xcTqjhQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Wed, 19 Dec 2018 20:03:15 +0900 Message-Id: <1545217401-27018-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1545217401-27018-1-git-send-email-yamada.masahiro@socionext.com> References: <1545217401-27018-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini Subject: [U-Boot] [PATCH 3/9] ARM: uniphier: add CONFIG_PREBOOT X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" For more boot-flow flexibility, Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index 1e509ce..95d6452 100644 --- a/include/configs/uniphier.h +++ b/include/configs/uniphier.h @@ -124,6 +124,8 @@ "third_image=u-boot.bin\0" #endif +#define CONFIG_PREBOOT "env exist ${bootdev}preboot && run ${bootdev}preboot" + #define CONFIG_ROOTPATH "/nfs/root/path" #define CONFIG_NFSBOOTCOMMAND \ "setenv bootargs $bootargs root=/dev/nfs rw " \