The presence of the 802.15.4 radio peripheral is a feature of the CPU, not the board. Move it to the right place and reduce code duplication.