/**
 * Copyright (c) 2023 Qualcomm Technologies, Inc.
 * All Rights Reserved.
 * Confidential and Proprietary - Qualcomm Technologies, Inc.
 */
 
 /** @cond */
interface IUpdateRollbackVersion {
/** @endcond */

  /**
    @addtogroup IUpdateRollbackVersion
    @{
   */
  
  /*
   * Error codes
   */
  /** @cond */
  error ERROR_UPDATE_RPMB_VERSION_FAILED;       /**< RPMB version update failure */
  error ERROR_BOOT_IMG_VERSIONS_UPDATE_FAILED;  /**< Boot image version updated failure */
  error ERROR_PIL_SET_ROLLBACK_VERSION_FAILED;  /**< PIL image version update failure */ 
  /** @endcond */
  
  /**
    Update Anti Rollback(ARB) version from HLOS by OEMs.
    OEM wants to disable the ARB fuse blowing as part of TZ milestone
    call in bootloader and they want to trigger the update for ARB 
    fuses in HLOS stage(Kernel/User) to support safe rollback version update.

    @return
    Object_OK - Successful. \n
    IUpdateRollbackVersion_ERROR_UPDATE_RPMB_VERSION_FAILED - Failed to update RPMB version. \n
    IUpdateRollbackVersion_ERROR_BOOT_IMG_VERSIONS_UPDATE_FAILED - Failed to update boot image version. \n
    IUpdateRollbackVersion_ERROR_PIL_SET_ROLLBACK_VERSION_FAILED - Failed to update PIL image version. \n
    Object_ERROR - Any other error. \n
   */
  method updateRollbackVersion();
  
  /** @} */ /* end_addtogroup IUpdateRollbackVersion */
};
