move a few things to marvell-common