License cleanup: add SPDX GPL-2.0 license identifier to files with no license
Many source files in the tree are missing licensing information, which
makes it harder for compliance tools to determine the correct license.
By default all files without license information are under the default
license of the kernel, which is GPL version 2.
Update the files which contain no license information with the 'GPL-2.0'
SPDX license identifier. The SPDX identifier is a legally binding
shorthand, which can be used instead of the full boiler plate text.
This patch is based on work done by Thomas Gleixner and Kate Stewart and
Philippe Ombredanne.
How this work was done:
Patches were generated and checked against linux-4.14-rc6 for a subset of
the use cases:
- file had no licensing information it it.
- file was a */uapi/* one with no licensing information in it,
- file was a */uapi/* one with existing licensing information,
Further patches will be generated in subsequent months to fix up cases
where non-standard license headers were used, and references to license
had to be inferred by heuristics based on keywords.
The analysis to determine which SPDX License Identifier to be applied to
a file was done in a spreadsheet of side by side results from of the
output of two independent scanners (ScanCode & Windriver) producing SPDX
tag:value files created by Philippe Ombredanne. Philippe prepared the
base worksheet, and did an initial spot review of a few 1000 files.
The 4.13 kernel was the starting point of the analysis with 60,537 files
assessed. Kate Stewart did a file by file comparison of the scanner
results in the spreadsheet to determine which SPDX license identifier(s)
to be applied to the file. She confirmed any determination that was not
immediately clear with lawyers working with the Linux Foundation.
Criteria used to select files for SPDX license identifier tagging was:
- Files considered eligible had to be source code files.
- Make and config files were included as candidates if they contained >5
lines of source
- File already had some variant of a license header in it (even if <5
lines).
All documentation files were explicitly excluded.
The following heuristics were used to determine which SPDX license
identifiers to apply.
- when both scanners couldn't find any license traces, file was
considered to have no license information in it, and the top level
COPYING file license applied.
For non */uapi/* files that summary was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 11139
and resulted in the first patch in this series.
If that file was a */uapi/* path one, it was "GPL-2.0 WITH
Linux-syscall-note" otherwise it was "GPL-2.0". Results of that was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 WITH Linux-syscall-note 930
and resulted in the second patch in this series.
- if a file had some form of licensing information in it, and was one
of the */uapi/* ones, it was denoted with the Linux-syscall-note if
any GPL family license was found in the file or had no licensing in
it (per prior point). Results summary:
SPDX license identifier # files
---------------------------------------------------|------
GPL-2.0 WITH Linux-syscall-note 270
GPL-2.0+ WITH Linux-syscall-note 169
((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) 21
((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 17
LGPL-2.1+ WITH Linux-syscall-note 15
GPL-1.0+ WITH Linux-syscall-note 14
((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) 5
LGPL-2.0+ WITH Linux-syscall-note 4
LGPL-2.1 WITH Linux-syscall-note 3
((GPL-2.0 WITH Linux-syscall-note) OR MIT) 3
((GPL-2.0 WITH Linux-syscall-note) AND MIT) 1
and that resulted in the third patch in this series.
- when the two scanners agreed on the detected license(s), that became
the concluded license(s).
- when there was disagreement between the two scanners (one detected a
license but the other didn't, or they both detected different
licenses) a manual inspection of the file occurred.
- In most cases a manual inspection of the information in the file
resulted in a clear resolution of the license that should apply (and
which scanner probably needed to revisit its heuristics).
- When it was not immediately clear, the license identifier was
confirmed with lawyers working with the Linux Foundation.
- If there was any question as to the appropriate license identifier,
the file was flagged for further research and to be revisited later
in time.
In total, over 70 hours of logged manual review was done on the
spreadsheet to determine the SPDX license identifiers to apply to the
source files by Kate, Philippe, Thomas and, in some cases, confirmation
by lawyers working with the Linux Foundation.
Kate also obtained a third independent scan of the 4.13 code base from
FOSSology, and compared selected files where the other two scanners
disagreed against that SPDX file, to see if there was new insights. The
Windriver scanner is based on an older version of FOSSology in part, so
they are related.
Thomas did random spot checks in about 500 files from the spreadsheets
for the uapi headers and agreed with SPDX license identifier in the
files he inspected. For the non-uapi files Thomas did random spot checks
in about 15000 files.
In initial set of patches against 4.14-rc6, 3 files were found to have
copy/paste license identifier errors, and have been fixed to reflect the
correct identifier.
Additionally Philippe spent 10 hours this week doing a detailed manual
inspection and review of the 12,461 patched files from the initial patch
version early this week with:
- a full scancode scan run, collecting the matched texts, detected
license ids and scores
- reviewing anything where there was a license detected (about 500+
files) to ensure that the applied SPDX license was correct
- reviewing anything where there was no detection but the patch license
was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied
SPDX license was correct
This produced a worksheet with 20 files needing minor correction. This
worksheet was then exported into 3 different .csv files for the
different types of files to be modified.
These .csv files were then reviewed by Greg. Thomas wrote a script to
parse the csv files and add the proper SPDX tag to the file, in the
format that the file expected. This script was further refined by Greg
based on the output to detect more types of files automatically and to
distinguish between header and source .c files (which need different
comment types.) Finally Greg ran the script using the .csv files to
generate the patches.
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-01 22:07:57 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2007-03-16 22:32:17 +08:00
|
|
|
menu "Platform support"
|
|
|
|
|
2011-09-20 01:44:52 +08:00
|
|
|
source "arch/powerpc/platforms/powernv/Kconfig"
|
2007-03-16 22:32:17 +08:00
|
|
|
source "arch/powerpc/platforms/pseries/Kconfig"
|
|
|
|
source "arch/powerpc/platforms/chrp/Kconfig"
|
2008-01-29 01:28:53 +08:00
|
|
|
source "arch/powerpc/platforms/512x/Kconfig"
|
2007-03-16 22:32:17 +08:00
|
|
|
source "arch/powerpc/platforms/52xx/Kconfig"
|
|
|
|
source "arch/powerpc/platforms/powermac/Kconfig"
|
|
|
|
source "arch/powerpc/platforms/maple/Kconfig"
|
|
|
|
source "arch/powerpc/platforms/pasemi/Kconfig"
|
2007-04-13 07:01:34 +08:00
|
|
|
source "arch/powerpc/platforms/ps3/Kconfig"
|
|
|
|
source "arch/powerpc/platforms/cell/Kconfig"
|
2007-04-13 06:35:54 +08:00
|
|
|
source "arch/powerpc/platforms/8xx/Kconfig"
|
2007-04-13 05:53:32 +08:00
|
|
|
source "arch/powerpc/platforms/82xx/Kconfig"
|
2007-04-13 04:46:21 +08:00
|
|
|
source "arch/powerpc/platforms/83xx/Kconfig"
|
2007-04-13 06:44:07 +08:00
|
|
|
source "arch/powerpc/platforms/85xx/Kconfig"
|
2007-04-13 04:41:26 +08:00
|
|
|
source "arch/powerpc/platforms/86xx/Kconfig"
|
2007-04-13 07:01:34 +08:00
|
|
|
source "arch/powerpc/platforms/embedded6xx/Kconfig"
|
2007-05-08 12:10:01 +08:00
|
|
|
source "arch/powerpc/platforms/44x/Kconfig"
|
2007-09-07 20:51:24 +08:00
|
|
|
source "arch/powerpc/platforms/40x/Kconfig"
|
2009-02-10 20:20:49 +08:00
|
|
|
source "arch/powerpc/platforms/amigaone/Kconfig"
|
2007-03-16 22:32:17 +08:00
|
|
|
|
2010-07-29 20:47:57 +08:00
|
|
|
config KVM_GUEST
|
|
|
|
bool "KVM Guest support"
|
2011-08-05 01:23:58 +08:00
|
|
|
default n
|
2012-03-15 18:52:13 +08:00
|
|
|
select EPAPR_PARAVIRT
|
2010-07-29 20:47:57 +08:00
|
|
|
---help---
|
|
|
|
This option enables various optimizations for running under the KVM
|
|
|
|
hypervisor. Overhead for the kernel when not running inside KVM should
|
|
|
|
be minimal.
|
|
|
|
|
|
|
|
In case of doubt, say Y
|
|
|
|
|
2012-03-15 18:52:13 +08:00
|
|
|
config EPAPR_PARAVIRT
|
|
|
|
bool "ePAPR para-virtualization support"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enables ePAPR para-virtualization support for guests.
|
|
|
|
|
|
|
|
In case of doubt, say Y
|
|
|
|
|
2007-03-16 22:32:17 +08:00
|
|
|
config PPC_NATIVE
|
|
|
|
bool
|
2009-03-11 01:53:27 +08:00
|
|
|
depends on 6xx || PPC64
|
2007-03-16 22:32:17 +08:00
|
|
|
help
|
|
|
|
Support for running natively on the hardware, i.e. without
|
|
|
|
a hypervisor. This option is not user-selectable but should
|
|
|
|
be selected by all platforms that need it.
|
|
|
|
|
2009-03-11 01:53:27 +08:00
|
|
|
config PPC_OF_BOOT_TRAMPOLINE
|
|
|
|
bool "Support booting from Open Firmware or yaboot"
|
|
|
|
depends on 6xx || PPC64
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Support from booting from Open Firmware or yaboot using an
|
|
|
|
Open Firmware client interface. This enables the kernel to
|
2011-04-05 06:04:46 +08:00
|
|
|
communicate with open firmware to retrieve system information
|
2009-03-11 01:53:27 +08:00
|
|
|
such as the device tree.
|
|
|
|
|
|
|
|
In case of doubt, say Y
|
|
|
|
|
2017-06-08 14:29:59 +08:00
|
|
|
config PPC_DT_CPU_FTRS
|
|
|
|
bool "Device-tree based CPU feature discovery & setup"
|
|
|
|
depends on PPC_BOOK3S_64
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This enables code to use a new device tree binding for describing CPU
|
|
|
|
compatibility and features. Saying Y here will attempt to use the new
|
|
|
|
binding if the firmware provides it. Currently only the skiboot
|
|
|
|
firmware provides this binding.
|
|
|
|
If you're not sure say Y.
|
|
|
|
|
2007-03-16 22:32:17 +08:00
|
|
|
config UDBG_RTAS_CONSOLE
|
|
|
|
bool "RTAS based debug console"
|
|
|
|
depends on PPC_RTAS
|
|
|
|
default n
|
|
|
|
|
2011-05-11 03:29:42 +08:00
|
|
|
config PPC_SMP_MUXED_IPI
|
|
|
|
bool
|
|
|
|
help
|
2017-09-26 11:47:59 +08:00
|
|
|
Select this option if your platform supports SMP and your
|
2011-05-11 03:29:42 +08:00
|
|
|
interrupt controller provides less than 4 interrupts to each
|
|
|
|
cpu. This will enable the generic code to multiplex the 4
|
|
|
|
messages on to one ipi.
|
|
|
|
|
2008-01-18 08:05:31 +08:00
|
|
|
config IPIC
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2007-04-13 07:01:34 +08:00
|
|
|
config MPIC
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2013-04-09 10:22:30 +08:00
|
|
|
config MPIC_TIMER
|
|
|
|
bool "MPIC Global Timer"
|
|
|
|
depends on MPIC && FSL_SOC
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
The MPIC global timer is a hardware timer inside the
|
|
|
|
Freescale PIC complying with OpenPIC standard. When the
|
|
|
|
specified interval times out, the hardware timer generates
|
|
|
|
an interrupt. The driver currently is only tested on fsl
|
|
|
|
chip, but it can potentially support other global timers
|
|
|
|
complying with the OpenPIC standard.
|
|
|
|
|
2013-04-09 10:22:32 +08:00
|
|
|
config FSL_MPIC_TIMER_WAKEUP
|
|
|
|
tristate "Freescale MPIC global timer wakeup driver"
|
|
|
|
depends on FSL_SOC && MPIC_TIMER && PM
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
The driver provides a way to wake up the system by MPIC
|
|
|
|
timer.
|
|
|
|
e.g. "echo 5 > /sys/devices/system/mpic/timer_wakeup"
|
|
|
|
|
2011-05-19 21:54:28 +08:00
|
|
|
config PPC_EPAPR_HV_PIC
|
|
|
|
bool
|
|
|
|
default n
|
2012-07-03 13:48:54 +08:00
|
|
|
select EPAPR_PARAVIRT
|
2011-05-19 21:54:28 +08:00
|
|
|
|
2007-04-13 07:01:34 +08:00
|
|
|
config MPIC_WEIRD
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2012-02-17 10:49:03 +08:00
|
|
|
config MPIC_MSGR
|
|
|
|
bool "MPIC message register support"
|
|
|
|
depends on MPIC
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enables support for the MPIC message registers. These
|
|
|
|
registers are used for inter-processor communication.
|
|
|
|
|
2007-04-13 07:01:34 +08:00
|
|
|
config PPC_I8259
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2007-03-16 22:32:17 +08:00
|
|
|
config U3_DART
|
|
|
|
bool
|
2009-03-11 01:53:27 +08:00
|
|
|
depends on PPC64
|
2007-03-16 22:32:17 +08:00
|
|
|
default n
|
|
|
|
|
|
|
|
config PPC_RTAS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config RTAS_ERROR_LOGGING
|
|
|
|
bool
|
|
|
|
depends on PPC_RTAS
|
|
|
|
default n
|
|
|
|
|
2009-09-25 03:30:05 +08:00
|
|
|
config PPC_RTAS_DAEMON
|
|
|
|
bool
|
|
|
|
depends on PPC_RTAS
|
|
|
|
default n
|
|
|
|
|
2007-03-16 22:32:17 +08:00
|
|
|
config RTAS_PROC
|
|
|
|
bool "Proc interface to RTAS"
|
2013-05-07 02:43:39 +08:00
|
|
|
depends on PPC_RTAS && PROC_FS
|
2007-03-16 22:32:17 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
config RTAS_FLASH
|
|
|
|
tristate "Firmware flash interface"
|
|
|
|
depends on PPC64 && RTAS_PROC
|
|
|
|
|
|
|
|
config MMIO_NVRAM
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2007-04-23 16:47:08 +08:00
|
|
|
config MPIC_U3_HT_IRQS
|
2007-03-16 22:32:17 +08:00
|
|
|
bool
|
2010-08-23 15:36:41 +08:00
|
|
|
default n
|
2007-03-16 22:32:17 +08:00
|
|
|
|
2007-09-08 03:13:19 +08:00
|
|
|
config MPIC_BROKEN_REGREAD
|
|
|
|
bool
|
|
|
|
depends on MPIC
|
|
|
|
help
|
|
|
|
This option enables a MPIC driver workaround for some chips
|
|
|
|
that have a bug that causes some interrupt source information
|
|
|
|
to not read back properly. It is safe to use on other chips as
|
|
|
|
well, but enabling it uses about 8KB of memory to keep copies
|
|
|
|
of the register contents in software.
|
|
|
|
|
2013-06-20 13:20:52 +08:00
|
|
|
config EEH
|
|
|
|
bool
|
|
|
|
depends on (PPC_POWERNV || PPC_PSERIES) && PCI
|
|
|
|
default y
|
|
|
|
|
2007-03-16 22:32:17 +08:00
|
|
|
config PPC_MPC106
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config PPC_970_NAP
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2011-01-24 15:42:41 +08:00
|
|
|
config PPC_P7_NAP
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2011-04-12 05:25:01 +08:00
|
|
|
config PPC_INDIRECT_PIO
|
|
|
|
bool
|
2013-07-15 11:03:08 +08:00
|
|
|
select GENERIC_IOMAP
|
2011-04-12 05:25:01 +08:00
|
|
|
|
|
|
|
config PPC_INDIRECT_MMIO
|
|
|
|
bool
|
2007-03-16 22:32:17 +08:00
|
|
|
|
2011-04-12 05:25:01 +08:00
|
|
|
config PPC_IO_WORKAROUNDS
|
|
|
|
bool
|
|
|
|
|
2007-03-16 22:32:17 +08:00
|
|
|
source "drivers/cpufreq/Kconfig"
|
|
|
|
|
2011-11-30 10:46:55 +08:00
|
|
|
menu "CPUIdle driver"
|
|
|
|
|
|
|
|
source "drivers/cpuidle/Kconfig"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2007-03-16 22:32:17 +08:00
|
|
|
config PPC601_SYNC_FIX
|
|
|
|
bool "Workarounds for PPC601 bugs"
|
2013-03-27 08:47:03 +08:00
|
|
|
depends on 6xx && PPC_PMAC
|
2007-03-16 22:32:17 +08:00
|
|
|
help
|
|
|
|
Some versions of the PPC601 (the first PowerPC chip) have bugs which
|
|
|
|
mean that extra synchronization instructions are required near
|
|
|
|
certain instructions, typically those that make major changes to the
|
|
|
|
CPU state. These extra instructions reduce performance slightly.
|
|
|
|
If you say N here, these extra instructions will not be included,
|
|
|
|
resulting in a kernel which will run faster but may not run at all
|
|
|
|
on some systems with the PPC601 chip.
|
|
|
|
|
|
|
|
If in doubt, say Y here.
|
|
|
|
|
|
|
|
config TAU
|
|
|
|
bool "On-chip CPU temperature sensor support"
|
2009-03-11 01:53:27 +08:00
|
|
|
depends on 6xx
|
2007-03-16 22:32:17 +08:00
|
|
|
help
|
|
|
|
G3 and G4 processors have an on-chip temperature sensor called the
|
|
|
|
'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
|
|
|
|
temperature within 2-4 degrees Celsius. This option shows the current
|
|
|
|
on-die temperature in /proc/cpuinfo if the cpu supports it.
|
|
|
|
|
|
|
|
Unfortunately, on some chip revisions, this sensor is very inaccurate
|
|
|
|
and in many cases, does not work at all, so don't assume the cpu
|
|
|
|
temp is actually what /proc/cpuinfo says it is.
|
|
|
|
|
|
|
|
config TAU_INT
|
|
|
|
bool "Interrupt driven TAU driver (DANGEROUS)"
|
|
|
|
depends on TAU
|
|
|
|
---help---
|
|
|
|
The TAU supports an interrupt driven mode which causes an interrupt
|
|
|
|
whenever the temperature goes out of range. This is the fastest way
|
|
|
|
to get notified the temp has exceeded a range. With this option off,
|
|
|
|
a timer is used to re-check the temperature periodically.
|
|
|
|
|
|
|
|
However, on some cpus it appears that the TAU interrupt hardware
|
|
|
|
is buggy and can cause a situation which would lead unexplained hard
|
|
|
|
lockups.
|
|
|
|
|
|
|
|
Unless you are extending the TAU driver, or enjoy kernel/hardware
|
|
|
|
debugging, leave this option off.
|
|
|
|
|
|
|
|
config TAU_AVERAGE
|
|
|
|
bool "Average high and low temp"
|
|
|
|
depends on TAU
|
|
|
|
---help---
|
|
|
|
The TAU hardware can compare the temperature to an upper and lower
|
|
|
|
bound. The default behavior is to show both the upper and lower
|
|
|
|
bound in /proc/cpuinfo. If the range is large, the temperature is
|
|
|
|
either changing a lot, or the TAU hardware is broken (likely on some
|
|
|
|
G4's). If the range is small (around 4 degrees), the temperature is
|
|
|
|
relatively stable. If you say Y here, a single temperature value,
|
|
|
|
halfway between the upper and lower bounds, will be reported in
|
|
|
|
/proc/cpuinfo.
|
|
|
|
|
|
|
|
If in doubt, say N here.
|
|
|
|
|
2008-10-04 03:40:36 +08:00
|
|
|
config QE_GPIO
|
|
|
|
bool "QE GPIO support"
|
|
|
|
depends on QUICC_ENGINE
|
2016-04-19 19:21:02 +08:00
|
|
|
select GPIOLIB
|
2008-10-04 03:40:36 +08:00
|
|
|
help
|
|
|
|
Say Y here if you're going to use hardware that connects to the
|
|
|
|
QE GPIOs.
|
|
|
|
|
2007-04-13 05:53:32 +08:00
|
|
|
config CPM2
|
2008-01-25 07:41:25 +08:00
|
|
|
bool "Enable support for the CPM2 (Communications Processor Module)"
|
2009-10-17 07:31:48 +08:00
|
|
|
depends on (FSL_SOC_BOOKE && PPC32) || 8260
|
2007-07-17 00:43:43 +08:00
|
|
|
select CPM
|
2008-06-27 01:07:56 +08:00
|
|
|
select PPC_PCI_CHOICE
|
2016-04-19 19:21:02 +08:00
|
|
|
select GPIOLIB
|
2007-04-13 05:53:32 +08:00
|
|
|
help
|
|
|
|
The CPM2 (Communications Processor Module) is a coprocessor on
|
|
|
|
embedded CPUs made by Freescale. Selecting this option means that
|
|
|
|
you wish to build a kernel for a machine with a CPM2 coprocessor
|
|
|
|
on it (826x, 827x, 8560).
|
|
|
|
|
2007-07-21 03:39:26 +08:00
|
|
|
config AXON_RAM
|
|
|
|
tristate "Axon DDR2 memory device driver"
|
2009-03-12 10:16:27 +08:00
|
|
|
depends on PPC_IBM_CELL_BLADE && BLOCK
|
2017-01-26 07:25:11 +08:00
|
|
|
select DAX
|
2007-07-21 03:39:26 +08:00
|
|
|
default m
|
|
|
|
help
|
|
|
|
It registers one block device per Axon's DDR2 memory bank found
|
|
|
|
on a system. Block devices are called axonram?, their major and
|
|
|
|
minor numbers are available in /proc/devices, /proc/partitions or
|
|
|
|
in /sys/block/axonram?/dev.
|
|
|
|
|
2007-08-17 12:55:55 +08:00
|
|
|
config FSL_ULI1575
|
|
|
|
bool
|
|
|
|
default n
|
2007-09-11 03:57:34 +08:00
|
|
|
select GENERIC_ISA_DMA
|
2007-08-17 12:55:55 +08:00
|
|
|
help
|
|
|
|
Supports for the ULI1575 PCIe south bridge that exists on some
|
|
|
|
Freescale reference boards. The boards all use the ULI in pretty
|
|
|
|
much the same way.
|
|
|
|
|
2007-07-17 00:43:43 +08:00
|
|
|
config CPM
|
|
|
|
bool
|
2015-11-30 10:48:54 +08:00
|
|
|
select GENERIC_ALLOCATOR
|
2007-07-17 00:43:43 +08:00
|
|
|
|
2008-01-11 11:25:34 +08:00
|
|
|
config OF_RTC
|
|
|
|
bool
|
|
|
|
help
|
2009-01-26 18:12:25 +08:00
|
|
|
Uses information from the OF or flattened device tree to instantiate
|
2008-01-11 11:25:34 +08:00
|
|
|
platform devices for direct mapped RTC chips like the DS1742 or DS1743.
|
|
|
|
|
2016-05-31 02:58:01 +08:00
|
|
|
config GEN_RTC
|
|
|
|
bool "Use the platform RTC operations from user space"
|
|
|
|
select RTC_CLASS
|
|
|
|
select RTC_DRV_GENERIC
|
|
|
|
help
|
|
|
|
This option provides backwards compatibility with the old gen_rtc.ko
|
|
|
|
module that was traditionally used for old PowerPC machines.
|
|
|
|
Platforms should migrate to enabling the RTC_DRV_GENERIC by hand
|
|
|
|
replacing their get_rtc_time/set_rtc_time callbacks with
|
|
|
|
a proper RTC device driver.
|
|
|
|
|
2008-12-19 00:37:26 +08:00
|
|
|
config SIMPLE_GPIO
|
|
|
|
bool "Support for simple, memory-mapped GPIO controllers"
|
|
|
|
depends on PPC
|
2016-04-19 19:21:02 +08:00
|
|
|
select GPIOLIB
|
2008-12-19 00:37:26 +08:00
|
|
|
help
|
|
|
|
Say Y here to support simple, memory-mapped GPIO controllers.
|
|
|
|
These are usually BCSRs used to control board's switches, LEDs,
|
|
|
|
chip-selects, Ethernet/USB PHY's power and various other small
|
|
|
|
on-board peripherals.
|
|
|
|
|
2009-01-12 00:55:39 +08:00
|
|
|
config MCU_MPC8349EMITX
|
2011-08-15 22:19:30 +08:00
|
|
|
bool "MPC8349E-mITX MCU driver"
|
2011-11-09 10:10:29 +08:00
|
|
|
depends on I2C=y && PPC_83xx
|
2016-04-19 19:21:02 +08:00
|
|
|
select GPIOLIB
|
2009-01-12 00:55:39 +08:00
|
|
|
help
|
|
|
|
Say Y here to enable soft power-off functionality on the Freescale
|
|
|
|
boards with the MPC8349E-mITX-compatible MCU chips. This driver will
|
|
|
|
also register MCU GPIOs with the generic GPIO API, so you'll able
|
|
|
|
to use MCU pins as GPIOs.
|
|
|
|
|
2009-06-07 00:14:22 +08:00
|
|
|
config XILINX_PCI
|
|
|
|
bool "Xilinx PCI host bridge support"
|
|
|
|
depends on PCI && XILINX_VIRTEX
|
|
|
|
|
2007-03-16 22:32:17 +08:00
|
|
|
endmenu
|