Message ID | 1467116297-33720-6-git-send-email-Zhiqiang.Hou@nxp.com |
---|---|
State | Accepted |
Delegated to: | York Sun |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3rf4rj5Vmdz9sCp for <incoming@patchwork.ozlabs.org>; Tue, 28 Jun 2016 22:30:13 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3D273A7690; Tue, 28 Jun 2016 14:29:57 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lDbqW_Fto3PZ; Tue, 28 Jun 2016 14:29:57 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 22553A76CB; Tue, 28 Jun 2016 14:29:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 25DA6A7667 for <u-boot@lists.denx.de>; Tue, 28 Jun 2016 14:29:47 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8d_EHOxs-p4K for <u-boot@lists.denx.de>; Tue, 28 Jun 2016 14:29:47 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0056.outbound.protection.outlook.com [157.56.111.56]) by theia.denx.de (Postfix) with ESMTPS id 32914A76A3 for <u-boot@lists.denx.de>; Tue, 28 Jun 2016 14:29:37 +0200 (CEST) Received: from BN3PR0301CA0073.namprd03.prod.outlook.com (10.160.152.169) by BY2PR03MB1926.namprd03.prod.outlook.com (10.164.114.30) with Microsoft SMTP Server (TLS) id 15.1.447.15; Tue, 28 Jun 2016 12:29:34 +0000 Received: from BN1AFFO11FD021.protection.gbl (2a01:111:f400:7c10::181) by BN3PR0301CA0073.outlook.office365.com (2a01:111:e400:401e::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.528.16 via Frontend Transport; Tue, 28 Jun 2016 12:29:34 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD021.mail.protection.outlook.com (10.58.52.81) with Microsoft SMTP Server (TLS) id 15.1.523.9 via Frontend Transport; Tue, 28 Jun 2016 12:29:29 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u5SCSs7V021358; Tue, 28 Jun 2016 05:29:24 -0700 From: Zhiqiang Hou <Zhiqiang.Hou@nxp.com> To: <u-boot@lists.denx.de>, <albert.u.boot@aribaud.net>, <yorksun@freescale.com>, <marc.zyngier@arm.com>, <scottwood@freescale.com>, <Mingkai.Hu@freescale.com>, <wens@csie.org>, <leoli@freescale.com>, <prabhakar@freescale.com>, <bhupesh.sharma@freescale.com>, <zhiqiang.hou@nxp.com> Date: Tue, 28 Jun 2016 20:18:17 +0800 Message-ID: <1467116297-33720-6-git-send-email-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1467116297-33720-1-git-send-email-Zhiqiang.Hou@nxp.com> References: <1467116297-33720-1-git-send-email-Zhiqiang.Hou@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131115905745656472; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(36756003)(7846002)(68736007)(86362001)(586003)(50226002)(229853001)(92566002)(356003)(6806005)(305945005)(189998001)(8676002)(85426001)(19580405001)(97736004)(2201001)(106466001)(50986999)(105606002)(5001770100001)(77096005)(50466002)(8666005)(11100500001)(76176999)(48376002)(81156014)(2906002)(8936002)(2950100001)(5003940100001)(47776003)(19580395003)(81166006)(4326007)(104016004)(87936001)(7059030)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB1926; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD021; 1:KeY00WvDorldC2kCtLw7H5WQ4t9f/M/H/qXypSb8+c527gd5MbhIgfUXKWNfgKO9GaAmW6eqj1LQqp6kQS+RcwRsv3fv46a4ZTTnhuZ0PR+zVMzRy76785CwRZWjIsocyllPHr5dv3lAdSHR0aTU3uSwiX0YXLjtaL4LItF54KbeHaWk+ywiQUUZzResj/GeiAq0+1r6j+JlzjFTjTRBEYId3SyullBhWDtMQBYJVG5+5XOPPWaiJZfM/bHTDgP0Z2GMdjxlqwWZ6iWEN2sTfYMcif1N27/M4/9sZsiOShFEdL/nfprWFbAqot718jXFA1pqHZFGV/DJhV3stzTvv7UT060RCszEQ6AwziGZjmmzHQuBep6I8R16hoaPdp8K7q0JAsZNJiLmqiHMGq/fdJu21Pk9yoVniv58O05Dh+M8PxXW96vUpGP85sv4Ohw7f/GafFZPy7+kl/vj+/fiBwzXROY4bg9G1L8jtPal6q7SVNgSr1OdWPRs+NyYbkhRyMpSP+fW/QKF9rjf6noUL/gxJyE6HZH2NhOoHJiKPFMpQ/GC4JR1RqVn6hHH/FZAvHzRNnGNKEL4zBqOgypOpTswqQ1TDsIEP5PNkA0KqpvtG4DL7nl8kXeGXgwXw6GQDSRT+A7L8M8WBHIoL7+uHd8VU34Ofzskaek6h0p71kzHyp0lZ/Ozu+cJ3cctQGoylXORdQDBj+A+pQdXBmOOIwZggS8rMkFdQQGxz26cZ2NinSfvQERC2D0o0TM1u5f51fkdbWLamRl01cPSUnwVLA== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 5cec00b0-e4fa-479c-39b2-08d39f4fdcd4 X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB1926; 2:oKLaqHIrijxK/P4M/ZBKzlfWa73hET96YEswl+u13JSNHxeBXWTcJ+VVgpGRJRgjyvpE9rg6YWMKCbb1JGIqtZhLwPf/oh9Hj4rSzgISk9LKntx65CXkSUIepTKP/CPcKCNatycxmjOIaRypbG2V/lL+UhPrERnCpltyybBq1xyUupcuZ7e62AM90l3kofjH; 3:iBuGc5EE63kOWTtdVS5ZVOyHu37hCvQWBxcJy38VFl9Al/3Blhj8srg+LBkvwoSGGexsgvX2OwFUu7UdRgoxGdS1FF1q65ZHLhNFnKMEU6l8RsL9M2gr0pYTGin6dZSlAFeud09oW+p7sA/0Mgagb5p2GhDT353a61AoyHI3G97JlTlgpPUb1S4GQ17sZCNmOn/g+xea+PPqZ/vZ7nVzrDi0SqE5ZsAntT8kgF50JWQ= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB1926; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB1926; 25:hokxMC+QS/gihTKO8hJpvCf8LcuDXX+tP68hxSrXYLngwb9HJon9tkSZ+RKi6C2IeV2p7PzRR5FIVjeiHHkMnjUYAssBa12c4Kk+w2O+FdqRBcWjP14r9WVm7ShqRELO9ACWvGwrH67sB/8iv7jZW0dEGHtnlbQB44tUcNv+OiDFHuFvFXpjss0XUu+HlJjErHGxs9PFyImuINI1c9PY9iAUGRVHh7DnzwXZuwmC8RkTN5kM0MEf2Od/lCSmM4qm+6Sapbgy751wekM7/zAHz9j2BFZHVjBpje8admBaao9WP9CTtt04dK9RguoqRcE7u4fL3oR46AupqilJ5DZbXeUR1M9PxVaF0oFiy+ytheeKbtfz8D46Pno74oJDW4/jrSv7gc5DqQAexZCm+IphaCDikRrG5LZ4ygDAmZLSycF91OX88cnicfOZaC9drfE0erI4NfgNka6zrFnDVQVCwD88cFjV5Z5KeSOJr9DukCGEMSNrBZnd2mZh6RGS6q1ybTanhOqZWrwP3UTDvaKtr1Zzwa/zxhOcwqsi2AHzoAB46Yt7Q6ZA1Ghm+LnKwDFIXcknCvP414Om3WjXFYfSTmoAF4dhMEiaOaBZQ9vbpb+pw8LRq1d1v2rskerP0qqA X-Microsoft-Antispam-PRVS: <BY2PR03MB1926C257AEBE6ECC42A468CC84220@BY2PR03MB1926.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13024025)(13023025)(13017025)(13018025)(13015025)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:BY2PR03MB1926; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR03MB1926; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB1926; 4:9ETlBrF92pfSLH527GmubAmrSSIz0Flx3TEb3uZt3aiVozQ6UYDSd1hxCU+AVLX844J1zvTl0tFCqB9Y2YtT11FDqzUt1sfwOr+o2D3rbr5ujqfwC0/3nj5XrwnmqXooxR4D13X6Lj15LzZmt7JDbK73l/rytE+raNytKuliB4UPX/JGLTI+C06cz0LjGTKnkXf5fB3DkrEzUgDqx0mBU5VXBzuLeShKQ90/A2OApQPzNiaMWCX61ysbyrmqSSB1yr3Qd2f/emHUxyKDBvzmeLps5+MjoF3wxT2JlEpgGemqlxO6FdWwDdHFrzMRFH5C1RgvDf7iBfpSt+Y0xb5WTwJzykSCAZbZt+6Lg4PLoumf6pp2BGLsbaOdR93FvQP8lSz/qch/nJqD6+y3jgnhjAShgqp7/QZEePI6n2bHL1GPdJ5uuHjQCg0mCu6QnvQ0ZhlahajgI/GIrsZv7gBC8sXi6CQsZNNB33xmE+nTkrwiQ10024g1CYUen0IuAKhR3bzWyZKTNuAOulH1F94gDw== X-Forefront-PRVS: 0987ACA2E2 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB1926; 23:277zoHztGG2XQy092Z0ezNZY4UGD7y6kpXSKRs30z?= =?us-ascii?Q?Rmt/JhM3NWXOePlJCjEbi8YJ6IzngAvctJMnp+SlU1eMEP+RVqY9q3rMuWpS?= =?us-ascii?Q?vVzHPeZIucyxXlftqkduxGh9eIZXAp9Nf0lQso40FmOwdUUAADW2kCCv6myk?= =?us-ascii?Q?WhbHCyZQBSHGZC8lbXCGA3S20s5dGnSDfmKyzAz3Qb+kn6oxg+JtkratZ3YW?= =?us-ascii?Q?ztwbm8E6apwCTXPStUEqnvQa4MtcmP0I7OVQ+bJlJ39Vw6azd1kpuJC74gqA?= =?us-ascii?Q?A4kfZiLgBEB4KtisGzp4TEFtS92zkapu/cr3khJHGfRHJd2jItE1XJCs7sLH?= =?us-ascii?Q?p1nEHrCctoQ1h7vViPlJ0ZUotW4T//9mna8Q4XrvVw70hRki85w32KzMHuy5?= =?us-ascii?Q?xvUWhtITbwuFMngYpZXIGu1CyJ1uu9HW0vGgxnmqo8DFu9aisSNJhO3xA3Tx?= =?us-ascii?Q?ti916Bo0tOpMXkRP0/PPOAjPNzJzOMz+/UhIVseIsyYTArg3axPf58xGBpMm?= =?us-ascii?Q?LR2ZeVzvFjuqUlr7RAt3Y7Dn/RgWROiPDgxdHJcEs9k6T49ooR9ADMuznEl+?= =?us-ascii?Q?GdUWtSfQkW90zo+NsYWtE1hJX/4yutN6T6vGoSoteNnVtp9RsZvlaCeFe6Js?= =?us-ascii?Q?tboLf9sZEXBeyZPN7uwrFv0W6F/lsyTQcjQcwozEbZJ1EBErA1torUDYvSqR?= =?us-ascii?Q?Qsqf0FcTLU+kOM7PnrZbz5jeCWBAxpHDIuNzdV/RK5CD0vvmXvolS9zf90P5?= =?us-ascii?Q?P2VOxsGFxmslmZn3z52iKyIs5uxuY+iO9bwyIXu7McFvwk9gLHImldt7qLNg?= =?us-ascii?Q?qKQMfSStyh+jyAQJQL7XFtiXNrAyZ8F3BYWH8fKpz0hVCw25CU9LeIiSuupV?= =?us-ascii?Q?rsFKVvLh3oAdZsVrvtUvEU3TEYzT1uxbdpU9ytF/5FS4oYbktGeeRY7l/1Qz?= =?us-ascii?Q?UpB/nnRalbjRQDiHLKL0cuxfMzXKTtt23x5lwzykgr7sjYwEaTTz5IZlRaNS?= =?us-ascii?Q?eC3j92jtpKXvjGg+3M8O+whsYeng6qJbZJ/Z86+0l5/aOZRqhmt5tpgBXruQ?= =?us-ascii?Q?0qfpuxxluSpIlGu65a8AhEfnKh/W0PLAhbSUXHfvN3UKU8YxoG+URWySlMUF?= =?us-ascii?Q?+WiN6pDCQhwdINs25pWuOuKQ9hyyLRP80oMIzFJl7XYn2dxaVrN1xAtiprzm?= =?us-ascii?Q?bWnJlTMYgkssKsHKqP52K7hlM43FBtMFT+3?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB1926; 5:kRvFYp55W7fKVMqA/z5d3pBA7VzuTaiTsgBtQ9vQaGnu4nVhJGZ3vRRP8CmjBNHvP3kZpCJpsW24vbsJjqAigcyRxYih1zJN8n7EfNnxD1tURA/nMkR237PehToFqyq+iAx9E3gKUuCJP/+InwnmcvMpKTpNGakxaYLiVADXkSc=; 24:PIBvkqhT2y0s5H8qJMxX/idE9nomVWNlqt1unh0MWtM6a9uXS534rZQKIyKpf1iCEjxH9MDXRkXTKqI1WXj73Ojb5slIsQMrGWnqMjnt1WY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2016 12:29:29.4216 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB1926 Cc: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Subject: [U-Boot] [PATCHv7 6/6] ARMv8/ls1043ardb: Integrate FSL PPA X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <http://lists.denx.de/mailman/options/u-boot>, <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: <http://lists.denx.de/mailman/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
diff --git a/board/freescale/ls1043ardb/ls1043ardb.c b/board/freescale/ls1043ardb/ls1043ardb.c index 1436520..d3e37b4 100644 --- a/board/freescale/ls1043ardb/ls1043ardb.c +++ b/board/freescale/ls1043ardb/ls1043ardb.c @@ -24,7 +24,9 @@ #ifdef CONFIG_U_QE #include <fsl_qe.h> #endif - +#ifdef CONFIG_FSL_LS_PPA +#include <asm/arch/ppa.h> +#endif DECLARE_GLOBAL_DATA_PTR; @@ -92,6 +94,10 @@ int board_init(void) enable_layerscape_ns_access(); #endif +#ifdef CONFIG_FSL_LS_PPA + ppa_init(); +#endif + #ifdef CONFIG_U_QE u_qe_init(); #endif diff --git a/include/configs/ls1043ardb.h b/include/configs/ls1043ardb.h index 94ddfb1..44f86fa 100644 --- a/include/configs/ls1043ardb.h +++ b/include/configs/ls1043ardb.h @@ -9,6 +9,17 @@ #include "ls1043a_common.h" +#if defined(CONFIG_FSL_LS_PPA) +#define CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT +#define SEC_FIRMWARE_ERET_ADDR_REVERT +#define CONFIG_ARMV8_PSCI + +#define CONFIG_SYS_LS_PPA_FW_IN_NOR +#ifdef CONFIG_SYS_LS_PPA_FW_IN_NOR +#define CONFIG_SYS_LS_PPA_FW_ADDR 0x60500000 +#endif +#endif + #define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO