freebsd-skq/sys/powerpc/mpc85xx
Justin Hibbits 6cedae09a2 Merge MPC85XX and QorIQ config options
Summary:
MPC85XX and QorIQ are very similar.  When the DPAA dTSEC driver was
added, QORIQ_DPAA was brought in as a config option to support the differences
in hardware register settings between QorIQ (e500mc-, e5500- based) SoCs and
QUICC (e500v1/e500v2-based) SoCs, particularly in the Local Access Window (LAW)
target settings.

Unify these settings using macros to hide details and ease porting, and use a
new function (mpc85xx_is_qoriq()) to distinguish between QorIQ and QUICC SoCs at
runtime.

An alternative to using the function could be to use a variable initialized at
platform attach time, which may incur less overhead at runtime.  Since it's not
in the critical path once booted, this optimization doesn't seem necessary at
first pass.

Reviewed by: nwhitehorn
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D7294
2016-08-03 01:22:11 +00:00
..
atpic.c
ds1553_bus_fdt.c
ds1553_core.c
ds1553_reg.h
fsl_sdhc.c sys/powerpc: make use of the howmany() macro when available. 2016-04-26 14:44:49 +00:00
fsl_sdhc.h
i2c.c Make i2c device child auto-probe work for MPC85xx and QorIQ SoCs. 2016-04-05 02:27:01 +00:00
isa.c Introduce a RMAN_IS_DEFAULT_RANGE() macro, and use it. 2016-02-20 01:32:58 +00:00
lbc.c Unbreak the LBC driver, broken with the large RMan and 36-bit physical address changes. 2016-07-05 06:14:23 +00:00
lbc.h
mpc85xx_gpio.c
mpc85xx.c Merge MPC85XX and QorIQ config options 2016-08-03 01:22:11 +00:00
mpc85xx.h Merge MPC85XX and QorIQ config options 2016-08-03 01:22:11 +00:00
pci_mpc85xx_pcib.c Modernize mpc85xx PCI hostbridge driver. 2015-11-22 01:16:43 +00:00
pci_mpc85xx.c Merge MPC85XX and QorIQ config options 2016-08-03 01:22:11 +00:00
platform_mpc85xx.c Merge MPC85XX and QorIQ config options 2016-08-03 01:22:11 +00:00
qoriq_gpio.c Add another compatibility check for QorIQ GPIO driver. 2016-03-01 03:41:48 +00:00