From patchwork Fri Apr 10 18:26:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1077 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D38DA3F0CC for ; Fri, 10 Apr 2020 20:27:07 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id q8sf2269818pgv.13 for ; Fri, 10 Apr 2020 11:27:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1586543226; cv=pass; d=google.com; s=arc-20160816; b=aCrpZPnhjfhXBmH7e6qJRqftCqr8Uhm0vw0bNMaVDqTYsekuqB3ggCpd1t3kX2mNNZ vRTgkXBIiaMlfPpa/LhySaeMUPe/a3cr25Vr/GtkNSi2NgmRjBL8QEuRoUsiAizg7iCc tA5TKhavg0PPbCRd3cqZ23wq6tsYjExYkolPWkmrQl1OXQgeJ/fdJ3G4/vPl27bHeXSw 54hs6sQEbuy1gPGktAKESz93C/Y1NOee9N3jBi1QOhK5lGtoWTsNEEOkEwYuwMsJp6RD yrOYwwBAp2hpZBc952Y5I/przEkAPxMpAbqQMfNqM9fneyBuYdhNazAjAIU/cINHN0C0 aIAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:message-id:date:subject:cc:to:from :mime-version:dkim-signature; bh=icUhoqR3krPjf85FdsxJn3fshZxxlS39Ds6aYlvTvCk=; b=ITFxlkCD8u1GQ+hnSLjvktFWrhym5q1h4jbCy0AC2Dg0p1APZrlPpIYgBp3Vh8xjoU owZ29u9YebacPodAb5LT+Tblep7PiIrxqH6y1MwWFdNuN65E7WieLWHZbxu7Fbp11v/w oFrYrLqvzJcouuicrdrPnblpPaEXaogMNQgwqqILl0dOtD3ENN3S34REX8upN5oUxsrY o0VTdcKISKbCHb3dcZbIX5E0KVIhrtQibZDQKeIACqzcqFt2ZnTT549kn3x2zvLnmfmD 1xp6gHo9cjI69PLysKDr3X7YQv5z5IJaGYLq38OrOR6CQ1vI/Nlgj/y/jXTLucqmiMln jR7g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gtakOsBh; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:from:to:cc:subject:date:message-id:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=icUhoqR3krPjf85FdsxJn3fshZxxlS39Ds6aYlvTvCk=; b=F+jBi8xOHhZCkWLjgrr6SZJJ9KcnlPWDUHNb8IOlX0vxYeW07+rKKsZYLU+P2+tEzt W94Zw9BXVfOtxpwTaEsbPpdYbEZUOdWHodDwVugY3yQWZh/LOBU34SDKNKcnhHyyyx1V 38zTDI1WdpiTGh6AS7sFLz7UTeDH/BjXcsqOY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=icUhoqR3krPjf85FdsxJn3fshZxxlS39Ds6aYlvTvCk=; b=ZXn3wpw6Gn1qoTpdHisGHzoYrnjn5f8fdhBk41U1QiJDGp8WClTeSbMvr+KR2sXKTF HeCB9Ued/nc7j+JqUld4nyqZCQswO39oi1sxh4ImpFO6AIT9GZ3sV7FPGgnS30S4jD5D 7E9zT0eFCuM0QsQl5RE6plIuz2SVNq+Pqx/zgOD2FenvDWYXdwZ86eHEwCS/iY3Ig11f htvDnTXvFMGQfughW15/XQcDrv6Q2bzhSaVfAJDe653CWHCjaH1qOGMxtU8/cEPxQYS6 S8lPvmZHthde2FDlAQJAY2m6CzpyBN/8HW0wbYLr1J487Fgp8Havb3+eohHF1zf2N2gj Ee8A== X-Gm-Message-State: AGi0PuYL/e22so9K3hhJGmiuihV2iIQQi3D28v+Q7bmZVYvdiqmy9xVo S1R0zEe7E1nvfqr6U6L83qdSJ5k4 X-Google-Smtp-Source: APiQypJO/3trxCqlFTj/Akhcn2yi78wSl4qfsmZaWCqatDmfj5nxsuXyQZ3JoIjq+MJIYL+jgBvenA== X-Received: by 2002:a17:90a:c708:: with SMTP id o8mr5557118pjt.190.1586543225548; Fri, 10 Apr 2020 11:27:05 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:f196:: with SMTP id bv22ls2973961pjb.1.gmail; Fri, 10 Apr 2020 11:27:05 -0700 (PDT) X-Received: by 2002:a17:902:bb87:: with SMTP id m7mr4873552pls.9.1586543224987; Fri, 10 Apr 2020 11:27:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586543224; cv=none; d=google.com; s=arc-20160816; b=yGx8qcpLFxehOgqazHasVkO8yRwkwwFM6h1OPJtwScHVJkgT7YcZq3TwuBHUm32HP5 TzlcR31TBG7DfefPHk3YkxIAAXhPXwqxO9ooVVY70AuQerOjPgcfOvZ1/hKBcEW55Oen cT+qLTbRetyCnC98hNQWDVyN4nAVQIyVAJckNBA5fX3/8zc6MhobLITRjMkyPMy0PQX2 LE2cOou0Or6ufNTfULlnbqtz4pz9zGxDfzQ9+4IBO1XCIoQCQzDosQZAOLRqZr+T4tpu EdhADfYsho9HGptUeHCsJvic8LIuIt+GDHseS51zspGNG9Zz7Sr2DqUtx7Pb1itdfMsZ gg8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=YCFLCRJUNsIXmmqT1CuGLgPNfLC28GDYL8O5InjY6AU=; b=WFEyPsNRwpVSSUi7RSNxbxxGsZd/fuZMf+mNSR2P4oMLj+ndY48y+7c4p4Ye63b7ft G5nS3/ubFSscUfcAmfId8BKBGmTiu4ydRrgSGBV/Yo90baElD5Q5bnTKq8BqgKxDTjTm r6hHd2/pIo2lJRuxCDnn9S6jB0M6gZ/vULNSbp5841kExt8oHMAoV51dAA8y56+kvAnP LyEo9dT54lEpP+3FRFYMQAKiylthW27OFMTMnlAT5Ok65C6XMtJe9Jh41t8J3h4JPzfC k3keEoQ0yyrbselgU0HQ+b9cCelwZSiYTf0TX+7j0CJl1jqELdL9ohwpkCvOzKZYttDZ R8Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gtakOsBh; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id g26sor3860717pfq.81.2020.04.10.11.27.04 for (Google Transport Security); Fri, 10 Apr 2020 11:27:04 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:64c9:: with SMTP id y192mr6293903pfb.26.1586543223664; Fri, 10 Apr 2020 11:27:03 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:e854:42b6:1a5:a40e]) by smtp.gmail.com with ESMTPSA id w90sm2214694pjj.2.2020.04.10.11.27.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Apr 2020 11:27:03 -0700 (PDT) From: Jagan Teki To: Tom Rini , Kever Yang , Simon Glass , Philipp Tomsich Cc: sunil@amarulasolutions.com, u-boot@lists.denx.de, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v2 0/3] environment: distro: Add SF distro support Date: Fri, 10 Apr 2020 23:56:28 +0530 Message-Id: <20200410182631.11951-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gtakOsBh; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch is based on Tom comments from previous version[1] for adding new distro support separately as in include/environment/distro/sf.h This new sf distro command not touch the existing include/config_distro_bootcmd.h. Used this new SF distro command in rk3399 platform. [1] https://patchwork.ozlabs.org/patch/1232666/ Any inputs? Jagan. Jagan Teki (3): environment: distro: Add SF distro command rk3399: Add boot flash script offset, size rockchip: Enable SF distro bootcmd include/configs/rk3399_common.h | 3 +++ include/configs/rockchip-common.h | 9 ++++++- include/environment/distro/sf.h | 41 +++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 include/environment/distro/sf.h