meta-gsj: Add kernel configuration for GSJ board.
Tested: Build Quanta GSJ board and load on the EVB.
Ensure that BMC boots to console.
Change-Id: Id66df73495f3cce74bf8bc36e4cc94ac91c67752
Signed-off-by: FranHsu <Fran.Hsu@quantatw.com>
diff --git a/meta-gsj/recipes-kernel/linux/linux-nuvoton/gsj.cfg b/meta-gsj/recipes-kernel/linux/linux-nuvoton/gsj.cfg
new file mode 100644
index 0000000..9435516
--- /dev/null
+++ b/meta-gsj/recipes-kernel/linux/linux-nuvoton/gsj.cfg
@@ -0,0 +1,48 @@
+CONFIG_HWMON=y
+CONFIG_SENSORS_LM75=y
+CONFIG_SENSORS_FAN=y
+
+CONFIG_NEW_LEDS=y
+CONFIG_LEDS_CLASS=y
+CONFIG_LEDS_GPIO=y
+CONFIG_LEDS_TRIGGERS=y
+CONFIG_LEDS_TRIGGER_TIMER=y
+CONFIG_LEDS_TRIGGER_HEARTBEAT=y
+CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
+
+CONFIG_OVERLAY_FS=y
+CONFIG_SQUASHFS=y
+CONFIG_SQUASHFS_XZ=y
+CONFIG_JFFS2_FS=y
+
+CONFIG_MTD_M25P80=y
+CONFIG_SPI_NPCM_FIU=y
+CONFIG_SPI=y
+CONFIG_SPI_NPCM_PSPI=y
+
+CONFIG_NET_NCSI=y
+
+CONFIG_EEPROM_AT24=y
+CONFIG_I2C_MUX=y
+CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_SLAVE_EEPROM=y
+CONFIG_GPIO_PCA953X=y
+CONFIG_GPIO_PCA953X_IRQ=y
+CONFIG_GPIO_PCF857X=y
+CONFIG_PMBUS=y
+CONFIG_SENSORS_PMBUS=y
+CONFIG_SENSORS_ADM1275=y
+CONFIG_MUX_MMIO=y
+CONFIG_USB_U_ETHER=y
+CONFIG_USB_F_ECM=y
+CONFIG_USB_F_EEM=y
+CONFIG_USB_F_SUBSET=y
+CONFIG_USB_F_RNDIS=y
+CONFIG_USB_F_MASS_STORAGE=y
+CONFIG_USB_CONFIGFS=y
+CONFIG_USB_CONFIGFS_ECM=y
+CONFIG_USB_CONFIGFS_ECM_SUBSET=y
+CONFIG_USB_CONFIGFS_RNDIS=y
+CONFIG_USB_CONFIGFS_EEM=y
+CONFIG_USB_CONFIGFS_MASS_STORAGE=y
+CONFIG_USB_CONFIGFS_F_HID=y
diff --git a/meta-gsj/recipes-kernel/linux/linux-nuvoton_%.bbappend b/meta-gsj/recipes-kernel/linux/linux-nuvoton_%.bbappend
new file mode 100644
index 0000000..e4ccc6c
--- /dev/null
+++ b/meta-gsj/recipes-kernel/linux/linux-nuvoton_%.bbappend
@@ -0,0 +1,2 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/linux-nuvoton:"
+SRC_URI += "file://gsj.cfg"