From patchwork Thu Jun 4 14:51:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1327 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E9EEC3F0D3 for ; Thu, 4 Jun 2020 16:51:56 +0200 (CEST) Received: by mail-pl1-f197.google.com with SMTP id q4sf4843303pls.0 for ; Thu, 04 Jun 2020 07:51:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1591282315; cv=pass; d=google.com; s=arc-20160816; b=wB1nAPhgSlhsN4aGDKqF6VV46IlaWw02fhRq9fa8RPSTEuPTL+k5rIpcqQqyNq/62P K5mv0amKvCAhIg7xT3OvrKzO+X2wccZYktm3PDL0JsiEKltqzBn7WjnWy8G1YM5x3mkP IWe9SwRuLLR5dXYoEKzYsOvfc6mxmHoCoTRsG1EXXvmE6ds7vbXk4Y4yCv1G7BCbva9t wTkwEq+z9r3Gr+Gd8rL1Ot5Y86PkWW6sv1ryenRuXZJFvdBoVUVJyi4LasqAIqf9fnjf 2PNZMUlDV4PxaD3rS8gcIfYYCDHgHrWUpEvvNwvmEqSo2eE9Ypu4+lq7XN68izXrqepR AiIQ== 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=A4RNrjaX66JT+GxhSLViAl+B/TCzUjHtZQj/vgnp4NY=; b=sobkZs7oJGcsZ5/k8Eh8NpCHqa+Rn9wTLSGWY3E517eTKEJNnfLq7RWQkRy2/PLGVC 2RULHm7stFUUGrJLXOqf5jvTPIIsbWwzMhEo6KVg8bzOFCgiUFfQnaDsy1eAuEF6lOm0 xiPNoMPWNnnS6nxiFOZbIBLg6Eb//uU1lMH6CS0UDqLnZVMqv6c96WZdAroyYHK5jgof f7yTYmTd7erCBwpNAtayeZfYTzmtq3U0vY56dF9uoU/Ax+dfrkig9mcN1XOt2xb6GFTD kCSxA1Lvw9fHmPUP1OmRzpV4QpxhZhBa1aISXL+NLUbAxidOOT2/gUMk1qz0xkw0p6Go e8fw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KVGLo4ZQ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 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=A4RNrjaX66JT+GxhSLViAl+B/TCzUjHtZQj/vgnp4NY=; b=pY4DUz76xzWuErRtyfuz8V21wDxigwsfzeLIerw0Bi0SfO2HrOO/lAXGWe4qHMVeCW gDz3POUEDx9R5lCSB3ZXIDaZur0fG3IHaE1lE5lIczBuJ2J5/njcz7MS0ZMFYrYFSzH8 0BKAwCcghxx4t88/8GJmEWf2OaU87ZHXn8nq0= 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=A4RNrjaX66JT+GxhSLViAl+B/TCzUjHtZQj/vgnp4NY=; b=Dh3WiXl5Oxe0iMrsP3nWhAISgBbSR/SFDKF/sIc0PrUVmb6WGs/LsaVuvoePZS65TL 1Le9Lq8U/j1Bc/lwfCea6ar6Yim0oKvCCtuTt3LUWooiW4PkzSEGMr13mnzLApCNCXcL 4sreZitQNuq5yHtHuguycyTlh2w5l3f2v4mwbee+snXeTS+49nJxEPjwm2D9cISTRqLP qJwEcLOvtS1IbOtSZfKolY/0iDhGqSzashvpp+VBsPHDt40IAaFd0NS83Z61Njf8lFK5 pbIV4aJDxZE/r7kzW3RI7JEmOHygj09aAJCHgjEV38qYXTPNojajbCCFvEzRpz8S705Q LAvQ== X-Gm-Message-State: AOAM5311jpQlUjYdVw/isnPbZTcor6pgXiQwmB/sKiVqi8NUhHvnNnfd ofcovYiucODEe9Te3nuq2Uqh2URn X-Google-Smtp-Source: ABdhPJwdHf0X0j7EtHrPLzU8QcU5TMxbTOpYhVWxQ1oNcgK3VPz7ahjqzh0EgtA/twquInRjR/pjtw== X-Received: by 2002:a17:902:c3c3:: with SMTP id j3mr5318447plj.307.1591282314926; Thu, 04 Jun 2020 07:51:54 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90b:384c:: with SMTP id nl12ls3336811pjb.2.canary-gmail; Thu, 04 Jun 2020 07:51:54 -0700 (PDT) X-Received: by 2002:a17:902:aa4c:: with SMTP id c12mr5219732plr.280.1591282314363; Thu, 04 Jun 2020 07:51:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591282314; cv=none; d=google.com; s=arc-20160816; b=ilyTMgFokQCxGWLMG1YjNx2bmwkYuMp20+E+Dypd3vkeO5+Cr2KF0zU4MC1gXembxM Mznufr6X8O6PbnNMgQ0xHcvTO1Sv8GLT5u7IRGrFom//z2K+5fL43qMcgtQfs0m8OMi6 /MtqfCT+a0afzOF5oz+awVC+ZvmjO6YWxAAvjP8YSx2QZoTT3sgTcfMn6WU62cM46mxZ 4vqfMZyL1QGeoFNIFMithFd8Zkmmbl/TgfMBoyljU/PGJNEf3ERl26shZX4fX2+uAO/J zhrIgFTEbQngihjO82Tq34AdWdqj1HbJi0xsOhTrJU60y5Wi19AenBkGC6H6QfOagPZ6 o7PA== 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=hIU1j2WlYtnQDJxwkJ0X/qXVrkbjSF6Dlue7QXZ2nNY=; b=vsj6cL5ZnndEFmnu6wJ0p4jNhXdvfwot/QHLhTmGhQmc1PDyzuoA0/RBoM+dLnVb4V uca1HX7g6LrnG+jgQuH7ec/aIgvz4TrR8sf/blcypV6oUX7j2U/cSlHlFzIO5bpjfuwC SGkbu6Q3DlUG9jlFG1dT4/1eYDwz9RWe3i0+amTen3MO4UZTsn6VYiQ4nbc3t9FyNB18 VWoJVusAp7CK4TF9h6pQEPjovPwHjeIXsmZ2zsH3wWbiEi/5SSD1jIZcVm/wQbqTm/9V JztOKYv0U3veXrm4bCqFUQ9DkfQqsXcKNDlqvo0GvNXjdcfsH5w5u3lVKmGgXlq4F1b1 Xz5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KVGLo4ZQ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id g8sor618216pju.33.2020.06.04.07.51.53 for (Google Transport Security); Thu, 04 Jun 2020 07:51:53 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:90a:220f:: with SMTP id c15mr6690523pje.129.1591282312943; Thu, 04 Jun 2020 07:51:52 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:41f4:94a8:1af3:a574]) by smtp.gmail.com with ESMTPSA id 2sm4831283pfz.39.2020.06.04.07.51.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jun 2020 07:51:52 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass , Hugh Cole-Baker Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH v3 0/4] rockchip: rk3399: Add SPI boot Date: Thu, 4 Jun 2020 20:21:37 +0530 Message-Id: <20200604145141.356702-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.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=KVGLo4ZQ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 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: , Thanks to Hugh Cole-Baker for inputs about SPI boot image creation. V2 changes can be available at [1] 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. [1] https://patchwork.ozlabs.org/project/uboot/cover/20200601204213.466120-1-jagan@amarulasolutions.com/ 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 | 9 ++++++-- configs/roc-pc-rk3399_defconfig | 9 ++++++-- doc/board/rockchip/rockchip.rst | 26 ++++++++++++++++++++++- include/configs/roc-pc-rk3399.h | 4 ---- 6 files changed, 52 insertions(+), 19 deletions(-)