{"id":810377,"url":"http://patchwork.ozlabs.org/api/covers/810377/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/1504664087-26473-1-git-send-email-kever.yang@rock-chips.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1504664087-26473-1-git-send-email-kever.yang@rock-chips.com>","list_archive_url":null,"date":"2017-09-06T02:14:27","name":"[U-Boot,00/10] rockchip: add tpl and OPTEE support for rk3229","submitter":{"id":64532,"url":"http://patchwork.ozlabs.org/api/people/64532/?format=json","name":"Kever Yang","email":"kever.yang@rock-chips.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/1504664087-26473-1-git-send-email-kever.yang@rock-chips.com/mbox/","series":[{"id":1682,"url":"http://patchwork.ozlabs.org/api/series/1682/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=1682","date":"2017-09-06T02:14:28","name":"rockchip: add tpl and OPTEE support for rk3229","version":1,"mbox":"http://patchwork.ozlabs.org/series/1682/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/810377/comments/","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"AqWZGV6L\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xn7gX2TMcz9t2R\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 13:03:04 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 0A6EEC21EDF; Wed,  6 Sep 2017 03:02:23 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 67EFAC21E0A;\n\tWed,  6 Sep 2017 03:02:07 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 6EA93C21D75; Wed,  6 Sep 2017 02:15:11 +0000 (UTC)","from mail-pf0-f195.google.com (mail-pf0-f195.google.com\n\t[209.85.192.195])\n\tby lists.denx.de (Postfix) with ESMTPS id C69C1C21C40\n\tfor <u-boot@lists.denx.de>; Wed,  6 Sep 2017 02:15:10 +0000 (UTC)","by mail-pf0-f195.google.com with SMTP id q76so2439130pfq.5\n\tfor <u-boot@lists.denx.de>; Tue, 05 Sep 2017 19:15:10 -0700 (PDT)","from localhost.localdomain ([58.22.7.114])\n\tby smtp.gmail.com with ESMTPSA id\n\tz30sm362126pfg.54.2017.09.05.19.15.01\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 05 Sep 2017 19:15:07 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"*","X-Spam-Status":"No, score=1.9 required=5.0 tests=RCVD_IN_BL_SPAMCOP_NET,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, RCVD_IN_SORBS_WEB,\n\tT_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id;\n\tbh=KJ52VM6HntlnILuYPFRFFsAcaxnWg2wtoMtbWwD8Hg0=;\n\tb=AqWZGV6Li7Ttti/dwLJrD2ePrSVseAwVdTyjcQTBPzDlmpFSWAobwkmbzvJnwMBSUh\n\tErvgcK+OvZyo6NTk0W6LWTYAqAxzIG2aX3xwc3g2gr6YiZQEOc7sYH2LYz3r1yURAi74\n\tMVf5ywBb+PJiriaRUZORr8+O0jMrIskcpB4mFG9lwE5KelZQgG2vigf3WiLuke0zH3vw\n\t2L6QklkgFjuyROzT6TGQXPryDyTRrShV5ATryg0yWGPr56B7ecAEW3Ls/UuxCnnb0RRC\n\tBznrNgH/QYsprkLzLXKnqS2xyjNFKSmvnDrmAybsZggQSm+Iqahlz7DdNgqNofUD715h\n\t+qZw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id;\n\tbh=KJ52VM6HntlnILuYPFRFFsAcaxnWg2wtoMtbWwD8Hg0=;\n\tb=HU4bD+S0CiSqiGS33WFIy59ixNN0/m9dr9m/b34cWmLPP52eJRKdc7rQxBqtHLo2z2\n\tAwRl5ZIyDK4IczdQLjR6IePTbQmXK6feEnnxgTCv8Bp9Xyu+CBYRPXREnibR+nYgqgDQ\n\t1zGS7+G/VsSrAVGgxj0IerVUxhJ3qAztCUjmJUPitNNKvhxT/KXDMz30DyDXLvjtN4IX\n\trbugnWJJhegMuOkBBuCmr+GOQRSk6vty7+h/FXW60C8VyUSRI8ouOTCsfGNJPQJ+mgua\n\tVgQZZcveuvqE1qKBCRS+OX0xvDI8uQKjLtHFB3oBFO+2dmO2Bod1QCIrtv7/VV4dC4R6\n\tL0IA==","X-Gm-Message-State":"AHPjjUgE4g4b1zP7rl4NKqVdwV5+fKLP+9cgibDcrXZN5U/CM/PWnrxR\n\tSpk2H5pgwBVFD+ZU","X-Google-Smtp-Source":"ADKCNb6vBtSDSJOk7XBBAvuEOgF7cMhSzTXqSMN/FlQZRidG+7x38JrnhjGLah7ZfsQU5YCCeqT6RA==","X-Received":"by 10.98.245.207 with SMTP id b76mr5481025pfm.223.1504664108800; \n\tTue, 05 Sep 2017 19:15:08 -0700 (PDT)","From":"Kever Yang <kever.yang@rock-chips.com>","To":"u-boot@lists.denx.de","Date":"Wed,  6 Sep 2017 10:14:27 +0800","Message-Id":"<1504664087-26473-1-git-send-email-kever.yang@rock-chips.com>","X-Mailer":"git-send-email 1.9.1","X-Mailman-Approved-At":"Wed, 06 Sep 2017 03:02:05 +0000","Cc":"Stefan Agner <stefan.agner@toradex.com>,\n\tAlexandru Gagniuc <alex.g@adaptrum.com>,\n\tJagan Teki <jagan@openedev.com>, \n\tAlbert Aribaud <albert.u.boot@aribaud.net>, vagrant@debian.org,\n\tJacob Chen <jacob2.chen@rock-chips.com>,\n\tAndy Yan <andy.yan@rock-chips.com>, \n\tMaxime Ripard <maxime.ripard@free-electrons.com>","Subject":"[U-Boot] [PATCH 00/10] rockchip: add tpl and OPTEE support for\n\trk3229","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"Add some generic options for TPL support for arm 32bit, and then\nand TPL support for rk3229(cortex-A7), and then add OPTEE support\nin SPL.\n\n\n\nKever Yang (10):\n  lib: add TPL_OF_LIBFDT option for TPL\n  arm: add option for TPL support in arm 32bit\n  arm: add a separate stack for TPL\n  rockchip: rk322x: enable tpl support\n  sysreset: enable driver support in SPL/TPL\n  spl: add support to booting with OP-TEE\n  rockchip: rk322x: dts: enable uart2 for SPL/TPL\n  rockchip: evb-rk3229: add fit source file for itb\n  rockchip: evb-rk3229: add README file for OP-TEE support\n  rockchip: evb-rk322x: update defconfig with tpl and optee support\n\n arch/arm/Kconfig                             | 29 ++++++++++\n arch/arm/dts/rk3229-evb.dts                  |  1 +\n arch/arm/lib/crt0.S                          |  4 +-\n arch/arm/mach-rockchip/Kconfig               |  9 ++++\n arch/arm/mach-rockchip/Makefile              |  3 +-\n arch/arm/mach-rockchip/rk322x-board-spl.c    | 66 ++++++-----------------\n arch/arm/mach-rockchip/rk322x-board-tpl.c    | 81 ++++++++++++++++++++++++++++\n arch/arm/mach-rockchip/rk322x/u-boot-tpl.lds | 13 +++++\n board/rockchip/evb_rk3229/README             | 72 +++++++++++++++++++++++++\n board/rockchip/evb_rk3229/fit_spl_optee.its  | 48 +++++++++++++++++\n common/spl/Kconfig                           |  7 +++\n common/spl/Makefile                          |  1 +\n common/spl/spl.c                             |  5 ++\n common/spl/spl_optee.S                       | 13 +++++\n configs/evb-rk3229_defconfig                 | 28 ++++++++--\n drivers/sysreset/Kconfig                     | 18 +++++++\n drivers/sysreset/Makefile                    |  2 +-\n include/configs/rk322x_common.h              | 12 +++--\n include/spl.h                                |  9 ++++\n lib/Kconfig                                  | 10 ++++\n 20 files changed, 369 insertions(+), 62 deletions(-)\n create mode 100644 arch/arm/mach-rockchip/rk322x-board-tpl.c\n create mode 100644 arch/arm/mach-rockchip/rk322x/u-boot-tpl.lds\n create mode 100644 board/rockchip/evb_rk3229/README\n create mode 100644 board/rockchip/evb_rk3229/fit_spl_optee.its\n create mode 100644 common/spl/spl_optee.S"}