The "#address-cells" and "#size-cells" properties define the size
authorpatrick <patrick@openbsd.org>
Wed, 13 Jul 2016 20:42:44 +0000 (20:42 +0000)
committerpatrick <patrick@openbsd.org>
Wed, 13 Jul 2016 20:42:44 +0000 (20:42 +0000)
commit5586125e6602058ecac077589fade48f0386bd34
treed1a4df06835fb41ae9d1edf6b6007adaa0786fc6
parent6b2227a6d253652180615faaccc739495d250042
The "#address-cells" and "#size-cells" properties define the size
of the memory address and length information.  The root node passes
this information down to the children and it can be overwritten by
other nodes inbetween.  Pass these properties as part of the fdt
attach args, so that we can grab that information quickly inside
the drivers.

ok kettenis@
sys/arch/arm/include/fdt.h
sys/arch/arm/mainbus/mainbus.c
sys/arch/arm/simplebus/simplebus.c