freebsd-skq/sys/conf/options.powerpc
jhibbits 7e83a1e31c 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

36 lines
499 B
Plaintext

# $FreeBSD$
# Options specific to the powerpc platform kernels
AIM opt_global.h
BOOKE opt_global.h
BOOKE_E500 opt_global.h
BOOKE_PPC4XX opt_global.h
CELL
POWERPC
POWERPC64
FPU_EMU
COMPAT_FREEBSD32 opt_compat.h
GFB_DEBUG opt_gfb.h
GFB_NO_FONT_LOADING opt_gfb.h
GFB_NO_MODE_CHANGE opt_gfb.h
MPC85XX opt_platform.h
POWERMAC opt_platform.h
PS3 opt_platform.h
MAMBO
PSERIES
PSIM
SC_OFWFB opt_ofwfb.h
OFWCONS_POLL_HZ opt_ofw.h
# AGP debugging support
AGP_DEBUG opt_agp.h
MIKROTIK