Move Common code to their respective header file.

Moved the common code and Refactored to
their respective header file so it helps
the better code readability in fb-ipmi-oem.

Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>
Change-Id: I241705a137ad5c2bb187407269024573c1640b24
2 files changed