summaryrefslogtreecommitdiff
path: root/meta-google/dynamic-layers/nuvoton-layer
diff options
context:
space:
mode:
Diffstat (limited to 'meta-google/dynamic-layers/nuvoton-layer')
-rw-r--r--meta-google/dynamic-layers/nuvoton-layer/recipes-kernel/linux/files/gbmc-nuvoton.cfg5
-rw-r--r--meta-google/dynamic-layers/nuvoton-layer/recipes-kernel/linux/linux-nuvoton_%.bbappend5
2 files changed, 10 insertions, 0 deletions
diff --git a/meta-google/dynamic-layers/nuvoton-layer/recipes-kernel/linux/files/gbmc-nuvoton.cfg b/meta-google/dynamic-layers/nuvoton-layer/recipes-kernel/linux/files/gbmc-nuvoton.cfg
new file mode 100644
index 000000000..3bc14d5fa
--- /dev/null
+++ b/meta-google/dynamic-layers/nuvoton-layer/recipes-kernel/linux/files/gbmc-nuvoton.cfg
@@ -0,0 +1,5 @@
+# Enable EDAC support
+CONFIG_EDAC_SUPPORT=y
+CONFIG_EDAC=y
+CONFIG_EDAC_NPCM7XX=y
+CONFIG_RAS=y
diff --git a/meta-google/dynamic-layers/nuvoton-layer/recipes-kernel/linux/linux-nuvoton_%.bbappend b/meta-google/dynamic-layers/nuvoton-layer/recipes-kernel/linux/linux-nuvoton_%.bbappend
new file mode 100644
index 000000000..8de09b103
--- /dev/null
+++ b/meta-google/dynamic-layers/nuvoton-layer/recipes-kernel/linux/linux-nuvoton_%.bbappend
@@ -0,0 +1,5 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:${THISDIR}/../../../../recipes-kernel/linux/files:"
+SRC_URI_append_gbmc = " file://gbmc.cfg"
+SRC_URI_append_gbmc = " file://gbmc-nuvoton.cfg"
+SRC_URI_append_gbmc_dev = " file://gbmc-dev.cfg"
+SRC_URI_append_gbmc_prod = " file://gbmc-prod.cfg"