Rational: the periph_common module is required by (most) other periph drivers
and also during startup of the CPU/MCU to run periph_init. The latter is only
required if other periph drivers are used, hence periph_common should be a
depency of periph_* modules and *not* of the CPU/MCU. This PR fixes that
by making periph_common a depency of periph_* and removing the explicit
include in the CPU/MCU implementation.
In CPU definitions we should not be explicilty naming peripheral modules to use
via USEMODULE (one should use FEATURES_PROVIDED instead).
Plus add missing cpu_init() and periph_init() methods.
This commit removes periph_hwrng support from the pic32mx cpu builds as
pic32mx does not have hwrng only pic32mz does.
Compilation for pic32mx and pic32mz did not include the path
to cpu/mips_pic32_common/include. Also,
cpu/mips_pic32_common/Makefile.include was never parsed. It was
found that mips32r2_common and mips_pic32_common are both defining
similar parameters for linkers which cause issues if both
Makefile.include get parsed.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>