summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-agl-bsp/conf/include/agl_refhw-h3.inc10
-rw-r--r--templates/feature/agl-refhw-h3/50_bblayers.conf.inc3
-rw-r--r--templates/feature/agl-refhw-h3/50_local.conf.inc2
-rw-r--r--templates/feature/agl-refhw-h3/README_feature_agl-refhw-h3.md8
4 files changed, 23 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/include/agl_refhw-h3.inc b/meta-agl-bsp/conf/include/agl_refhw-h3.inc
new file mode 100644
index 000000000..ec7c112e0
--- /dev/null
+++ b/meta-agl-bsp/conf/include/agl_refhw-h3.inc
@@ -0,0 +1,10 @@
+MACHINEOVERRIDES_append = ":agl-refhw-h3"
+
+# Reference hardware has USB3
+MACHINE_FEATURES_append = " usb3"
+
+KERNEL_DEVICETREE_append = " renesas/r8a7795-agl-refhw.dtb"
+
+# Disable the meta-agl-refhw-gen3 arm-trusted-firmware bbappend as
+# it makes the firmware reference hardware specific.
+BBMASK = "meta-agl-refhw-gen3/recipes-bsp/arm-trusted-firmware"
diff --git a/templates/feature/agl-refhw-h3/50_bblayers.conf.inc b/templates/feature/agl-refhw-h3/50_bblayers.conf.inc
new file mode 100644
index 000000000..7aee6eac5
--- /dev/null
+++ b/templates/feature/agl-refhw-h3/50_bblayers.conf.inc
@@ -0,0 +1,3 @@
+BBLAYERS =+ "\
+ ${METADIR}/bsp/meta-agl-refhw/meta-agl-refhw-gen3 \
+ "
diff --git a/templates/feature/agl-refhw-h3/50_local.conf.inc b/templates/feature/agl-refhw-h3/50_local.conf.inc
new file mode 100644
index 000000000..dc39dd52a
--- /dev/null
+++ b/templates/feature/agl-refhw-h3/50_local.conf.inc
@@ -0,0 +1,2 @@
+#see meta-agl/meta-agl-bsp/conf/include/agl_refhw-h3.inc
+require conf/include/agl_refhw-h3.inc
diff --git a/templates/feature/agl-refhw-h3/README_feature_agl-refhw-h3.md b/templates/feature/agl-refhw-h3/README_feature_agl-refhw-h3.md
new file mode 100644
index 000000000..57720bef1
--- /dev/null
+++ b/templates/feature/agl-refhw-h3/README_feature_agl-refhw-h3.md
@@ -0,0 +1,8 @@
+---
+description: AGL H3-based reference hardware support
+authors: Scott Murray <scott.murray@konsulko.com>
+---
+
+### Feature agl-refhw-h3
+
+Enable support for AGL H3-based reference hardware. Should only be used with "h3ulcb" or "h3ulcb-nogfx" machine types.