mirror of
https://github.com/linux-msm/qdl.git
synced 2026-02-25 13:12:25 -08:00
There is a regression in the current implementation of simulation mode, which leads to sending two configure packets: FIREHOSE WRITE: <?xml version="1.0"?> <data><configure MemoryName="ufs" MaxPayloadSizeToTargetInBytes="1048576" verbose="0" ZLPAwareHost="1" SkipStorageInit="0"/></data> FIREHOSE WRITE: <?xml version="1.0"?> <data><configure MemoryName="ufs" MaxPayloadSizeToTargetInBytes="0" verbose="0" ZLPAwareHost="1" SkipStorageInit="0"/></data> In simulated mode "remote" target can't propose different size, so we just don't re-send configure packet. Move the check for simulation mode to prevent sending additional configure packets with the attribute MaxPayloadSizeToTargetInBytes=0. Also change DIGEST_TABLE.bin sha256 hash to a05e1124edbe34dc504a327544fb66572591353dc3fa25e6e7eafbe4803e63e0, as amount of packets supposed to be sent to the target changed. Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>