aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/sata/config-default
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2021-10-10 00:39:41 +0200
committerChristian Lamparter <chunkeey@gmail.com>2021-10-10 16:47:41 +0200
commite166ee4ff123b18bc7248cda9596aa9ed7886a53 (patch)
tree275a4451259ec46a16dc6b1b85c377b8370039ca /target/linux/apm821xx/sata/config-default
parent44f89614c668c0065437ccc4b8c152b3cf2af04b (diff)
downloadupstream-e166ee4ff123b18bc7248cda9596aa9ed7886a53.tar.gz
upstream-e166ee4ff123b18bc7248cda9596aa9ed7886a53.tar.bz2
upstream-e166ee4ff123b18bc7248cda9596aa9ed7886a53.zip
apm821xx: disable and move kernel CONFIG_ symbols
try to reduce the kernel size by disabling and moving options from the common kernel configuration to the SATA target that doesn't have the constraints. For NAND this has become necessary because as with 5.10 some devices outgrew their kernels. Though, in my tests this didn't help much: just a smidgen over 100kib was saved on the uncompressed kernel. ... running make kernel_oldconfig also removed some other config symbols, mostly those that already set from elsewhere or became obsolete in the meantime. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/sata/config-default')
-rw-r--r--target/linux/apm821xx/sata/config-default15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/apm821xx/sata/config-default b/target/linux/apm821xx/sata/config-default
index 9a0a8179cc..e8e595641d 100644
--- a/target/linux/apm821xx/sata/config-default
+++ b/target/linux/apm821xx/sata/config-default
@@ -9,10 +9,15 @@ CONFIG_SATA_PMP=y
CONFIG_GENERIC_PHY=y
CONFIG_SATA_DWC=y
# CONFIG_SATA_DWC_DEBUG is not set
+CONFIG_CRYPTO_MD5_PPC=y
+CONFIG_CRYPTO_SHA1_PPC=y
CONFIG_EXT4_FS=y
CONFIG_F2FS_FS=y
+CONFIG_FREEZER=y
+CONFIG_FW_CACHE=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
+CONFIG_BLK_PM=y
CONFIG_GPIOLIB=y
CONFIG_GPIO_GENERIC=y
CONFIG_GPIO_GENERIC_PLATFORM=y
@@ -30,9 +35,19 @@ CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y
# CONFIG_MD_RAID10 is not set
# CONFIG_MD_RAID456 is not set
+CONFIG_PM=y
+CONFIG_PM_AUTOSLEEP=y
+CONFIG_PM_CLK=y
+CONFIG_PM_SLEEP=y
+CONFIG_PM_WAKELOCKS=y
+CONFIG_PM_WAKELOCKS_GC=y
+CONFIG_PM_WAKELOCKS_LIMIT=100
CONFIG_PPC_EARLY_DEBUG=y
CONFIG_PPC_EARLY_DEBUG_44x=y
# CONFIG_PPC_EARLY_DEBUG_MEMCONS is not set
CONFIG_PPC_EARLY_DEBUG_44x_PHYSHIGH=0x4
CONFIG_PPC_EARLY_DEBUG_44x_PHYSLOW=0xef600300
+CONFIG_PPC4xx_CPM=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_SUSPEND=y
+CONFIG_SUSPEND_FREEZER=y