HomeFreeBSD

Now that we have OF_decode_addr(), with proper MD implementations, to obtain

Description

Now that we have OF_decode_addr(), with proper MD implementations, to obtain
the bus space tag and handle for a uart console, use the values returned by
that routine to set the global uart_bus_space_mem, instead of assuming that
there will be a global variable named fdtbus_bs_tag to set it from.

Also, use OF_getencprop() instead calling fdt32_to_cpu() separately.

Details

Provenance
ianAuthored on
Parents
rS295908: Allow the size argument for law_enable() to be non-power-of-2.
Branches
Unknown
Tags
Unknown