Instead of passing the raw reg property to simplebus nodes,
authorpatrick <patrick@openbsd.org>
Wed, 27 Jul 2016 11:45:02 +0000 (11:45 +0000)
committerpatrick <patrick@openbsd.org>
Wed, 27 Jul 2016 11:45:02 +0000 (11:45 +0000)
commitac7c670e22cf9895ac879f0332e94ba5d46d5a76
treecc0c0501c5aebde39a16eaa03b5ae79e1f70c4f1
parentc14b15a260696d7ce91ad6f020950b2db4c1920c
Instead of passing the raw reg property to simplebus nodes,
pass a pre-processed array of fdt_reg structs.  This means
that the drivers don't have to understand the cell properties
themselves but can rely on the 64-bit addr/size pairs.

ok kettenis@
17 files changed:
sys/arch/arm/include/fdt.h
sys/arch/arm/simplebus/simplebus.c
sys/arch/armv7/imx/if_fec.c
sys/arch/armv7/imx/imxahci.c
sys/arch/armv7/imx/imxdog.c
sys/arch/armv7/imx/imxehci.c
sys/arch/armv7/imx/imxesdhc.c
sys/arch/armv7/imx/imxgpio.c
sys/arch/armv7/imx/imxiic.c
sys/arch/armv7/imx/imxuart.c
sys/arch/armv7/omap/if_cpsw.c
sys/arch/armv7/omap/omap_com.c
sys/arch/armv7/omap/omdog.c
sys/arch/armv7/omap/ommmc.c
sys/arch/armv7/omap/ti_iic.c
sys/arch/armv7/sunxi/sxie.c
sys/arch/armv7/sunxi/sxiuart.c