pg_plat_hw_rank
if (pg_plat_hw_rank(hw1, hw2) == hw1)
extern pghw_type_t pg_plat_hw_rank(pghw_type_t, pghw_type_t);