Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965050AbcJQQZO (ORCPT ); Mon, 17 Oct 2016 12:25:14 -0400 Received: from mail-bn3nam01on0063.outbound.protection.outlook.com ([104.47.33.63]:29567 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932702AbcJQQYo (ORCPT ); Mon, 17 Oct 2016 12:24:44 -0400 X-Greylist: delayed 872 seconds by postgrey-1.27 at vger.kernel.org; Mon, 17 Oct 2016 12:24:43 EDT 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; Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=atull@opensource.altera.com; From: Alan Tull To: Rob Herring CC: Frank Rowand , Mark Rutland , Greg Kroah-Hartman , Moritz Fischer , Ian Campbell , Jon Masters , Michal Simek , Jonathan Corbet , "Cyril Chemparathy" , Matthew Gerlach , Dinh Nguyen , , , , , , Alan Tull 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 Content-Type: text/plain 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; 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?QUhh6GGirk7EHrf3ORv1zksmKd2BZnjCxIR/Rd1O/HlDUgRGr255DjS/AN/W?= =?us-ascii?Q?F+zxv/KwejASdkZ3OeJvXM5A3yx9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icmRiJXl82SIC4tmGj0cY+wPr1A5rUTuTfLbTbNxMtZb4oI0NxX0rywh4MWGkBWLYV9MjbKz9k+weVu/rZmxO9+VBhoTQ1OX3io+holeQonNPhBqYmMjiAXClA0mGO0pWToFfgVXWLFRJoVsRG0A08MtUevQOc8NgSt9UttKIAOw5wWF2+L9hBMDxmCWQ7amDdL3CqDPYa4BOwpzKGkNATjOLYSKfZrVosP93HbtLvRSWWLGrQ3UWQOaw1jOugUb1soVyZWpXDtolWSEpq0oc3nt9c=;5:mDbJgvbRWPj6g8U4EDGBFeuE6bM8k4y4irrhdxhn5eNsVChu1I9RqNMM5/HFd4V2fWul61KymYBx90p35PXJdfEVxciRQIXDwwWD0+at1ryaFvypgdIgxebeNzSYY41vCkSZNFUFZueEBQFdp/0TEg==;24:fTqFq/3Xyx4uNJlSN01oSVJBAHCBuz4FOIp3yFyuH4EubNJ9Mcs2SQG7MdoaOepb2uBuymMXUPSYbPufemIiaSnWQocDuLNtGhxxPTjTJmU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics-untrusted: 1;BN3PR03MB1512;7:VhtL7WhCAQQUFByUR56yogUb4Tko2aLmmdDA+M7B7NMP5iCKKOb0U6e7ZFE9AKMV9px7h2pQ+Sk/vTd0h8gmYUYrijyeDoDyKfTDq6Z5gMsL/pCQDIbxMZ7MtaB42QIEO0NSXPvboHBk+CVJKMD2lFF4h0DBntvwbmxiLvJ/sUpmwp3t140CaRKiMWwQCimzWRNp7UgdG5ll3cFIGCZ55+MS7eA4fwbNe72DPJ7dF9KnRCEH+6j7fPCfFu2W1VZy6KlPvjr8pgDl1knc1nHPexC6YRIAEeTBlyxyezIh9iJi38jFgTL8aAozmXgWvyurbjy2IOXfVzcevDFEc0xC/sMMKMwXrMAsKtd3X5GR+lM= X-MS-Exchange-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+SUjBBfMptJ8SWJWpVAqGIriYklMS3pGhMAS1Fv2TcY0/NfzJ4B3WMowrGeCF9KPXwOh/hZEOiwMi4DVq4LjmrH/fzYBpBq3VlEcuXUg1V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gBr84/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?43FjLADSffrbtjB3uc8WnpLzepEPLnp0HMdnm3Fc3VR3kH5rSQOn9v8nx8T+?= =?us-ascii?Q?BvZMGajOKfdSMVCjSPR0gWVXuCs5SogxGFzY2YxncPXIdfCYKsIxJUoMwIRl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VL/jtEPwuMlJ/h6YaEVNEC32lZrFSZW6BmmkRopjYBq1sMtNgq85P3DbCm6rh9RHwgBQQtMoCd9vd3SgwqVfpmzsUXKgdXS5sxzPkjVSzWj8eDcpc+ZfK146OGMR/As0ZGIOypSBchyp6WTnLpTcRnMj7NVuOskwZSps/kqfAS+kxMtzmVB6is6zJMSrk2uzbbZk8CzU2n7MCZg74rEjIlpWFZYbp4+p0uwhHlNmmLrLx3RiL5Ww2nzkmHh+Hr6BiWsNMP8kyRYFCAdiljrp7vZsv5csHrLfA6qnLp/yp/r1HavwotyqTUmCH7+1i79pkpCJ4P0zQLGASt5Wf+4LgI=;5:zdhJzevO49bGiiMYe63WnVhcHBhOL+Fu7iWoWOQpFZgISAXUbS0xjegJe39iUruc31R4BJRFo1ggOQ/hGpQRRCpTt3XxHTdMhosaPlnde8s8OsvTboo0k+gKiCzmUegPX9sxI1RkidBpob/0QKAOsw==;24:hDUAKtprd0qj+sbEh6Zti2iWily5hj+bsM5c0hlYzXJLOmppKWahAKm+oDW06Tx5/ZQXLhVCRjcTYB2/NXIsjd9HLA2C9iELag3LcHYgvc4= X-Microsoft-Exchange-Diagnostics: 1;BN3PR03MB1368;7:WT+ufUPVpgBpWHyMLz6nUVgx0gheFLP2cBluxJTwUmGY2CjS2JHerOrInZN6TampOT8dFHEpaKJxeSoktUPGrjd43MyPzGIKMuuUn6+LDiDttkHnhslnTRSi3YiClKabKuAJHUSV3KD4j7W0qwSjYBe+zCIJp2JMhZTYRNkHjXmeH281BZCt+N9UngrbtDtEad+pax+QjBDPaLXowlKbimOjbVBsQk/cJ6+X48S2vbIvt5asLHn07vLUmLQ7Ivzse67io6ChioMB6M0RpP8rJFmEAE0fNDGVsvabNAN2WsWGDfM5C2db1aDvIda/nZZnUf8NjyzkFy5DPn2mQm0jFA== X-OriginatorOrg: 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4047 Lines: 109 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); -- 2.10.1