Add fastboot configuration options to support writing GPT via fastboot
'oem run:gpt write' command. Also, add config options to support
writing full 64-bit partition attributes using 'gpt write' and configure
EP_BUFFER_SIZE to 16KB.

Signed-off-by: Sumit Singh Dhami <[email protected]>
---
 configs/qcom-snagboot.config | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/configs/qcom-snagboot.config b/configs/qcom-snagboot.config
index d19ad453029..ac7424099f8 100644
--- a/configs/qcom-snagboot.config
+++ b/configs/qcom-snagboot.config
@@ -31,3 +31,10 @@ CONFIG_FASTBOOT_FLASH_BLOCK_INTERFACE_NAME="scsi"
 CONFIG_FASTBOOT_FLASH_BLOCK_DEVICE_ID=4
 CONFIG_FASTBOOT_GPT_NAME="gpt"
 CONFIG_FASTBOOT_MBR_NAME="mbr"
+
+
+# Fastboot configuration for writing GPT
+CONFIG_FASTBOOT_OEM_RUN=y
+CONFIG_CMD_GPT=y
+CONFIG_PARTITION_ATTR=y
+CONFIG_FASTBOOT_EP_BUFFER_SIZE=0x4000
\ No newline at end of file
-- 
2.55.0

Reply via email to