diff options
author | ian <ian@FreeBSD.org> | 2014-05-15 17:30:16 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-05-15 17:30:16 +0000 |
commit | 1e3130abad8238f721742fec6f1344d69dfc799a (patch) | |
tree | 02c63d840ed8c9a1ca98f1fd2391c32f3d2be191 /sys/powerpc/ofw | |
parent | fa992863d2953ae935e914366aeafac44ad9d005 (diff) | |
download | FreeBSD-src-1e3130abad8238f721742fec6f1344d69dfc799a.zip FreeBSD-src-1e3130abad8238f721742fec6f1344d69dfc799a.tar.gz |
MFC r261423, r261424, r261516, r261513, r261562, r261563, r261564, r261565,
r261596, r261606
Add the imx sdhci controller.
Move Open Firmware device root on PowerPC, ARM, and MIPS systems to
a sub-node of nexus (ofwbus) rather than direct attach under nexus. This
fixes FDT on x86 and will make coexistence with ACPI on ARM systems easier.
SPARC is unchanged.
Add the missing ')' at end of sentence. Reword it to use a more common idiom.
Pass the kernel physical address to initarm through the boot param struct.
Make functions only used in vfp.c static, and remove vfp_enable.
Fix __syscall on armeb EABI. As it returns a 64-bit value it needs to
place 32-bit data in r1, not r0. 64-bit data is already packed correctly.
Use abp_physaddr for the physical address over KERNPHYSADDR. This helps us
remove the need to load the kernel at a fixed address.
Remove references to PHYSADDR where it's used only in debugging output.
Dynamically generate the page table. This will allow us to detect the
physical address we are loaded at to change the mapping.
Diffstat (limited to 'sys/powerpc/ofw')
-rw-r--r-- | sys/powerpc/ofw/ofw_cpu.c | 2 | ||||
-rw-r--r-- | sys/powerpc/ofw/openpic_ofw.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/ofw/ofw_cpu.c b/sys/powerpc/ofw/ofw_cpu.c index 6cc6484..e830e3e 100644 --- a/sys/powerpc/ofw/ofw_cpu.c +++ b/sys/powerpc/ofw/ofw_cpu.c @@ -74,7 +74,7 @@ static driver_t ofw_cpulist_driver = { static devclass_t ofw_cpulist_devclass; -DRIVER_MODULE(ofw_cpulist, nexus, ofw_cpulist_driver, ofw_cpulist_devclass, +DRIVER_MODULE(ofw_cpulist, ofwbus, ofw_cpulist_driver, ofw_cpulist_devclass, 0, 0); static int diff --git a/sys/powerpc/ofw/openpic_ofw.c b/sys/powerpc/ofw/openpic_ofw.c index 0e85dda..65b2b89 100644 --- a/sys/powerpc/ofw/openpic_ofw.c +++ b/sys/powerpc/ofw/openpic_ofw.c @@ -90,7 +90,7 @@ static driver_t openpic_ofw_driver = { sizeof(struct openpic_softc), }; -DRIVER_MODULE(openpic, nexus, openpic_ofw_driver, openpic_devclass, 0, 0); +DRIVER_MODULE(openpic, ofwbus, openpic_ofw_driver, openpic_devclass, 0, 0); DRIVER_MODULE(openpic, simplebus, openpic_ofw_driver, openpic_devclass, 0, 0); DRIVER_MODULE(openpic, macio, openpic_ofw_driver, openpic_devclass, 0, 0); |