]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Convert Freescale PowerPC platforms to FDT convention.
authorraj <raj@FreeBSD.org>
Sun, 11 Jul 2010 21:08:29 +0000 (21:08 +0000)
committerraj <raj@FreeBSD.org>
Sun, 11 Jul 2010 21:08:29 +0000 (21:08 +0000)
commit6496d826ccfca6b78860dfa86efcb3f96cb6053f
tree827f9dce3768613a609f3a9e594b123936ec2e0e
parent710dc13ac9dfbfa4fead6e52f9efb9e7b6af119e
Convert Freescale PowerPC platforms to FDT convention.

The following systems are affected:

  - MPC8555CDS
  - MPC8572DS

This overhaul covers the following major changes:

  - All integrated peripherals drivers for Freescale MPC85XX SoC, which are
    currently in the FreeBSD source tree are reworked and adjusted so they
    derive config data out of the device tree blob (instead of hard coded /
    tabelarized values).

  - This includes: LBC, PCI / PCI-Express, I2C, DS1553, OpenPIC, TSEC, SEC,
    QUICC, UART, CFI.

  - Thanks to the common FDT infrastrucutre (fdtbus, simplebus) we retire
    ocpbus(4) driver, which was based on hard-coded config data.

Note that world for these platforms has to be built WITH_FDT.

Reviewed by: imp
Sponsored by: The FreeBSD Foundation
35 files changed:
sys/conf/Makefile.powerpc
sys/conf/files.powerpc
sys/dev/cfi/cfi_bus_fdt.c [moved from sys/dev/cfi/cfi_bus_lbc.c with 77% similarity]
sys/dev/fdt/fdt_pci.c
sys/dev/quicc/quicc_bfe_fdt.c [moved from sys/dev/quicc/quicc_bfe_ocp.c with 79% similarity]
sys/dev/sec/sec.c
sys/dev/tsec/if_tsec.c
sys/dev/tsec/if_tsec.h
sys/dev/tsec/if_tsec_fdt.c [moved from sys/dev/tsec/if_tsec_ocp.c with 80% similarity]
sys/dev/uart/uart_bus_ocp.c [deleted file]
sys/dev/uart/uart_cpu_powerpc.c
sys/powerpc/booke/locore.S
sys/powerpc/booke/machdep.c
sys/powerpc/booke/platform_bare.c
sys/powerpc/booke/pmap.c
sys/powerpc/conf/MPC85XX
sys/powerpc/include/bootinfo.h [deleted file]
sys/powerpc/include/fdt.h [new file with mode: 0644]
sys/powerpc/include/metadata.h
sys/powerpc/include/ocpbus.h [deleted file]
sys/powerpc/mpc85xx/atpic.c
sys/powerpc/mpc85xx/ds1553_bus_fdt.c [moved from sys/powerpc/mpc85xx/ds1553_bus_lbc.c with 91% similarity]
sys/powerpc/mpc85xx/i2c.c
sys/powerpc/mpc85xx/lbc.c
sys/powerpc/mpc85xx/lbc.h
sys/powerpc/mpc85xx/mpc85xx.c
sys/powerpc/mpc85xx/mpc85xx.h
sys/powerpc/mpc85xx/nexus.c
sys/powerpc/mpc85xx/ocpbus.c [deleted file]
sys/powerpc/mpc85xx/ocpbus.h [deleted file]
sys/powerpc/mpc85xx/openpic_fdt.c [new file with mode: 0644]
sys/powerpc/mpc85xx/opic.c [deleted file]
sys/powerpc/mpc85xx/pci_fdt.c [new file with mode: 0644]
sys/powerpc/mpc85xx/pci_ocp.c [deleted file]
sys/powerpc/powerpc/intr_machdep.c