modify EC API name and remove useless flag
Merge pull request #1224 from huili2/ec_flag_modif

modify EC API name and remove useless flag