diff options
author | Andrew Davis <afd@ti.com> | 2022-10-20 16:13:40 -0500 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2022-10-21 17:06:13 -0500 |
commit | bc33e157c678d0fe160687d5a6a52c672b608176 (patch) | |
tree | 5d88cd3b51768c2e2f4baa65e8af1a197a40916c /ti_config_fragments | |
parent | b98cab7baf5637a6656cefee568819a5f4a1edf2 (diff) |
ti_config_fragments: v8_baseport: Trim out defaults
All carried changes to the upstream kernel that are needed to boot it on
TI platforms should be considered tech debt. Changes to the default ARMv8
configuration are no different. We need to reduced these over time by
working to get these options in the upstream defconfig. To start to see
where we stand today, lets remove all the options that do not change the
upstream default. Then anything remaining in this file should be
investigated for appropriateness in upstream and sent accordingly.
Signed-off-by: Andrew Davis <afd@ti.com>
Diffstat (limited to 'ti_config_fragments')
-rw-r--r-- | ti_config_fragments/v8_baseport.cfg | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/ti_config_fragments/v8_baseport.cfg b/ti_config_fragments/v8_baseport.cfg index 9c7163075312..d6aed4b1d44b 100644 --- a/ti_config_fragments/v8_baseport.cfg +++ b/ti_config_fragments/v8_baseport.cfg @@ -3,17 +3,11 @@ ################################################## # Serial -CONFIG_SERIAL_8250_OMAP=y CONFIG_SERIAL_8250_NR_UARTS=10 CONFIG_SERIAL_8250_RUNTIME_UARTS=10 # K3 Power config options -CONFIG_MAILBOX=y CONFIG_PM=y -CONFIG_TI_MESSAGE_MANAGER=y -CONFIG_TI_SCI_PROTOCOL=y -CONFIG_TI_SCI_PM_DOMAINS=y -CONFIG_TI_SCI_CLK=y # CPU Frequency scaling CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y @@ -21,106 +15,41 @@ CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y # Enable Reset Controllers CONFIG_RESET_CONTROLLER=y CONFIG_RESET_TI_SYSCON=y -CONFIG_RESET_TI_SCI=y - -# Enable Interrupt Controllers -CONFIG_TI_SCI_INTR_IRQCHIP=y -CONFIG_TI_SCI_INTA_IRQCHIP=y - -# Enable options for NAVSS (DMA support) -CONFIG_TI_K3_RINGACC=y -CONFIG_TI_K3_UDMA=y -CONFIG_TI_K3_UDMA_GLUE_LAYER=y - -# OPTEE Driver -CONFIG_TEE=y -CONFIG_OPTEE=y - -#----- -# Generic Kernel Options -#----- - -# Enable process accounting -CONFIG_BSD_PROCESS_ACCT=y # Enable support for perf CONFIG_PERF_EVENTS=y -# Have some way to pick up kernel config later on -# Always useful to look at /proc/config.gz -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y - # Add Bin2c CONFIG_BUILD_BIN2C=y # Add base Cgroups functions CONFIG_CGROUPS=y -CONFIG_CGROUP_DEBUG=n -CONFIG_CGROUP_FREEZER=y -CONFIG_CGROUP_PIDS=y -CONFIG_CGROUP_DEVICE=y -CONFIG_CPUSETS=y -CONFIG_PROC_PID_CPUSET=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_PAGE_COUNTER=y -CONFIG_MEMCG=y -CONFIG_MEMCG_SWAP=y -CONFIG_MEMCG_SWAP_ENABLED=y -CONFIG_CGROUP_PERF=y -CONFIG_CGROUP_SCHED=y -CONFIG_FAIR_GROUP_SCHED=y -CONFIG_CFS_BANDWIDTH=y -CONFIG_RT_GROUP_SCHED=y -CONFIG_BLK_CGROUP=y -CONFIG_DEBUG_BLK_CGROUP=n -CONFIG_CGROUP_WRITEBACK=y # Choose CONFIG_EMBEDDED -CONFIG_NAMESPACES=n CONFIG_EMBEDDED=y -CONFIG_EXPERT=y # Enable all kernel symbols please CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y # How do we want kernel Modules to work? -CONFIG_BASE_FULL=y -CONFIG_BASE_SMALL=0 -CONFIG_MODULES=y CONFIG_MODULE_FORCE_LOAD=y -CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=y CONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y -CONFIG_MODULE_SIG=n -CONFIG_MODULE_COMPRESS=n -CONFIG_MODULES_TREE_LOOKUP=y # Boot options -CONFIG_CMDLINE="" -CONFIG_CMDLINE_FORCE=n CONFIG_CRASH_DUMP=n -CONFIG_AUTO_ZRELADDR=y # Mem allocator -CONFIG_SLAB=n -CONFIG_SLUB=y CONFIG_SLUB_DEBUG=n -# Enable EFI -# Sane configurations are enabled via CONFIG_EFI on ARM64 -CONFIG_EFI=y - # Pinctrl CONFIG_PINCTRL=y CONFIG_PINCTRL_SINGLE=y # GPIO -CONFIG_GPIOLIB=y CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_DAVINCI=y # Crypto SA2UL CONFIG_CRYPTO_DEV_SA2UL=m @@ -128,9 +57,6 @@ CONFIG_CRYPTO_DEV_SA2UL=m # Enable options to facilitate testing CONFIG_CRYPTO_TEST=m -# Pseudo filesystems -CONFIG_TMPFS=y - # Thermal CONFIG_K3_THERMAL=y @@ -144,7 +70,6 @@ CONFIG_BLK_DEV_RAM=y CONFIG_MFD_PALMAS=y CONFIG_REGULATOR=y CONFIG_REGULATOR_PALMAS=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y # Watchdog support CONFIG_K3_RTI_WATCHDOG=m |