George Hung | a9f5ff5 | 2020-07-16 22:03:39 +0800 | [diff] [blame] | 1 | # Support full 1G memory for userspace on BMC |
| 2 | CONFIG_VMSPLIT_3G_OPT=y |
| 3 | CONFIG_NET_NCSI=y |
| 4 | # Enable available sensors |
| 5 | CONFIG_HWMON=y |
| 6 | CONFIG_PMBUS=y |
| 7 | CONFIG_SENSORS_PMBUS=y |
| 8 | CONFIG_SENSORS_MAX34440=y |
| 9 | CONFIG_SENSORS_LM75=y |
| 10 | CONFIG_SENSORS_SBTSI=y |
| 11 | CONFIG_SENSORS_ISL68137=y |
| 12 | CONFIG_SENSORS_ADM1275=y |
| 13 | CONFIG_NPCM7XX_ADC=y |
| 14 | CONFIG_SENSORS_IIO_HWMON=y |
| 15 | CONFIG_SENSORS_FAN=y |
| 16 | CONFIG_SENSORS_JC42=y |
| 17 | CONFIG_SENSORS_MAX31790=y |
| 18 | CONFIG_SENSORS_UCD9000=y |
| 19 | |
| 20 | # Enable for firmware update LPC. |
| 21 | CONFIG_DEVMEM=y |
| 22 | |
| 23 | # Enable seven seg display |
| 24 | CONFIG_SEVEN_SEGMENT_DISPLAY=y |
| 25 | CONFIG_SEVEN_SEGMENT_GPIO=y |
| 26 | |
| 27 | # Enable GPIO LEDS |
| 28 | CONFIG_NEW_LEDS=y |
| 29 | CONFIG_LEDS_CLASS=y |
| 30 | CONFIG_LEDS_GPIO=y |
| 31 | CONFIG_LEDS_TRIGGERS=y |
George Hung | 8aebc42 | 2021-04-28 15:23:13 +0800 | [diff] [blame] | 32 | # Allow userspace to blink LEDs |
| 33 | CONFIG_LEDS_TRIGGER_TIMER=y |
| 34 | # Blink BMC fault when kernel panics |
| 35 | CONFIG_LEDS_TRIGGER_PANIC=y |
George Hung | a9f5ff5 | 2020-07-16 22:03:39 +0800 | [diff] [blame] | 36 | CONFIG_LEDS_TRIGGER_DEFAULT_ON=y |
| 37 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y |
| 38 | |
| 39 | # Enable pstore(ramoops) to capture kernel panics |
| 40 | CONFIG_PSTORE=y |
| 41 | CONFIG_PSTORE_RAM=y |
| 42 | CONFIG_PSTORE_DEFLATE_COMPRESS=y |
| 43 | |
| 44 | # Enable Nuvoton ECC |
| 45 | CONFIG_EDAC_ATOMIC_SCRUB=y |
| 46 | CONFIG_EDAC_DEBUG=y |
| 47 | CONFIG_EDAC_LEGACY_SYSFS=y |
| 48 | CONFIG_EDAC_NPCM7XX=y |
| 49 | CONFIG_EDAC_SUPPORT=y |
| 50 | CONFIG_EDAC=y |
| 51 | CONFIG_RAS=y |
| 52 | |
| 53 | # Enable Nuvoton JTAG |
| 54 | CONFIG_NPCM7XX_JTAG_MASTER=y |
| 55 | |
| 56 | # USB |
| 57 | CONFIG_USB_CONFIGFS_ECM_SUBSET=y |
| 58 | CONFIG_USB_CONFIGFS_ECM=y |
| 59 | CONFIG_USB_CONFIGFS_EEM=y |
| 60 | CONFIG_USB_CONFIGFS_F_HID=y |
| 61 | CONFIG_USB_CONFIGFS_MASS_STORAGE=y |
| 62 | CONFIG_USB_CONFIGFS_RNDIS=y |
| 63 | CONFIG_USB_CONFIGFS=y |
| 64 | CONFIG_USB_F_ECM=y |
| 65 | CONFIG_USB_F_EEM=y |
| 66 | CONFIG_USB_F_MASS_STORAGE=y |
| 67 | CONFIG_USB_F_RNDIS=y |
| 68 | CONFIG_USB_F_SUBSET=y |
| 69 | CONFIG_USB_GADGET_NPCM_USB2=y |
| 70 | CONFIG_USB_NPCM_UDC=y |
| 71 | CONFIG_USB_OHCI_HCD_NPCM7XX=y |
| 72 | CONFIG_USB_SERIAL_CP210X=y |
| 73 | CONFIG_USB_U_ETHER=y |
| 74 | |
Brandon Kim | 8ad67d2 | 2021-09-07 10:50:37 -0700 | [diff] [blame] | 75 | # SPI |
George Hung | a9f5ff5 | 2020-07-16 22:03:39 +0800 | [diff] [blame] | 76 | CONFIG_SPI=y |
| 77 | CONFIG_SPI_NPCM_FIU=y |
| 78 | CONFIG_SPI_NPCM_PSPI=y |
| 79 | |
Brandon Kim | 8ad67d2 | 2021-09-07 10:50:37 -0700 | [diff] [blame] | 80 | # I2C support |
George Hung | a9f5ff5 | 2020-07-16 22:03:39 +0800 | [diff] [blame] | 81 | CONFIG_I2C_MUX_LTC4306=y |
| 82 | CONFIG_I2C_MUX_PCA954x=y |
| 83 | CONFIG_I2C_MUX=y |
| 84 | CONFIG_I2C_SLAVE_EEPROM=y |
| 85 | CONFIG_I2C_SLAVE_MQUEUE=y |
| 86 | CONFIG_I2C_SLAVE=y |
| 87 | |
Brandon Kim | 8ad67d2 | 2021-09-07 10:50:37 -0700 | [diff] [blame] | 88 | # I2C GPIO expanders |
George Hung | a9f5ff5 | 2020-07-16 22:03:39 +0800 | [diff] [blame] | 89 | CONFIG_GPIO_PCA953X_IRQ=y |
| 90 | CONFIG_GPIO_PCA953X=y |
| 91 | CONFIG_GPIO_PCF857X=y |
| 92 | |
Brandon Kim | 8ad67d2 | 2021-09-07 10:50:37 -0700 | [diff] [blame] | 93 | # Enable phsophor-gpio-keys feature |
| 94 | CONFIG_INPUT_EVDEV=y |
| 95 | # Need for CONFIG_KEYBOARD_GPIO Kconfig |
| 96 | CONFIG_INPUT_KEYBOARD=y |
| 97 | CONFIG_KEYBOARD_GPIO=y |
| 98 | |
| 99 | # Enable the IPMI KCS driver |
| 100 | CONFIG_IPMI_KCS_BMC_CDEV_IPMI=y |
| 101 | |
George Hung | a9f5ff5 | 2020-07-16 22:03:39 +0800 | [diff] [blame] | 102 | # Misc |
| 103 | CONFIG_OVERLAY_FS=y |
| 104 | CONFIG_JFFS2_FS=y |
| 105 | CONFIG_SQUASHFS_XZ=y |
| 106 | CONFIG_SQUASHFS=y |
| 107 | CONFIG_RESET_CONTROLLER=y |
| 108 | CONFIG_RESET_NPCM=y |
| 109 | CONFIG_IPVLAN=y |
| 110 | CONFIG_VLAN_8021Q=y |
| 111 | CONFIG_DEVKMEM=y |
| 112 | CONFIG_EEPROM_AT24=y |
| 113 | CONFIG_FORCE_MAX_ZONEORDER=12 |
| 114 | CONFIG_IIO_MUX=y |
| 115 | CONFIG_IIO=y |
| 116 | CONFIG_MEDIA_SUPPORT=y |
| 117 | CONFIG_MFD_SYSCON=y |
| 118 | CONFIG_MTD_M25P80=y |
| 119 | CONFIG_MUX_MMIO=y |
| 120 | CONFIG_NPCM7XX_LPC_BPC=y |
| 121 | CONFIG_MTD_PARTITIONED_MASTER=y |
JunLin Chen | 1167ada | 2021-10-04 14:13:31 +0800 | [diff] [blame] | 122 | |
| 123 | # Enable hmac api for UUID |
| 124 | CONFIG_CRYPTO_HMAC=y |
| 125 | CONFIG_CRYPTO_SHA256=y |
| 126 | CONFIG_CRYPTO_USER_API_HASH=y |