Removed or adapted obsolete code Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>
Added barefoot platform api 2.0 support Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>