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