TCPMv2: Refactor PD 3.0 check into FRS enable
TCPMv2: Refactor PD 3.0 check into FRS enable

To reduce code indenting, add the check for CONFIG_USB_PD_REV30 into the
pe_set_frs_enable function.  Also move typec current limit setting into
the FRS enable function.

BRANCH=None
BUG=None
TEST=make -j buildall

Signed-off-by: Diana Z <cb2016afc7183e5356c690dc63b4ba817470501a@chromium.org>
Change-Id: Id272c40c447c799f299fb59294c77a1603ccc1c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2692028
Reviewed-by: Keith Short <f6d578f97033c25f1206cb57d52f358974c82954@chromium.org>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec