From patchwork Mon Jun 8 18:17:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1340 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 074D63F1D2 for ; Mon, 8 Jun 2020 20:17:25 +0200 (CEST) Received: by mail-pj1-f70.google.com with SMTP id v3sf295297pjy.7 for ; Mon, 08 Jun 2020 11:17:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1591640243; cv=pass; d=google.com; s=arc-20160816; b=CB6F7ggyI1QQEffdRtry1oGFLKLavFm8cV9GugjmX4auX3bGP/xTPiGyGrqO9smavx 5M+nhaQwdsK6CtX4CKQQUk+7HnlAdF/kwNNnt+cXcMK3TxpH4eJuEnqPWqmEHk3ktoB9 V/pIArUhh6C7Wrizti1/jKPO5T/bEYA9aYHVAy7J1MDA6napTfB1Y6aZYULG+LV2GJvx VNRuXs2dkgvMl2Y28FHBl+J9WVfkquncMFtNJft5SurP8WVuxj4FnfNvVUKqESHSqffF ozdg295OqO+NShQK04vVSUZRdglSI3GW3fwJt+9PQfdF6olTRso64nf4T3YR4BxwSewF dGUg== 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:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=MC6nBosiORGQlsq06jT6gaNLURgYJjZtDkqlcZiCXyg=; b=MClf9Ny47KXa+97LRY1sY3yBhzCOzSuvRKMB7RCUd3hMyZUYUmJ4ANKD6RI8GJZFkt CvC4UL1ymcCJ4f6Wc1BoRMkCLLv8X7zeNKycDD5R5sSEtq9elXRKX9drtfy+gvpSQ1dS aa2ZOSP+toOQ4tMejp3YAXBLihk7ujuBE9XuwyJnWBlfMsGY74sEdZCPQeb2P96VJlu5 a5xEMaLxP89LWb9s/jW16Gbhc6WEOPiTc7LoSsjVUVjzNCH8up8E7v7V7AkIfe/mH42F vNGot+qG3qMzwdJJ1uPwwr8I1NXDSFliiRBirVCIMXjbMm0pgGf1pp82S2Re67s/dCWt y1fQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HdG4hf14; 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=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=MC6nBosiORGQlsq06jT6gaNLURgYJjZtDkqlcZiCXyg=; b=OtoHVkJ3Won9tUagkY/Ron2VETQsff7E/eKuN9J0iPGRyvfF9RBimu/AYGjoi+FU3H yrIVfg6p+KRS7JZ/V/7irBQA0VBzu1XOHLQ4SgF3ii86Iwe2dRUaAiGdy6+xTRNs8zs0 CEG8sWDNIhyXA+zpYgaG37BcwkFaACFCRjqv0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :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=MC6nBosiORGQlsq06jT6gaNLURgYJjZtDkqlcZiCXyg=; b=MOxCAAAYZgf11vtR/0ivM7gwOA6+rzVW1WHmo8gtrDY1heF35EBratrjFkuF+/Teur aRt1NrWfNQ1hZJzK/L/QzcAWT/wXNnIkCp/r+Lp4km4BKtouTYrOU0z30d35N5qtr3gu Wxy75FRCRFkfXSm1jDDy8vOw5qaX1sKzYRHQCyKculKkznb96TPspcvDS3eLKy5wEDRZ klyNGwA2eiyh19cTOChifackh908fN/nTZ9/y8nCfxubwZU6Kh7/i+yTqXqdVscKM/Qp RX5Vq1X33lW9mSt0umGlIKB4apwfE9ZsSPo6EuFd5yE6M+7Y9uMqUWKjNjDLZVfJYJQ9 Z5+A== X-Gm-Message-State: AOAM531Lj/tRKLoJu59IASIDrMKJv0bLYIxUqXWSraj63DkL2YTJhAgz IonYyTSMwpUVtfrYA/p4OMOOZE9G X-Google-Smtp-Source: ABdhPJzO/r6bs+64xE+d5qZ423Mmr6Te3Nv8NmREDVl87lo1R2lTf78L95Ms8KfHGMVBln4sCkud4g== X-Received: by 2002:a62:2ad2:: with SMTP id q201mr22196204pfq.323.1591640242613; Mon, 08 Jun 2020 11:17:22 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:bc4a:: with SMTP id t10ls6439918plz.4.gmail; Mon, 08 Jun 2020 11:17:22 -0700 (PDT) X-Received: by 2002:a17:902:10e:: with SMTP id 14mr95962plb.12.1591640242097; Mon, 08 Jun 2020 11:17:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591640242; cv=none; d=google.com; s=arc-20160816; b=L7jGggjq4bb/fcxYpjnCZXAxbAEqLitlphLuHo7j0RcSUsKpT914EQ7v/6+HTvZ+ob P2Ga1Y6Be+7LN8DH2Up0IouRAUyDMNOpfTkEXp/OkjDw2IXJWXzeNLCm/p0PytwjVzqo MjnDGFWWImsVRCu7PsBDDSvQ6feXNPTMbGc7Tcp7sjdjVaoA0eVdy/gqHQTxnTzbsT3A 3Z8L7cLNoWfZVYKMa1AS4W4OcC0nEtuJwxkgZ4cIfefUld5jw2tQLzlYzbEXMfolhafo WW+elWjJRBTGZkF1ojw89LFArV/g9q6MG+ftt/R/MVMOlqbs7XwUVW7umCUvrM/pixbP WvJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=w0/oL4Md9qrsApeihcAZt0doJKrIfGYWiQWJ5NonDFg=; b=Rz4OP7Ljvprn4lYKdF8nCuPksUZgo8BSUoFrP2oj+RBcMuSkxXFwY37bNDKxvGuS6E ykJXbZ6pNz49byGSV+Ys7DUKr/ocSK6SupjlbaftkuHogBv3wjqx292BSlgoZ9otIs+G WBEMVKfRY5cpONrWn+WwsiQF5sU7Bcosj5bOpFHTQ8UxzSbl5Wn0f5sZJtDrRa2mqwS3 XylmtcP1HBBovpAUDlxkve43wLVht3B4f/Wyb9HS0QgbQ3tGm5zgFzY4ouA/nlGON9lC 2pGjfdUybwf6kV22Vkqv/MAD1GkYrwazCFZVECOSkZm4b7T93asLBXnBxHaR/eDU/TY9 tCzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HdG4hf14; 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 g8sor461405pju.33.2020.06.08.11.17.21 for (Google Transport Security); Mon, 08 Jun 2020 11:17:21 -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:a17:90a:970c:: with SMTP id x12mr540467pjo.15.1591640240827; Mon, 08 Jun 2020 11:17:20 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9043:af95:b7b4:3ade]) by smtp.gmail.com with ESMTPSA id t7sm180213pju.42.2020.06.08.11.17.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jun 2020 11:17:20 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH v4 0/4] rockchip: rk3399: Add SPI boot Date: Mon, 8 Jun 2020 14:17:04 -0400 Message-Id: <20200608181708.17842-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HdG4hf14; 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: , Now, nvme scan seems stable with environment. This series v4 version for SPI boot support on rk3399. Changes for v4: - adjust env offset, size changes for v3: - SPI env offset, size changes based on roc-rk3399-pc Changes for v2: - same defconfig to support both MMC, SPI boot - add spi flash program document Any inputs? Jagan. Jagan Teki (4): Makefile: Drop to handle rkspi image type roc-rk3399-pc: Mark default env from SPI roc-rk3399-pc: Add SPI boot doc: rockchip: Document SPI flash program steps Makefile | 11 ++-------- arch/arm/dts/rk3399-roc-pc-u-boot.dtsi | 12 ++++++++++- configs/roc-pc-mezzanine-rk3399_defconfig | 7 +++++- configs/roc-pc-rk3399_defconfig | 7 +++++- doc/board/rockchip/rockchip.rst | 26 ++++++++++++++++++++++- include/configs/roc-pc-rk3399.h | 4 ---- 6 files changed, 50 insertions(+), 17 deletions(-)