freebsd-skq/sys/arm
ian b41cdbed24 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
..
allwinner Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
arm Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
at91 Move remaining code and data related to static device mapping into the 2013-11-04 22:45:26 +00:00
broadcom/bcm2835 Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
conf Properly quote the included filename, now that it has a dot in it. Doh. 2013-11-04 03:46:09 +00:00
econa Move remaining code and data related to static device mapping into the 2013-11-04 22:45:26 +00:00
freescale/imx Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
include Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
lpc Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
mv Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
rockchip Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
s3c2xx0 Move remaining code and data related to static device mapping into the 2013-11-04 22:45:26 +00:00
sa11x0 Move remaining code and data related to static device mapping into the 2013-11-04 22:45:26 +00:00
samsung/exynos Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
tegra Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
ti Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
versatile Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
xilinx Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
xscale Move remaining code and data related to static device mapping into the 2013-11-04 22:45:26 +00:00