| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I9da1674d6cbc688efc7bab0e033788d6ee4694f7
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ic7049ffc2a3c4e7dad3356e11f48f6e5ed8eeca1
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
The lpc handler requires mapping memory on the host.
Change-Id: Ic851dfa6c06d10566f66153ce7915cf5ad66992b
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
|
|
| |
Pack the configuration structure.
Change-Id: Ib0a2ad82c0afae2a1883a492b60da286a8776dd7
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
|
|
|
| |
The lpc data handler will need a syscall handle. Add the syscall
interface.
Change-Id: I8a9f687e9457709e2d0f0fca3e712719fa106e80
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
Start implementing blob interface to handle sending BLOB protocol
commands.
Change-Id: I9eeb6c1b6f49d9b0332e156e02476e2b07850d64
Signed-off-by: Patrick Venture <venture@google.com>
|
|
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>
|