Merge "st-hal: check barge in support flag before update ec"