Revert "Revert "update flags in BoardConfigCommon""

This reverts commit 16ae73d08b6c47a559c46338c7d3b6e55dac8bbc.