meta-facebook: add secondary-emmc feature
* Define a MACHINE_FEATURE that enables a secondary eMMC device.
* Add kernel and base-files support for mounting the eMMC device
using btrfs.
* Enable machine feature for Bletchley.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3fde3b285720c137c4e5bbbad233e4ef40b84d54
diff --git a/meta-facebook/recipes-kernel/linux/linux-aspeed_%.bbappend b/meta-facebook/recipes-kernel/linux/linux-aspeed_%.bbappend
new file mode 100644
index 0000000..81d3132
--- /dev/null
+++ b/meta-facebook/recipes-kernel/linux/linux-aspeed_%.bbappend
@@ -0,0 +1,10 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
+
+SRC_URI:append:mf-fb-secondary-emmc = " \
+ file://emmc-btrfs.scc \
+ file://emmc-btrfs.cfg \
+ "
+
+KERNEL_FEATURES:append:mf-fb-secondary-emmc = " \
+ emmc-btrfs.scc \
+ "