1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys/arm/xilinx
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
..
zedboard
files.zynq7
std.zynq7
uart_dev_cdnc.c
zy7_bus_space.c
zy7_devcfg.c
zy7_ehci.c
zy7_gpio.c
zy7_l2cache.c
zy7_machdep.c Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
zy7_reg.h
zy7_slcr.c
zy7_slcr.h