Make board attaching table driven and move it out into the soc
authorjsg <jsg@openbsd.org>
Fri, 15 May 2015 15:35:43 +0000 (15:35 +0000)
committerjsg <jsg@openbsd.org>
Fri, 15 May 2015 15:35:43 +0000 (15:35 +0000)
commit2cb278da88680d8392df5614cda2dd4a3daeb4e6
treeb11bcfa9ab6077300db3c7152e07ad4ab8d75698
parenta8b2c029b889f2d77ce04c349c9616448463b834
Make board attaching table driven and move it out into the soc
directories.  Move the device tables while here as was done in bitrig.
With these changes the only use of the board id defines is in the soc
directories.

Tested by matthieu and djm on imx and myself on omap and sunxi (qemu).
ok djm@, ok jasper@ on an earlier version
16 files changed:
sys/arch/armv7/armv7/armv7.c
sys/arch/armv7/armv7/armv7_machdep.c
sys/arch/armv7/armv7/armv7_machdep.h
sys/arch/armv7/armv7/armv7var.h
sys/arch/armv7/armv7/autoconf.c
sys/arch/armv7/exynos/exynos.c
sys/arch/armv7/exynos/exynos_machdep.c
sys/arch/armv7/imx/files.imx
sys/arch/armv7/imx/imx.c
sys/arch/armv7/imx/imx_machdep.c
sys/arch/armv7/omap/files.omap
sys/arch/armv7/omap/omap.c
sys/arch/armv7/omap/omap_machdep.c
sys/arch/armv7/sunxi/files.sunxi
sys/arch/armv7/sunxi/sunxi.c
sys/arch/armv7/sunxi/sunxi_machdep.c