m7: move some BoardConfig defines to m7-common

Change-Id: I947ad1d81b96a0e630711a8cf11815169b8b7b13
(cherry picked from commit 065413b1aba13ba2a3522d2c9a2525762f55bcc3)