freebsd-skq/sys/arm/tegra
Ian Lepore 515cbe8673 Call initarm_lastaddr() later in the init sequence, after establishing
static device mappings, rather than as the first of the initializations
that a platform can hook into.  This allows a platform to allocate KVA
from the top of the address space downwards for things like static device
mapping, and return the final "last usable address" result after that and
other early init work is done.

Because some platforms were doing work in initarm_lastaddr() that needs to
be done early, add a new initarm_early_init() routine and move the early
init code to that routine on those platforms.

Rename platform_devmap_init() to initarm_devmap_init() to match all the
other init routines called from initarm() that are designed to be
implemented by platform code.

Add a comment block that explains when these routines are called and the
type of work expected to be done in each of them.
2013-11-05 02:57:34 +00:00
..
bus_space.c
common.c
files.tegra2
std.tegra2 In the Tegra 2 standard config: 2012-09-16 08:00:29 +00:00
tegra2_machdep.c Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00