Skip to content
Commit 18258f0c authored by Potin Lai's avatar Potin Lai Committed by Patrick Williams
Browse files

meta-facebook: add ability to set remote-addr in ipmb config



Some platforms will need to assign different remote-addr for each
channel. Add a IPMB_REMOTE_ADDR for assigning remote-addr for each
corresponding channel instead of assign fixed remote-addr to all
channels.

If the size of IPMB_REMOTE_ADDR not consistent and less than the size
of IPMB_CHANNEL, the remote-addr will be filled with 64 for the
channels does not assigned.

Test results of tiogapass:
```
{
    "channels": [
        {
            "type": "ipmb",
            "slave-path": "/dev/ipmb-4",
            "bmc-addr": 32,
            "remote-addr": "44",
            "devIndex": 0
        },
        {
            "type": "ipmb",
            "slave-path": "/dev/ipmb-9",
            "bmc-addr": 32,
            "remote-addr": "96",
            "devIndex": 1
        }
    ]
}
```

Signed-off-by: default avatarPotin Lai <potin.lai@quantatw.com>
Change-Id: I785201c2c643cf6aa7b83e61df9601ae581f34ad
parent acae1a1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment