summaryrefslogtreecommitdiffstats
path: root/tools/lpc.hpp
Commit message (Collapse)AuthorAgeFilesLines
* tools: add progress implementationPatrick Venture2019-06-281-1/+5
| | | | | Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I9da1674d6cbc688efc7bab0e033788d6ee4694f7
* tools: remove phosphor-ipmi-blobs dependencyPatrick Venture2019-06-271-2/+2
| | | | | | | | | | The host tool depended on the BMC header: firmware_handler.hpp because it defined the flags. This header depends on phosphor-ipmi-blobs, therefore the host-tool depends on this. Move the flags into a separate common header file and snip this dependency. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Id2ad33a1611c02605a1ed5c695429d0451eb98d4
* tools: specify parameter size limits for LPCPatrick Venture2019-06-201-3/+3
| | | | | Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ic7049ffc2a3c4e7dad3356e11f48f6e5ed8eeca1
* tool: LPC data handler needs an address and lengthPatrick Venture2019-06-191-1/+4
| | | | | | | | The host needs to have memory set aside for this purpose, and this enables the caller to provide those values. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: If40ec3b08bd1932cba91d3f770c7fde6f280463d
* bmc: move away from blobs namespacePatrick Venture2019-05-201-2/+2
| | | | | | | | The blobs namespace is really owned by phosphor-ipmi-blobs. Move all phosphor-ipmi-flash objects into ipmi_flash namespace. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I51b721ad4f3cdc4cc43846c942967ed2e5f16589
* use ipmiblob library from ipmi-blob-toolPatrick Venture2019-03-081-3/+3
| | | | | | | | | | Drop all code that is now handled by the ipmiblob library provided by the new ipmi-blob-tool. This is a library that can be included on the BMC if necessary, but relies on nothing that is strictly meant for the BMC. Change-Id: Iadbf0bd89c58cafc436fba05ea43e21c49e2b669 Signed-off-by: Patrick Venture <venture@google.com>
* tools: tie devmem io handler into lpc handlerPatrick Venture2019-01-221-2/+4
| | | | | | | The lpc handler requires mapping memory on the host. Change-Id: Ic851dfa6c06d10566f66153ce7915cf5ad66992b Signed-off-by: Patrick Venture <venture@google.com>
* tools: lpc configuration structure is packedPatrick Venture2019-01-221-1/+1
| | | | | | | Pack the configuration structure. Change-Id: Ib0a2ad82c0afae2a1883a492b60da286a8776dd7 Signed-off-by: Patrick Venture <venture@google.com>
* tools: lpc: add internal/sys to handlerPatrick Venture2019-01-221-1/+6
| | | | | | | | The lpc data handler will need a syscall handle. Add the syscall interface. Change-Id: I8a9f687e9457709e2d0f0fca3e712719fa106e80 Signed-off-by: Patrick Venture <venture@google.com>
* tools: minor cleanup, drop member return inlinePatrick Venture2019-01-221-3/+1
| | | | | | | | Return the value from within the function instead of storing it in a class member. Change-Id: I8ee96d0c8bfff91fd9b14797de5a388456ef142d Signed-off-by: Patrick Venture <venture@google.com>
* tools: lpc: start implementation, send metadataPatrick Venture2019-01-221-0/+10
| | | | | | | | | | With the LPC interface, send the window information to the BMC. Tested: Ran on test system and verified window mapped via ioctl to driver as expected. Change-Id: I7ffac6b52205b215fd698a574d098b505091c3d4 Signed-off-by: Patrick Venture <venture@google.com>
* tools: put all host-side code into host_tool namespacePatrick Venture2019-01-041-0/+5
| | | | | | | | To avoid confusion and organize the code itself more cleanly, place the host-side code into its own namespace. Change-Id: I573eb0494eb59874adb1d1eadc502499e928e396 Signed-off-by: Patrick Venture <venture@google.com>
* tools: add data interface typePatrick Venture2018-12-131-0/+6
| | | | | | | | Add data interface type to the object, to allow checking against what stat() returns. Change-Id: I72aed1ffbca63dbfb003359c4bbe570f966a8649 Signed-off-by: Patrick Venture <venture@google.com>
* tools: start implementing blob interfacePatrick Venture2018-12-121-1/+5
| | | | | | | | Start implementing blob interface to handle sending BLOB protocol commands. Change-Id: I9eeb6c1b6f49d9b0332e156e02476e2b07850d64 Signed-off-by: Patrick Venture <venture@google.com>
* tools: start implementing data interfacePatrick Venture2018-12-111-0/+11
The host must provide multiple data interfaces. Each data interface is responsible for configuring its data pathway and sending the contents via this pathway, as well as any flow control. Change-Id: If856519536d01043e69c45044fcd0ad525592486 Signed-off-by: Patrick Venture <venture@google.com>
OpenPOWER on IntegriCloud