From patchwork Mon Oct 17 16:09:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Tull X-Patchwork-Id: 9379811 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 828476086B for ; Mon, 17 Oct 2016 16:12:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 739AB28CE2 for ; Mon, 17 Oct 2016 16:12:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 680AC28D53; Mon, 17 Oct 2016 16:12:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 748A528CE2 for ; Mon, 17 Oct 2016 16:12:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bwAUY-000219-FZ; Mon, 17 Oct 2016 16:10:22 +0000 Received: from mail-sn1nam01on0070.outbound.protection.outlook.com ([104.47.32.70] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bwAUL-00015k-Jc for linux-arm-kernel@lists.infradead.org; Mon, 17 Oct 2016 16:10:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=altera.onmicrosoft.com; s=selector1-opensource-altera-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+mOLH1ORUG1iP33OaIFhfmtZzV0SA14ESjULdu9PrC0=; b=UQ+wU+MtvEHtNudwXS34m7tMz9Vsmft7qmZIPWo2g8olVEOxq3KFLHQD6FwR4jjmNnm8O0ZKF9LHsEnOGnjocX85QYK5OSMlzfzfeom3HkvjyaQVlCkEc/R0OP5lZrqh2MqnYDtkfKPwdnygAxJYYf7+voAAGDQNgHsG5qqKVxI= Received: from BN3PR0301CA0054.namprd03.prod.outlook.com (10.160.152.150) by BN3PR03MB1368.namprd03.prod.outlook.com (10.163.34.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.12; Mon, 17 Oct 2016 16:09:47 +0000 Received: from BY2FFO11OLC009.protection.gbl (2a01:111:f400:7c0c::161) by BN3PR0301CA0054.outlook.office365.com (2a01:111:e400:401e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.12 via Frontend Transport; Mon, 17 Oct 2016 16:09:47 +0000 Authentication-Results: spf=fail (sender IP is 66.35.236.227) smtp.mailfrom=opensource.altera.com; vger.kernel.org; dkim=pass (signature was verified) header.d=altera.onmicrosoft.com; vger.kernel.org; dmarc=none action=none header.from=opensource.altera.com; Received-SPF: Fail (protection.outlook.com: domain of opensource.altera.com does not designate 66.35.236.227 as permitted sender) receiver=protection.outlook.com; client-ip=66.35.236.227; helo=sj-itexedge03.altera.priv.altera.com; Received: from sj-itexedge03.altera.priv.altera.com (66.35.236.227) by BY2FFO11OLC009.mail.protection.outlook.com (10.1.15.0) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.669.7 via Frontend Transport; Mon, 17 Oct 2016 16:09:45 +0000 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (216.32.180.47) by webmail.altera.com (66.35.236.227) with Microsoft SMTP Server (TLS) id 14.3.174.1; Mon, 17 Oct 2016 09:08:56 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=altera.onmicrosoft.com; s=selector1-opensource-altera-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+mOLH1ORUG1iP33OaIFhfmtZzV0SA14ESjULdu9PrC0=; b=UQ+wU+MtvEHtNudwXS34m7tMz9Vsmft7qmZIPWo2g8olVEOxq3KFLHQD6FwR4jjmNnm8O0ZKF9LHsEnOGnjocX85QYK5OSMlzfzfeom3HkvjyaQVlCkEc/R0OP5lZrqh2MqnYDtkfKPwdnygAxJYYf7+voAAGDQNgHsG5qqKVxI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=atull@opensource.altera.com; Received: from linuxheads99.altera.com (64.129.157.38) by BN3PR03MB1512.namprd03.prod.outlook.com (10.163.35.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.16; Mon, 17 Oct 2016 16:09:40 +0000 From: Alan Tull To: Rob Herring Subject: [PATCH v20 02/10] doc: fpga-mgr: add fpga image info to api Date: Mon, 17 Oct 2016 11:09:33 -0500 Message-ID: <20161017160941.4205-3-atull@opensource.altera.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20161017160941.4205-1-atull@opensource.altera.com> References: <20161017160941.4205-1-atull@opensource.altera.com> MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: BLUPR16CA0005.namprd16.prod.outlook.com (10.164.14.15) To BN3PR03MB1512.namprd03.prod.outlook.com (10.163.35.150) X-MS-Office365-Filtering-Correlation-Id: 290c6a1a-181c-48c1-2631-08d3f6a80397 X-Microsoft-Exchange-Diagnostics-untrusted: 1; BN3PR03MB1512; 2:1ceGapX82teJPBNKMt64objnpau+nnAuOkiS0KyX4nyl64fnxJEN7O2Ft5mwhaHyZ/CcIiU0nA0SwhgpxckevzjTzzBHeKgI841FKqnvMADAymWie4gEZ5L5qUeD9VZNWNHEyimwc3y6Shea0lqJrxrysVT5YMC9gSYEZ9ZVJKE9vz7SQQI/h1OH0MvgcqGVWOxdg0De8BIm4m9cd+/Yiw==; 3:Vjq67eKBhFzTqylrcCPk0UjOoE/m8BTparBYRY7IyMGr/+00oa814ZLCnuXR31wzj+8YWIr7n9QvX7nsbaOpIbR47dRi11JDBjIwlBr1du+fFGLdly7a0a7rFl/YzQJSlDWlHXL9q4M/77H1uWSmVA==; 25:2SPJc8Xpm2V4VSWyWkChfqpYGt1gykHOBGcKtdhWHiTPMyGEa0EhSiKhX1y/cI8BAHNPARHHbsw7ZXHuqW6laa14L07sHmKimR4SYSk+pF/h/7QQSinvxyxB+Cj8lqqQYF2zusunAV1noWNLkjl1P6hrEHHYFt+wacln47Igk46RsTHlAket5LcVC9dhZsf6j79H0MJedODvHHVjJpvgFtjfnlhRIVAUZndKbfgOD6rN6BrTQSYVC6LH//VKT8xpTFd9TEY7ljUZUvFw6eIvPct02AtKoh8RTTxyxHddGrlgJWVU5hb4Ae8BkLyhvPr3DbiveZAq2BnmqT6qovV6gbJokLJ80VhoixtPDpaTzfmgH25bJqN+RymxtibiZxQ4QffJY6ye+WLzFANi/amT30t524YlnG5sxUeGT0OuUd4WvnU3QCsTKGMkbWHx5mWDLA32x8Fu9QYXGX4iK3+Kug== X-Microsoft-Antispam-Untrusted: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BN3PR03MB1512; X-Microsoft-Exchange-Diagnostics-untrusted: 1; BN3PR03MB1512; 31:gGvh5g0PdeoLs4ayU0H+A00XMwGlBqilXMUk5ss2X8nw15+xrRwtdhkDrxy+/STwCCLuLVVyNTlx44MBavZDMSSfE52FnZcfkWBELQbblwEDrlVmeGdi01NDFUwhmYp8y4vii3h0/BUKcMnDsFh+h9hzI2Yc70w6V+W3A1rTsC38Mv9ofTX+VVgoQpNgKYsS1kDS3756jdgPzNrrUpdAW+U2ArPTRKaVIsc/GDauhel5BuvUhEqXK/E8R4I6HFd7BET+I+jLfMO9ZVIbWLYXniEyDYKbPnxTB7ShEnKnLBk=; 20:QGeL3PnR0ziK4m45XsLgYcKk6uBcn6wGzOxdACcdfrZrDmBPDBTGiT41Pj0Ts6wenEWOFvjtFldV2tGDASfzQUID5ROKqcvU+J14iIZ6eFCNkWiz9hLRn1t43nZhMSMBqX02H27vHfMNubh4iXd1JQv1KGNfS6xqk/xVrNZZHd0=; 4:Eeg1LzcP7CU81i7PoMGZueL95DFDFUWf1e+L6WXaLsgIIT2IwV0/Ljr9fY3Vim81qMjekAZkR9X8viXK9XehTlg8Ec3wZSSRnmru02HimJvTCnb+HgTxPPxkIaE3UcF813mvBfDO5gfClKODoY0+6LmlADARmh5Dks67h75zZozV0yAKzt+NhkJALnqtWQSb1ghJDllmT9i2VF6F1EJWW+VxnNXtsKJ+r01vUMrQLd22wravTEVTgIJEua7XzEkV2cDHKIzO5MrUcmpHnUakDFgbOMpmqlbo60c0Nu6yqLR3eQqPcnAlrhCzgqpYKh2SbHdk/JgTA5Ju5ln9RdvSsheY/9RrqT/RXEMr5mfCEpS8a6or65fm8aGzhviSDbXvjUfs9amjv7VobhRM0FeoSIPn1/nriI6hqLnlh/n6ojbcoXE/gq75TTdTJZmDUBf2rvGVXa/wmRZ+fa8AwwEmtw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(80048183373757); UriScan:(80048183373757); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:BN3PR03MB1512; BCL:0; PCL:0; RULEID:; SRVR:BN3PR03MB1512; BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13023025)(5005006)(8121501046)(13024025)(13018025)(13017025)(13015025)(10201501046)(3002001)(6055026); SRVR:BN3PR03MB1368; BCL:0; PCL:0; RULEID:; SRVR:BN3PR03MB1368; X-Forefront-PRVS: 0098BA6C6C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(199003)(189002)(4326007)(8666005)(5660300001)(53416004)(8676002)(48376002)(50466002)(86362001)(110136003)(42186005)(50226002)(50986999)(76176999)(4001430100002)(101416001)(33646002)(6666003)(2950100002)(42882006)(5003940100001)(229853001)(106356001)(77096005)(68736007)(66066001)(97736004)(7846002)(107886002)(7416002)(189998001)(7736002)(47776003)(92566002)(105586002)(586003)(6116002)(19580405001)(19580395003)(2906002)(81166006)(305945005)(1076002)(69596002)(3846002)(81156014)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB1512; H:linuxheads99.altera.com; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: opensource.altera.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics-untrusted: =?us-ascii?Q?1; BN3PR03MB1512; 23:LEA51nlM4o8fNxiYL3WIOKS3g/pYbdiFjUULkNz7h?= =?us-ascii?Q?T8nkODCUOhFdbawKd4UCvWeMO/H45njBfEPQitkc9UbCIWg/pYrBDOHpkYp9?= =?us-ascii?Q?kXoHFZSgindVzNBOuqebcOIVeK0njpHoG3gz1ePq//UcNuHHFj48xFPFcBlP?= =?us-ascii?Q?JF4PXVCp/nG7x3kM7BFTjHbsq/LzH4mGRxR/sKl7hH7hJi2EQehIkaf8nZ5/?= =?us-ascii?Q?gumvF35+zi1kx62/HqwC27GRS0pxr3URaTBKedpMIn0aUk2LzoKzZFp99iEy?= =?us-ascii?Q?DL4CCNoJVk+N8+jNFXZnfjo2lEFtFliJDEa2T1RwM3BV0P4OEIc9usXmwLgc?= =?us-ascii?Q?GNd9QeKb9QnS1jzsq2L8iQOQjsgP8t59XwLqZsbrpCq2RpK+m9NrBX4GDA1c?= =?us-ascii?Q?QUhh6GGirk7EHrf3ORv1zksmKd2BZnjCx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transport-CrossTenantHeadersStamped: BN3PR03MB1512 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:66.35.236.227; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(50466002)(6116002)(6070500001)(42882006)(81156014)(2906002)(11100500001)(50986999)(76176999)(626004)(4001430100002)(86362001)(4326007)(229853001)(1076002)(5003940100001)(77096005)(107886002)(956001)(85426001)(3846002)(48376002)(305945005)(586003)(7736002)(105606002)(53416004)(87936001)(7416002)(66066001)(6666003)(2950100002)(50226002)(8666005)(356003)(106466001)(8936002)(19580405001)(19580395003)(7846002)(81166006)(47776003)(3720700001)(68736007)(8676002)(189998001)(33646002)(110136003)(92566002)(97736004)(336002)(5660300001)(7099028)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB1368; H:sj-itexedge03.altera.priv.altera.com; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:0; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC009; 1:8TaXqBwaL2sbwgNEGHjtH6syFcYRZLVRMht17OcCXv6ZoCNLaRQ1rplXoacj2QNv0b4ykRTU6bsMa/PLtDg++/dO9ajNqTA/Q3jEkEeHCJy040z3zpiarY+Vc3uMDzhF8zg8CXE3ADwuX75irPljvBs2F0K9UJhTwms11Sy6iCsoJ79A9kx+4CLK6tkylfDptAqRlzyfSJJmy/TqEraW/C/iudRY3P0Lv3mTFV7X3FAj3hwRHryiZYbjm/pblTiGGrxgEcxqitcAmzb8uPQS3xxnpwC+cjBHGgQfMmQU3HdCiQWVmDEGWxGcxc8/gxSUfYcb7MgNmZzpqpu/UuUqJnL4HDkpwfvoQUMY4yNrrgt2TWwkU3SD7H9Mp8rEE7FmF2QzbSHPvv561MNbvD9aTasEBLI6CVRyS+SUjBBfMptJ8SWJWpVAqGIriYklMS3pGhMAS1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FJMLGQmjGniDnRohOVFyVWMQEafT8/+OE94P5jeDB1Rv/Mutv1mWcXmVm8gTEyYQ+LI60hwdfNKoOgBr84/8MrihcVFqGgMtglBR7g/pYfpesnkQqdchlcvcqS/GhMhXgx6AkMgQc0qm3HTUI6i+CB9dgWaEtcfwfFRgNM7V00w2iq9IAOci6UlGAw== X-DkimResult-Test: Passed X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(3001016); SRVR:BN3PR03MB1368; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1368; 31:sAd/KQGlvkQ4oC1Kf91H+FEGTUcpvbNA+VyeX923gu+KWCIpn7U6NmLR0aTDynoqdN/+kcMjeAFPreIjTN9SJUOu6Om52ypX3A9D3ERLSVS1VkuBHuEGpmkzK/SwNC6S24r6cWRxLIrutnfPVU2mZt35Ag2UVusySj47gU8MdllTLcOXWOzwvNubt9glQZgSYF4/Tu2k9Am+2Obb7s0Qh28+FF3CI9IY/Rajj0l72jgdeEsS0fLLhMQWHUD5dALVQ3erRjR3h11bUAly8Ql/ivuh9YZebjhf21U3JoQWC4I=; 20:3uzcZCJw/8MFPUzN2ZUjE6sAbeYMWT4BBK7ZgaW3FOHXTJpzHYM/WlyNCiA2zfgY+4I8uo0Sp07SPqdc4pqDqRGhNEQxPIR6g/dM+0JrPJF8bkKUjsT85EVGiThV8wPWqkacexusRjbMzTYRXwQFO5pTNO1I4WlW0oixWya0Ob4= X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1368; 4:KbRdRsESr2EtGL7/eytnb6+6vhVUE+uDvy1OEJbWbXc/GlY2WyJhOxyxpdfbcCHn7lahCUGN6wZLED4qphezvPD0Gj/QtCsh8ZcGjMjotOFDgGmVggbl1daghmuuo0/CMnSKtqMMQJ5zcnIbd2jVovlTlp1KRU+d7kts2YtyhHhnz43TbmDAnE/vbvOTZSZMxxcRmo65bVHZMT+8AZEhbuAl+MgFY1c3XHxpejkhaVD4rWjxoyEfganuRCAhqGubF64eubIOETbIGvT0kVZuNDjVunwHROAAOP2ZSI/K7FjKzicBh7cG5pU/NMcckq5jC+cdHgqR9ZfwFAmicB66FFF+gBPP3Ql4KVPboez9xHH7vMyXadU/W2sAT5H1AAvW3TnebCOfPePEapa0/47hYfmzXn9dLl2haTIF1uUYjY5DxcUK0EITdvRGQePEAmdz7qR0Qkc3GL3mdQO3uTMA5gkNjqJ+piVcDvuUxng5yY2A/TSAabUnfYbhYp6DHlRWRLqwUwuE4XR2toS9vtyfqMiih599NB0N5P4jfDttgaNvCvKwwkCQRiqS5X68qQlR X-Forefront-PRVS: 0098BA6C6C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR03MB1368; 23:nB60RKE2cmECeZgLjxWAPVW+SKJzXPQllI54gHDMg?= =?us-ascii?Q?T+ceHTSCcoP74DJCbpDTalQ/iTk8L2so7JfXlkU0+X4RfImq90ct6bKzbdeZ?= =?us-ascii?Q?y3GBIraTvKoai4LqEuD0fo+1GHkwSCeHjFrLOU8ixaeaH3xZ9BdDWP7D4d3K?= =?us-ascii?Q?cDsWLJocUipsfh5Q9wuZeh7K1W8pL8KHEQpm8Z0FozoVKDz0NCwTi/qQEy5Z?= =?us-ascii?Q?6fwyJSBueB2V8Z10G7t23mLLKdC8eQstHBPc5Tfyr3Z1HVBI23p3WXx9LLIS?= =?us-ascii?Q?zLthdOTf8/j43YRwG0jsTgjTkmKk1lw8TWvksI6xes/TOQSoRFWqT/ZF+L10?= =?us-ascii?Q?DlYoqPSRvt7qIZBCO7a9DfxVYFY2s1uWozuiRcMMotCWM8ji+osgrRdej+CG?= =?us-ascii?Q?thyhWQfD3k3/RiOBhVc195RhKgLqyRGL+5i6qP2o1sW5sm68kQTQHaJPDGKg?= =?us-ascii?Q?Hr+t0t0Pr7MeujJ95wDTyucXrMgxVUbxWtZ566wvZp7+8OUleqWX5Dxh9P7M?= =?us-ascii?Q?43FjLADSffrbtjB3uc8WnpLzepEPLnp0HMdnm3Fc3VR3kH5rSQOn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: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2016 16:09:45.6904 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a; Ip=[66.35.236.227]; Helo=[sj-itexedge03.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB1368 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161017_091009_862472_C01477CE X-CRM114-Status: UNSURE ( 5.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Moritz Fischer , delicious.quinoa@gmail.com, Ian Campbell , Alan Tull , Greg Kroah-Hartman , Jonathan Corbet , linux-doc@vger.kernel.org, Michal Simek , linux-kernel@vger.kernel.org, Cyril Chemparathy , devicetree@vger.kernel.org, Jon Masters , Matthew Gerlach , Frank Rowand , Dinh Nguyen , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds a minor change in the FPGA Mangager API to hold information that is specific to an FPGA image file. This change is expected to bring little, if any, pain. An FPGA image file will have particulars that affect how the image is programmed to the FPGA. One example is that current 'flags' currently has one bit which shows whether the FPGA image was built for full reconfiguration or partial reconfiguration. Another example is timeout values for enabling or disabling the bridges in the FPGA. As the complexity of the FPGA design increases, the bridges in the FPGA may take longer times to enable or disable. This patch documents the change in the FPGA Manager API functions, replacing the 'u32 flag' parameter with a pointer to struct fpga_image_info. Signed-off-by: Alan Tull --- v19: Added in v19 of this patchset v20: No change for this patch in v20 of patchset --- Documentation/fpga/fpga-mgr.txt | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/Documentation/fpga/fpga-mgr.txt b/Documentation/fpga/fpga-mgr.txt index ce3e84f..9227e3f 100644 --- a/Documentation/fpga/fpga-mgr.txt +++ b/Documentation/fpga/fpga-mgr.txt @@ -18,21 +18,25 @@ API Functions: To program the FPGA from a file or from a buffer: ------------------------------------------------- - int fpga_mgr_buf_load(struct fpga_manager *mgr, u32 flags, + int fpga_mgr_buf_load(struct fpga_manager *mgr, + struct fpga_image_info *info, const char *buf, size_t count); Load the FPGA from an image which exists as a buffer in memory. - int fpga_mgr_firmware_load(struct fpga_manager *mgr, u32 flags, + int fpga_mgr_firmware_load(struct fpga_manager *mgr, + struct fpga_image_info *info, const char *image_name); Load the FPGA from an image which exists as a file. The image file must be on -the firmware search path (see the firmware class documentation). - -For both these functions, flags == 0 for normal full reconfiguration or -FPGA_MGR_PARTIAL_RECONFIG for partial reconfiguration. If successful, the FPGA -ends up in operating mode. Return 0 on success or a negative error code. +the firmware search path (see the firmware class documentation). If successful, +the FPGA ends up in operating mode. Return 0 on success or a negative error +code. +A FPGA design contained in a FPGA image file will likely have particulars that +affect how the image is programmed to the FPGA. These are contained in struct +fpga_image_info. Currently the only such particular is a single flag bit +indicating whether the image is for full or partial reconfiguration. To get/put a reference to a FPGA manager: ----------------------------------------- @@ -70,8 +74,11 @@ struct device_node *mgr_node = ... char *buf = ... int count = ... +/* struct with information about the FPGA image to program. */ +struct fpga_image_info info; + /* flags indicates whether to do full or partial reconfiguration */ -int flags = 0; +info.flags = 0; int ret; @@ -79,7 +86,7 @@ int ret; struct fpga_manager *mgr = of_fpga_mgr_get(mgr_node); /* Load the buffer to the FPGA */ -ret = fpga_mgr_buf_load(mgr, flags, buf, count); +ret = fpga_mgr_buf_load(mgr, &info, buf, count); /* Release the FPGA manager */ fpga_mgr_put(mgr); @@ -96,8 +103,11 @@ struct device_node *mgr_node = ... /* FPGA image is in this file which is in the firmware search path */ const char *path = "fpga-image-9.rbf" +/* struct with information about the FPGA image to program. */ +struct fpga_image_info info; + /* flags indicates whether to do full or partial reconfiguration */ -int flags = 0; +info.flags = 0; int ret; @@ -105,7 +115,7 @@ int ret; struct fpga_manager *mgr = of_fpga_mgr_get(mgr_node); /* Get the firmware image (path) and load it to the FPGA */ -ret = fpga_mgr_firmware_load(mgr, flags, path); +ret = fpga_mgr_firmware_load(mgr, &info, path); /* Release the FPGA manager */ fpga_mgr_put(mgr);