0a562be887
Minor cleanup on var scopes in functions. Add support for prot selection. Signed-off-by: Ron Stone <ronald.stone@windriver.com> Change-Id: I9763a6d50631d357f7de11668b1f02d5cab898b1