summaryrefslogtreecommitdiff
path: root/meta-tyan/meta-s8036/recipes-kernel/linux
diff options
context:
space:
mode:
Diffstat (limited to 'meta-tyan/meta-s8036/recipes-kernel/linux')
-rw-r--r--meta-tyan/meta-s8036/recipes-kernel/linux/linux-aspeed/s8036.cfg10
-rw-r--r--meta-tyan/meta-s8036/recipes-kernel/linux/linux-aspeed_%.bbappend4
2 files changed, 14 insertions, 0 deletions
diff --git a/meta-tyan/meta-s8036/recipes-kernel/linux/linux-aspeed/s8036.cfg b/meta-tyan/meta-s8036/recipes-kernel/linux/linux-aspeed/s8036.cfg
new file mode 100644
index 0000000000..691601db10
--- /dev/null
+++ b/meta-tyan/meta-s8036/recipes-kernel/linux/linux-aspeed/s8036.cfg
@@ -0,0 +1,10 @@
+CONFIG_ASPEED_UART_ROUTING=y
+CONFIG_DEVMEM=y
+CONFIG_I2C_MUX_GPIO=y
+CONFIG_SENSORS_NCT7802=y
+
+# Support for virtual USB NIC
+CONFIG_USB_U_ETHER=y
+CONFIG_USB_F_ECM=y
+CONFIG_USB_CONFIGFS_ECM=y
+CONFIG_USB_CONFIGFS_ECM_SUBSET=y
diff --git a/meta-tyan/meta-s8036/recipes-kernel/linux/linux-aspeed_%.bbappend b/meta-tyan/meta-s8036/recipes-kernel/linux/linux-aspeed_%.bbappend
new file mode 100644
index 0000000000..a21c97879d
--- /dev/null
+++ b/meta-tyan/meta-s8036/recipes-kernel/linux/linux-aspeed_%.bbappend
@@ -0,0 +1,4 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+SRC_URI:append = " \
+ file://s8036.cfg \
+ " \ No newline at end of file