summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/configs/ae350.h (renamed from include/configs/ax25-ae350.h)0
-rw-r--r--include/configs/socfpga_chameleonv3.h9
-rw-r--r--include/efi_loader.h2
-rw-r--r--include/efi_tcg2.h10
-rw-r--r--include/tpm-v2.h2
5 files changed, 18 insertions, 5 deletions
diff --git a/include/configs/ax25-ae350.h b/include/configs/ae350.h
index b566ecf296..b566ecf296 100644
--- a/include/configs/ax25-ae350.h
+++ b/include/configs/ae350.h
diff --git a/include/configs/socfpga_chameleonv3.h b/include/configs/socfpga_chameleonv3.h
index 2ce7011529..fc08e74dba 100644
--- a/include/configs/socfpga_chameleonv3.h
+++ b/include/configs/socfpga_chameleonv3.h
@@ -20,11 +20,10 @@
#define CFG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600, 115200}
#define CFG_EXTRA_ENV_SETTINGS \
- "autoload=no\0" \
- "bootargs=cma=256M console=ttyS1,115200 root=/dev/mmcblk0p3 rw rootwait\0" \
- "distro_bootcmd=bridge enable; run bootcmd_mmc\0" \
- "bootcmd_mmc=load mmc 0:1 ${loadaddr} kernel.itb; bootm\0" \
- "bootcmd_net=dhcp; tftpboot ${loadaddr} kernel.itb; bootm\0"
+ "distro_bootcmd=bridge enable; " \
+ "load mmc 0:1 ${loadaddr} u-boot.txt; " \
+ "env import -t ${loadaddr}; " \
+ "run bootcmd_txt\0"
/*
* L4 OSC1 Timer 0
diff --git a/include/efi_loader.h b/include/efi_loader.h
index c664d6cdf2..1542b4b625 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -531,6 +531,8 @@ efi_status_t efi_tcg2_notify_exit_boot_services_failed(void);
efi_status_t efi_tcg2_measure_efi_app_invocation(struct efi_loaded_image_obj *handle);
/* Measure efi application exit */
efi_status_t efi_tcg2_measure_efi_app_exit(void);
+/* Measure DTB */
+efi_status_t efi_tcg2_measure_dtb(void *dtb);
/* Called by bootefi to initialize root node */
efi_status_t efi_root_node_register(void);
/* Called by bootefi to initialize runtime */
diff --git a/include/efi_tcg2.h b/include/efi_tcg2.h
index 874306dc11..b1c3abd097 100644
--- a/include/efi_tcg2.h
+++ b/include/efi_tcg2.h
@@ -233,6 +233,16 @@ struct efi_gpt_data {
gpt_entry partitions[];
} __packed;
+/**
+ * struct tdUEFI_PLATFORM_FIRMWARE_BLOB2
+ * @blob_description_size: Byte size of @data
+ * @data: Description data
+ */
+struct uefi_platform_firmware_blob2 {
+ u8 blob_description_size;
+ u8 data[];
+} __packed;
+
struct efi_tcg2_protocol {
efi_status_t (EFIAPI * get_capability)(struct efi_tcg2_protocol *this,
struct efi_tcg2_boot_service_capability *capability);
diff --git a/include/tpm-v2.h b/include/tpm-v2.h
index 737e57551d..2df3dad553 100644
--- a/include/tpm-v2.h
+++ b/include/tpm-v2.h
@@ -105,6 +105,8 @@ struct udevice;
"Exit Boot Services Returned with Failure"
#define EFI_EXIT_BOOT_SERVICES_SUCCEEDED \
"Exit Boot Services Returned with Success"
+#define EFI_DTB_EVENT_STRING \
+ "DTB DATA"
/* TPMS_TAGGED_PROPERTY Structure */
struct tpms_tagged_property {