Optimize functions for templatized devfw calls.
Optimize functions for templatized devfw calls.

Change-Id: Ieaa874ba86244108bb30dc67fde638d9a78900db
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/138
Tested-by: Jenkins Server
Reviewed-by: Nicholas E. Bofferding <fb8db48116bc8a69e29dd8cdb037246f232f4af5@us.ibm.com>
Reviewed-by: Thi N. Tran <25a2bca7ae5a8ea03be09ca8d282480c08c13052@us.ibm.com>

alvintpwang/hostboot,alvintpwang/hostboot,alvintpwang/hostboot,Over-enthusiastic/hostboot,open-power/hostboot,Over-enthusiastic/hostboot,csmart/hostboot,open-power/hostboot,csmart/hostboot,open-power/hostboot,Over-enthusiastic/hostboot,open-power/hostboot,csmart/hostboot,open-power/hostboot,csmart/hostboot,Over-enthusiastic/hostboot,Over-enthusiastic/hostboot,alvintpwang/hostboot,alvintpwang/hostboot,csmart/hostboot