[rdkb][common][config][Add secure boot config into filogic830]
[Description]
Add secure boot config into filogic830
[Release-log]
Change-Id: I1752a139d4e7452e14a8350aa16b9f1a3dc87041
diff --git a/conf/machine/filogic830-swpath.conf b/conf/machine/filogic830-swpath.conf
index a668f9b..ad083e3 100644
--- a/conf/machine/filogic830-swpath.conf
+++ b/conf/machine/filogic830-swpath.conf
@@ -55,3 +55,13 @@
BOOT_SUFFIX = "bin"
MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat"
+#for secure boot support
+#DISTRO_FEATURES_append = " secure_boot"
+MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','secure_boot',':secureboot','',d)}"
+SECURE_BOOT_KEYNAME_secureboot = "fit_key"
+SECURE_BOOT_KEYDIR_secureboot = "${TOPDIR}/../keys"
+FIT_HASH_ALG_secureboot ="sha1"
+HASHED_BOOT_DEVICE_secureboot = "252:0"
+
+# for efuse tools
+#DISTRO_FEATURES_append = " efuse_tools"
\ No newline at end of file
diff --git a/conf/machine/filogic830.conf b/conf/machine/filogic830.conf
index ee57899..8f6685b 100644
--- a/conf/machine/filogic830.conf
+++ b/conf/machine/filogic830.conf
@@ -55,3 +55,13 @@
BOOT_SUFFIX = "bin"
MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat"
+#for secure boot support
+#DISTRO_FEATURES_append = " secure_boot"
+MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','secure_boot',':secureboot','',d)}"
+SECURE_BOOT_KEYNAME_secureboot = "fit_key"
+SECURE_BOOT_KEYDIR_secureboot = "${TOPDIR}/../keys"
+FIT_HASH_ALG_secureboot ="sha1"
+HASHED_BOOT_DEVICE_secureboot = "252:0"
+
+# for efuse tools
+#DISTRO_FEATURES_append = " efuse_tools"
\ No newline at end of file